Skip to content
Closed

Merge #21578

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
379 commits
Select commit Hold shift + click to select a range
5cf8613
bpo-40993: Don't run Travis CI coverage on PRs (GH-20916)
vstinner Jun 16, 2020
2a11d38
bpo-40989: Make _PyTraceMalloc_NewReference() internal (GH-20915)
vstinner Jun 16, 2020
e40018f
bpo-40958: Avoid buffer overflow in the parser when indexing the curr…
pablogsal Jun 16, 2020
16c5de3
bpo-1635741: Port _gdbm module to multiphase initialization (GH-20920)
corona10 Jun 16, 2020
1b3e76c
bpo-32604: Clean up test.support.interpreters. (gh-20926)
ericsnowcurrently Jun 17, 2020
a8f396a
bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878)
methane Jun 17, 2020
3b517c2
bpo-35059: Enhance _PyObject_GC_TRACK() macros (GH-20931)
vstinner Jun 17, 2020
946e605
bpo-36346: Make unicodeobject.h C89 compatible (GH-20934)
methane Jun 17, 2020
8e582c8
bpo-41003: Fix test_copyreg when numpy is installed (GH-20935)
vstinner Jun 17, 2020
55bec89
bpo-41009: fix requires_OS_version() class decorator (GH-20942)
tiran Jun 17, 2020
073d935
bpo-41006: collections imports lazily heap (GH-20940)
vstinner Jun 17, 2020
722c90f
bpo-41006: pkgutil imports lazily re (GH-20939)
vstinner Jun 17, 2020
3867bf3
bpo-40637: Do not emit warnings for disabled builtin hashes (GH-20937)
stratakis Jun 17, 2020
8e3ace9
bpo-41006: importlib.util no longer imports typing (GH-20938)
vstinner Jun 17, 2020
04161ee
bpo-41006: Document the runpy optimization (GH-20953)
vstinner Jun 17, 2020
526efc9
bpo-41006: Remove init_sys_streams() hack (GH-20954)
vstinner Jun 17, 2020
b646487
bpo-41006: What's New: less => fewer modules (GH-20955)
vstinner Jun 17, 2020
9f9167f
bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (…
vstinner Jun 18, 2020
3f68721
bpo-40884: Added defaults parameter for logging.Formatter (GH-20668)
bharel Jun 18, 2020
ece46b1
bpo-38144: Add the root_dir and dir_fd parameters in glob.glob(). (GH…
serhiy-storchaka Jun 18, 2020
8448cb4
Update CODEOWNERS to account for the new parser location (GH-20971)
pablogsal Jun 18, 2020
4bf8a0c
bpo-40334: Produce better error messages on invalid targets (GH-20106)
lysnikolaou Jun 18, 2020
6a1ee67
bpo-40943: PY_SSIZE_T_CLEAN required for '#' formats (GH-20784)
vstinner Jun 19, 2020
10e53d1
bpo-40636: PEP 618: add strict parameter to zip() (GH-20921)
gvanrossum Jun 19, 2020
35ec0be
Improve readability of `formataddr` docstring (GH-20963)
jugmac00 Jun 19, 2020
149916d
Improve blake2 comment for Victor (GH-20981)
tiran Jun 19, 2020
2e9a26b
bpo-40077: Convert _bz2 module to use PyType_FromSpec (GH-20960)
corona10 Jun 19, 2020
08cdacc
bpo-38377: Fix skip_if_broken_multiprocessing_synchronize() on macOS …
vstinner Jun 19, 2020
47144e9
bpo-40636: Documentation for zip-strict (#20961)
cool-RR Jun 19, 2020
46605f5
bpo-41040: Fix test_modulefinder. (GH-20991)
serhiy-storchaka Jun 19, 2020
122e7c7
bpo-41043: Escape literal part of the path for glob(). (GH-20994)
serhiy-storchaka Jun 20, 2020
d7dcea9
bpo-41024: doc: Explicitly mention use of 'enum.Enum' as a valid cont…
vincent-ferotin Jun 20, 2020
ffef25d
bpo-40958: Avoid 'possible loss of data' warning on Windows (GH-20970)
lysnikolaou Jun 20, 2020
9390c6a
Add link to .pypirc specification (GH-20680)
bhrutledge Jun 20, 2020
bc8abfe
bpo-41044: Generate valid PEG python parsers for opt+seq rules (GH-20…
isidentical Jun 20, 2020
1e1688e
bpo-40939: Remove the old parser (Part 2) (GH-21005)
lysnikolaou Jun 20, 2020
623f81c
bpo-41056: Fix a NULL pointer dereference on MemoryError within the s…
gpshead Jun 20, 2020
366a59b
bpo-41056: Use the fildes converter for fd to please Coverity. (GH-21…
gpshead Jun 20, 2020
b7cd1b4
bpo-41060: Avoid SEGFAULT when calling GET_INVALID_TARGET in the gram…
lysnikolaou Jun 21, 2020
8f70942
bpo-41058: Use source file encoding in pdb.find_function(). (GH-21010)
serhiy-storchaka Jun 21, 2020
0f5be5b
bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006)
serhiy-storchaka Jun 21, 2020
6a41076
bpo-41052: Opt out serialization/deserialization for _random.Random (…
corona10 Jun 21, 2020
61d1f86
bpo-40939: Rename PyPegen* functions to PyParser* (GH-21016)
lysnikolaou Jun 21, 2020
0d1d079
Skip tests to fix bot (GH-20777)
nanjekyejoannah Jun 21, 2020
c97e6a4
bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity…
gpshead Jun 22, 2020
43afbeb
bpo-41056: Fix a possible MemoryError leak within zoneinfo. (GH-21007)
gpshead Jun 22, 2020
04f2c37
bpo-41061: Fix incorrect expressions in hashtable (GH-21028)
tiran Jun 22, 2020
8419a4d
bpo-40824: Do not mask errors in __iter__ in "in" and the operator mo…
serhiy-storchaka Jun 22, 2020
875f841
bpo-26407: Do not mask errors in csv. (GH-20536)
serhiy-storchaka Jun 22, 2020
86c886c
bpo-41068: Fix read after write in zipfile for non-ASCII files names.…
serhiy-storchaka Jun 22, 2020
8273ccf
bpo-41005: Fixed perrmission error (GH-20936)
KrishnaSai2020 Jun 22, 2020
842259d
bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056)
vstinner Jun 22, 2020
84541d8
bpo-41078: Add pycore_list.h internal header file (GH-21057)
vstinner Jun 22, 2020
7cdb032
bpo-1635741: Port _lzma module to multiphase initialization (GH-19382)
corona10 Jun 22, 2020
8f19822
bpo-41078: Fix bltinmodule.c with Py_TRACE_REFS (GH-21058)
vstinner Jun 22, 2020
249bcdc
Improve asyncio.loop.call_soon() documentation (GH-20883)
akindofyoga Jun 23, 2020
b07ee97
Small clean-ups for the random module (GH-21038)
rhettinger Jun 23, 2020
35d28d1
bpo-40521: Make dict free lists per-interpreter (GH-20645)
vstinner Jun 23, 2020
1334ab4
bpo-40521: Make the empty frozenset per interpreter (GH-21068)
vstinner Jun 23, 2020
493a68e
bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071)
WildCard65 Jun 23, 2020
3183252
bpo-40521: Remove freelist from collections.deque() (GH-21073)
rhettinger Jun 23, 2020
57b343e
bpo-40521: Make bytes singletons per interpreter (GH-21074)
vstinner Jun 23, 2020
700befd
bpo-36710: Pass tstate explicitly in abstract.c (GH-21075)
vstinner Jun 23, 2020
92276ec
Call _PyWarnings_InitState() in subinterpreters (GH-21078)
vstinner Jun 23, 2020
c56ed9e
bpo-41065: Use zip-strict in zoneinfo (GH-21031)
cool-RR Jun 23, 2020
4792080
bpo-40521: Cleanup code of free lists (GH-21082)
vstinner Jun 23, 2020
e96c149
bpo-40521: Empty frozenset is no longer a singleton (GH-21085)
rhettinger Jun 23, 2020
ee1dc01
bpo-41089: Filters and other issues in Visual Studio projects (GH-21070)
nnemkin Jun 23, 2020
1e8df02
On path with known exact float, extract the double with the fast macr…
rhettinger Jun 23, 2020
ac8083e
bpo-41054: Simplify resource compilation on Windows (GH-21004)
nnemkin Jun 23, 2020
d71404a
bpo-41039: Simplify python3.dll build (GH-20989)
nnemkin Jun 23, 2020
cc7e1aa
bpo-40521: Make MemoryError free list per interpreter (GH-21086)
vstinner Jun 23, 2020
2372436
bpo-31938: Fix default-value signatures of several functions in the s…
asottile Jun 23, 2020
6f46a1f
bpo-40521: Make empty Unicode string per interpreter (GH-21096)
vstinner Jun 23, 2020
a0c570b
bpo-40521: Optimize PyUnicode_New(0, maxchar) (GH-21099)
vstinner Jun 23, 2020
b4b4d89
bpo-41070: Simplify pyshellext.dll build (GH-21037)
nnemkin Jun 23, 2020
aafdc84
bpo-40521: Make Unicode latin1 singletons per interpreter (GH-21101)
vstinner Jun 24, 2020
8f4eb15
bpo-40521: Fix _PyContext_Fini() (GH-21103)
vstinner Jun 24, 2020
4cca3c9
bpo-40707: Document that Popen.communicate sets the returncode attrib…
gareth-rees Jun 24, 2020
070c5a7
bpo-41094: Fix decoding errors with audit when open files. (GH-21095)
serhiy-storchaka Jun 24, 2020
75cdbb8
Fix typo in dataclasses module (GH-21109)
jugmac00 Jun 24, 2020
ac923d3
bpo-40521: Always create the empty tuple singleton (GH-21116)
vstinner Jun 24, 2020
28167d4
bpo-41038: Fix non-ASCII string corruption in Win32 resource files (G…
nnemkin Jun 24, 2020
d27c07f
bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119)
serhiy-storchaka Jun 24, 2020
4bdd1af
bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081)
arisaka97 Jun 24, 2020
e200807
bpo-41002: Optimize HTTPResponse.read with a given amount (GH-20943)
bmerry Jun 25, 2020
34c9b5d
bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126)
serhiy-storchaka Jun 25, 2020
64af912
Forward port macOS installer updates from 3.7/3.8/3.9 (GH-21132)
ned-deily Jun 25, 2020
6e2dab6
bpo-39580: add check for CLI installation on macOS (GH-20271)
Jun 25, 2020
304f5da
bpo-40275: Use new test.support helper submodules in tests (GH-20849)
shihai1991 Jun 25, 2020
c9e1745
bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)
serhiy-storchaka Jun 25, 2020
6210d04
bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141)
ned-deily Jun 25, 2020
47df4e8
bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138)
serhiy-storchaka Jun 25, 2020
9939393
bpo-41113: Fix test_warnings on non-Western locales. (GH-21143)
serhiy-storchaka Jun 25, 2020
17e4dea
bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142)
vstinner Jun 25, 2020
42d8ba6
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
shihai1991 Jun 25, 2020
f6909a4
bpo-40939: run autoreconf to fix configure{,.ac} disparity (GH-21152)
ned-deily Jun 25, 2020
8ed0224
BPO-41100: Support macOS 11 when building (GH-21113)
ronaldoussoren Jun 25, 2020
5705a8b
bpo-41069: Make TESTFN and the CWD for tests containing non-ascii cha…
serhiy-storchaka Jun 25, 2020
945917e
bpo-40275: Use new test.support helper submodules in tests (GH-21151)
shihai1991 Jun 25, 2020
bd08c89
Fix typo in functions.rst (GH-21131)
cool-RR Jun 25, 2020
b87dd40
bpo-41103: Remove old buffer protocol support (#21117)
methane Jun 25, 2020
446efdb
bpo-41119: Output correct error message for list/tuple followed by co…
lysnikolaou Jun 25, 2020
7118015
Improve code organization for the random module (GH-21161)
rhettinger Jun 26, 2020
be81aff
bpo-41084: Adjust message when an f-string expression causes a Syntax…
lysnikolaou Jun 26, 2020
907c4c3
bpo-41100: clarify NEWS item about macOS 11 support (GH-21174)
ned-deily Jun 27, 2020
981defa
bpo-41123: Remove Py_UNICODE_str* functions (GH-21164)
methane Jun 27, 2020
f902ce5
Remove dead code from tracemalloc (GH-21029)
tiran Jun 27, 2020
1b0a1d9
bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173)
lysnikolaou Jun 27, 2020
2b9cfac
bpo-40769: Allow extra surrounding parentheses for invalid annotated …
isidentical Jun 27, 2020
e64efae
Add soft keywords to the documentation (GH-21185)
pablogsal Jun 27, 2020
affc599
bpo-41076: Pre-feed the parser with the f-string expression location …
lysnikolaou Jun 27, 2020
e95c19e
bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (…
gvanrossum Jun 28, 2020
4b6916a
bpo-39151: Simplify DFS in the assembler (GH-17733)
pablogsal Jun 28, 2020
ad34601
bpo-38870: Extend subject of ast.unparse warnings (GH-21053)
isidentical Jun 28, 2020
f75ec82
bpo-41144: Fix IDLE open module error (#21182)
E-Paine Jun 28, 2020
4d30385
bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH…
ZackerySpytz Jun 28, 2020
1437964
bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177)
serhiy-storchaka Jun 28, 2020
58b6221
bpo-40874 Update the required libmpdec version for the decimal module…
skrah Jun 28, 2020
ba5f03c
bpo-41123: Remove PyUnicode_GetMax() (GH-21192)
methane Jun 29, 2020
c5dcc39
bpo-41123: Remove PyLong_FromUnicode() (GH-21204)
methane Jun 29, 2020
2b9bf63
bpo-41048: mimetypes should read the rule file using UTF-8, not the l…
srinivasreddy Jun 29, 2020
2e475be
Update libmpdec license dates (GH-21216)
skrah Jun 29, 2020
862c1d8
bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interfac…
rvteja92 Jun 29, 2020
2b26ce4
Fix typo in Object/listobject.c (GH-21079)
jeongukjae Jun 29, 2020
999b1c8
bpo-37999: Simplify the conversion code for %c, %d, %x, etc. (GH-20437)
serhiy-storchaka Jun 29, 2020
2a80262
bpo-40924: Ensure importlib.resources.path returns an extant path (GH…
jaraco Jun 29, 2020
02e9204
bpo-23427: Add sys.orig_argv attribute (GH-20729)
vstinner Jun 29, 2020
df1e767
bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)
serhiy-storchaka Jun 30, 2020
272c309
bpo-41123: Remove PyUnicode_AsUnicodeCopy (GH-21209)
methane Jun 30, 2020
ad54630
bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (…
serhiy-storchaka Jun 30, 2020
ac78c82
bpo-36346: Raise DeprecationWarning when creating legacy Unicode (GH-…
methane Jun 30, 2020
676da04
bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215)
serhiy-storchaka Jun 30, 2020
df953c8
bpo-41142: Add support of non-ASCII paths for CAB files. (GH-21195)
serhiy-storchaka Jun 30, 2020
ff0eb13
bpo-41100: fix _decimal for arm64 Mac OS (GH-21228)
lawrence-danna-apple Jun 30, 2020
6b121ea
Update FAQ release schedule and estimated users (GH-21180)
E-Paine Jun 30, 2020
aa42899
bpo-40275: Use new test.support helper submodules in tests (GH-21219)
shihai1991 Jun 30, 2020
bca2ac8
bpo-40275: Use new test.support helper submodules in tests (GH-21169)
shihai1991 Jun 30, 2020
e0eee67
bpo-39314: Closes parenthesis when autocompleting for functions that …
Jun 30, 2020
7e1e6ff
bpo-41161 Add news entry for libmpdec-2.5.0 (GH-21243)
skrah Jun 30, 2020
b1668c1
Doc: Minor fix to init config C API documentation (GH-21198)
tomerv Jul 1, 2020
a50d139
Add lysnikolaou to CODEOWNERS for the new parser (GH-21252)
lysnikolaou Jul 1, 2020
29a7bfa
bpo-41187: Convert the _msi module to Argument Clinic (GH-21264)
serhiy-storchaka Jul 1, 2020
4452394
bpo-39385: Add an assertNoLogs context manager to unittest.TestCase (…
kitchoi Jul 1, 2020
7a5bc56
bpo-40521: Cleanup finalize_interp_types() (GH-21265)
vstinner Jul 1, 2020
e0cb931
bpo-1635741: Release Unicode interned strings at exit (GH-21269)
vstinner Jul 1, 2020
39f4980
bpo-40967: Remove deprecated asyncio.Task.current_task() and asyncio.…
Jul 2, 2020
88f0f26
bpo-41193: Ignore OSError in readline write_history() (GH-21279)
vstinner Jul 2, 2020
9291dab
Remove extraneous file from the Docs folder (GH-21286)
pablogsal Jul 2, 2020
9725f85
bpo-39960: Allow heap types in the "Carlo Verre" hack check that over…
scoder Jul 3, 2020
b0b3c10
bpo-1635741: Port sha256 module to multiphase init (PEP 489) (GH-21189)
koubaa Jul 3, 2020
5237f49
bpo-41194: Pass module state in Python-ast.c (GH-21284)
vstinner Jul 3, 2020
52c45e6
bpo-41194: The _ast module cannot be loaded more than once (GH-21290)
vstinner Jul 3, 2020
8c15f7c
bpo-1635741: Fix unicode_dealloc() for mortal interned string (GH-21270)
vstinner Jul 3, 2020
bff6999
bpo-1635741: Port faulthandler module to multiphase initialization (G…
corona10 Jul 3, 2020
481ea86
bpo-41194: Convert _ast extension to PEP 489 (GH-21293)
vstinner Jul 3, 2020
ff5345e
bpo-41180: Audit code.__new__ when unmarshalling (GH-21271)
tkmikan Jul 3, 2020
b45fe23
bpo-41162: Clear audit hooks later during finalization (GH-21222)
zkonge Jul 3, 2020
808e49e
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
ZackerySpytz Jul 4, 2020
28e9fef
bpo-41204: Fix compiler warning in ast_type_init() (GH-21307)
vstinner Jul 4, 2020
13583f5
Uncomment Py_DEPRECATED for Py_UNICODE APIs (GH-21318)
methane Jul 5, 2020
ab67a97
bpo-41211: Doc: Fix PyLong_FromUnicodeObject (GH-21325)
methane Jul 5, 2020
a7f391d
bpo-39168: Remove the __new__ method of typing.Generic (GH-21327)
ZackerySpytz Jul 5, 2020
2e205aa
bpo-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-2…
serhiy-storchaka Jul 5, 2020
8dcc7a3
bpo-29727: Register array.array as a MutableSequence (GH-21338)
pablogsal Jul 5, 2020
3e10457
bpo-26205: Specify the number of nested scopes (GH-21324)
nanjekyejoannah Jul 6, 2020
d9575f9
bpo-28681: Clarify multiple function names in the tutorial (GH-21340)
nanjekyejoannah Jul 6, 2020
46ce505
bpo-41165: Deprecate PyEval_ReleaseLock() (GH-21309)
methane Jul 6, 2020
14105ca
bpo-40275: Use new test.support helper submodules in tests (GH-21314)
shihai1991 Jul 6, 2020
edd64b2
bpo-40275: Use new test.support helper submodules in tests (GH-21315)
shihai1991 Jul 6, 2020
064cb69
bpo-37207: Update whatsnews for 3.9 (GH-21337)
corona10 Jul 6, 2020
a5f2b6a
bpo-40275: Use new test.support helper submodules in tests (GH-21317)
shihai1991 Jul 6, 2020
22ddf85
bpo-29778: Ensure python3.dll is loaded from correct locations when P…
zooba Jul 6, 2020
e5e12a9
bpo-41215: Don't use NULL by default in the PEG parser keyword list (…
pablogsal Jul 6, 2020
bacd87c
bpo-40742: Doc: fix parallel build. (GH-21237)
JulienPalard Jul 6, 2020
3b6476c
bpo-41218: Only mark async code with CO_COROUTINE. (#21357)
Carreau Jul 6, 2020
b3577c0
bpo-41218: Improve the test cases for test_compile_top_level_await_no…
pablogsal Jul 6, 2020
d662602
bpo-41215: Make assertion in the new parser more strict (GH-21364)
lysnikolaou Jul 6, 2020
4e45729
bpo-41207 In distutils.spawn, rewrite FileNotFound (GH-21359)
jaraco Jul 7, 2020
406ff91
bpo-29778: test_embed tests the path configuration (GH-21306)
vstinner Jul 7, 2020
8db7529
bpo-41224: Document is_annotated() in symtable module and update doc …
nanjekyejoannah Jul 7, 2020
c3f39ae
bpo-41173: Copy test results file from ARM worker before uploading (G…
zooba Jul 7, 2020
a56173f
Add a test for get_id() (GH-21370)
nanjekyejoannah Jul 8, 2020
a1728a3
closes bpo-41235: Fix the error handling in SSLContext.load_dh_params…
ZackerySpytz Jul 8, 2020
5900a71
Revert "bpo-40170: PyType_HasFeature() now always calls PyType_GetFla…
vstinner Jul 8, 2020
fcafd74
bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-2…
tontinton Jul 8, 2020
783717d
bpo-41175: Guard against a NULL pointer dereference within bytearrayo…
stratakis Jul 8, 2020
e72a82f
bpo-40597: Allow email.contextmanager set_content() to set a null str…
msapiro Jul 8, 2020
54fb9d4
Doc: Builtins functions: faster jump table (GH-21376)
JulienPalard Jul 9, 2020
69c7174
bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback…
ZackerySpytz Jul 9, 2020
16210fd
bpo-41199: Docstring convention not followed for dataclasses document…
olramde Jul 9, 2020
6ad38dd
bpo-40275: Use new test.support helper submodules in tests (GH-21412)
shihai1991 Jul 9, 2020
0b6c158
bpo-29590: fix stack trace for gen.throw() with yield from (#19896)
cjerdonek Jul 9, 2020
48f516f
bpo-41172: Fix check for compiler in test suite (GH-21400)
zooba Jul 9, 2020
752697f
Remove trailing >>> in enum docs (GH-21358)
E-Paine Jul 9, 2020
58e8850
bpo-37765: Add keywords to IDLE tab completions (GH-15138)
terryjreedy Jul 9, 2020
1e9cf09
bpo-23802: patch: __deepcopy__ memo dict argument usage (GH-21326)
nanjekyejoannah Jul 10, 2020
6936194
bpo-41263: Convert code.__new__ to Argument Clinic (GH-21426)
serhiy-storchaka Jul 10, 2020
7481296
bpo-36346: Do not use legacy Unicode C API in ctypes. (#21429)
serhiy-storchaka Jul 10, 2020
1d64cdd
bpo-39573: Use the Py_TYPE() macro (GH-21433)
vstinner Jul 10, 2020
a97d3ba
Fix typo in docs: 'created by th' -> 'created by the' (GH-21384)
olramde Jul 10, 2020
25c9fcf
bpo-20179: Convert the _overlapped module to the Argument Clinic (GH-…
ZackerySpytz Jul 10, 2020
6344809
bpo-36346: Make using the legacy Unicode C API optional (GH-21437)
serhiy-storchaka Jul 10, 2020
f79844e
bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372)
nimadini Jul 11, 2020
adaf33f
Fix error in docstrings in bisect module (GH-21422)
jdavcs Jul 11, 2020
3cb2014
bpo-20181: Convert the readline module to the Argument Clinic (#14326)
ZackerySpytz Jul 12, 2020
5473a63
bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic (G…
ZackerySpytz Jul 12, 2020
46f5330
bpo-41146: Convert signal.default_int_handler() to Argument Clinic (G…
serhiy-storchaka Jul 12, 2020
ffc8274
bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)
serhiy-storchaka Jul 13, 2020
6791a2b
bpo-32192: A basic lazy importer example (GH-21330)
nanjekyejoannah Jul 13, 2020
a6621d6
Fix repeated words in Classes tutorial (GH-21455)
PaulMcMillan Jul 14, 2020
3faa4ee
bpo-32528: Document the change in inheritance of asyncio.CancelledErr…
JustAnotherArchivist Jul 14, 2020
739b5c2
bpo-41273: asyncio's proactor read transport's better performance by …
tontinton Jul 14, 2020
67e882a
bpo-20183: Convert _locale to the Argument Clinic (GH-14201)
ZackerySpytz Jul 15, 2020
184a367
bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)
rishi93 Jul 15, 2020
de2cde3
bpo-41302: Fix build with system libmpdec (GH-21481)
felixonmars Jul 15, 2020
c08de24
Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)
benjaminp Jul 15, 2020
74de4a3
Fix -Wstring-prototypes warnings in _zoneinfo.c. (GH-21478)
benjaminp Jul 15, 2020
1e2ea2c
bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() c…
ZackerySpytz Jul 15, 2020
5762d61
bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)
zooba Jul 15, 2020
d4ecdde
bpo-31844: Remove _markupbase.ParserBase.error() (GH-8562)
berkerpeksag Jul 16, 2020
3ba5fc0
bpo-31844: Move whatsnew note to 3.10.rst (GH-21504)
berkerpeksag Jul 16, 2020
66cb014
Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500)
chrisyeh96 Jul 16, 2020
acfa99e
Fix possibly-unitialized warning in string_parser.c. (GH-21503)
benjaminp Jul 16, 2020
8bbfda4
Fix trivial typo in the PEG string parser (GH-21508)
ericvsmith Jul 16, 2020
76e900c
bpo-41300: IDLE - save files with non-ascii chars (GH-21512)
terryjreedy Jul 16, 2020
1530c52
bpo-41195: Add getter for Openssl security level (GH-21282)
matthewhughes934 Jul 17, 2020
469bfc7
bpo-40941: Unify implicit and explicit state in the frame and generat…
markshannon Jul 17, 2020
9ccd47f
bpo-43104: Update NEWS to include CVE-2020-15801 reference (GH-21521)
zooba Jul 17, 2020
a9dbb7a
Fix a small grammatical mistake in a comment (GH-21526)
brettcannon Jul 17, 2020
f49e76e
bpo-41288: Refactor of unpickling NEWOBJ and NEWOBJ_EX opcodes. (GH-2…
serhiy-storchaka Jul 18, 2020
4214db6
bpo-41262: Convert memoryview to Argument Clinic. (GH-21421)
serhiy-storchaka Jul 18, 2020
d970284
bpo-41325: Add version note for args and kwargs property in call obje…
uSpike Jul 18, 2020
39373d2
bpo-39603: Prevent header injection in http methods (GH-18485)
amiremohamadi Jul 18, 2020
056364a
bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)
scoder Jul 18, 2020
9f559aa
bpo-41333: Convert OrderedDict.pop() to Argument Clinic (GH-21534)
serhiy-storchaka Jul 19, 2020
70cb661
bpo-41205: Document Decimal power 0 to the 0 (GH-21386)
srinivasreddy Jul 19, 2020
df246f6
bpo-38169: Increase code coverage for SharedMemory and ShareableList …
vinay0410 Jul 19, 2020
4e21dea
bpo-41338: Fix DeprecationWarning in tests (GH-21542)
methane Jul 20, 2020
cd6fdd9
bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979)
Jul 20, 2020
285390a
Doc: fix import of asdl.py when called from outside Doc/. (GH-21529)
JulienPalard Jul 20, 2020
cc37a46
bpo-37703: improve asyncio.gather documentation regarding cancellatio…
vinay0410 Jul 20, 2020
e29b280
Simple Documentation fix: Missing link to return type class. (GH-21291)
Volker-Weissmann Jul 20, 2020
76e8041
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)
ZackerySpytz Jul 20, 2020
2fdca6f
bpo-41343: Convert methods of complex to Argument Clinic (GH-21550)
corona10 Jul 20, 2020
69c396b
bpo-41334: Convert constructors of str, bytes and bytearray to Argume…
serhiy-storchaka Jul 20, 2020
4a76862
bpo-41342: Convert int.__round__ to Argument Clinic (GH-21549)
serhiy-storchaka Jul 20, 2020
76519cf
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
zooba Jul 20, 2020
63f7f27
bpo-41283: Fix mismatched argument name for imghdr.what (GH-21501)
ammaraskar Jul 21, 2020
beff7ed
Update programming.rst
arun-mani-j Jul 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
variables:
testRunTitle: '$(build.sourceBranchName)-linux'
testRunPlatform: linux
openssl_version: 1.1.1f
openssl_version: 1.1.1g

steps:
- template: ./posix-steps.yml
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
variables:
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
testRunPlatform: linux-coverage
openssl_version: 1.1.1f
openssl_version: 1.1.1g

steps:
- template: ./posix-steps.yml
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
testRunPlatform: linux
openssl_version: 1.1.1f
openssl_version: 1.1.1g

steps:
- template: ./posix-steps.yml
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
variables:
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
testRunPlatform: linux-coverage
openssl_version: 1.1.1f
openssl_version: 1.1.1g

steps:
- template: ./posix-steps.yml
Expand Down
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ PC/readme.txt text eol=crlf

# Generated files
# https://github.com/github/linguist#generated-code
Include/graminit.h linguist-generated=true
Python/graminit.h linguist-generated=true
Modules/clinic/*.h linguist-generated=true
Objects/clinic/*.h linguist-generated=true
PC/clinic/*.h linguist-generated=true
Expand Down
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ Include/pytime.h @pganssle @abalkin
/Modules/gcmodule.c @pablogsal
/Doc/library/gc.rst @pablogsal

# Parser/Pgen
/Parser/pgen/ @pablogsal
/Parser/pegen/ @pablogsal
/Tools/peg_generator/ @pablogsal
# Parser
/Parser/ @pablogsal @lysnikolaou
/Tools/peg_generator/ @pablogsal @lysnikolaou
/Lib/test/test_peg_generator/ @pablogsal @lysnikolaou

# SQLite 3
**/*sqlite* @berkerpeksag
Expand Down
18 changes: 18 additions & 0 deletions .github/problem-matchers/gcc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"__comment": "Taken from vscode-cpptools's Extension/package.json gcc rule",
"problemMatcher": [
{
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
}
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
OPENSSL_VER: 1.1.1f
steps:
- uses: actions/checkout@v2
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: 'Restore OpenSSL build'
Expand Down
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ matrix:
packages:
- xvfb
before_script:
- |
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
then
echo "Don't run Python coverage on pull requests."
exit
fi
- ./configure
- make -j4
# Need a venv that can parse covered code.
Expand Down Expand Up @@ -109,6 +115,12 @@ matrix:
- lcov
- xvfb
before_script:
- |
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
then
echo "Don't run C coverage on pull requests."
exit
fi
- ./configure
script:
- xvfb-run make -j4 coverage-report
Expand Down
2 changes: 1 addition & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ clean:
venv:
$(PYTHON) -m venv $(VENVDIR)
$(VENVDIR)/bin/python3 -m pip install -U pip setuptools
$(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.2.0 blurb python-docs-theme
$(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.3.1 blurb python-docs-theme
@echo "The venv has been created in the $(VENVDIR) directory"

dist:
Expand Down
1 change: 0 additions & 1 deletion Doc/c-api/abstract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ but whose items have not been set to some non-\ ``NULL`` value yet.
mapping.rst
iter.rst
buffer.rst
objbuffer.rst
36 changes: 17 additions & 19 deletions Doc/c-api/arg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ which disallows mutable objects such as :class:`bytearray`.

.. note::

For all ``#`` variants of formats (``s#``, ``y#``, etc.), the type of
the length argument (int or :c:type:`Py_ssize_t`) is controlled by
defining the macro :c:macro:`PY_SSIZE_T_CLEAN` before including
:file:`Python.h`. If the macro was defined, length is a
:c:type:`Py_ssize_t` rather than an :c:type:`int`. This behavior will change
in a future Python version to only support :c:type:`Py_ssize_t` and
drop :c:type:`int` support. It is best to always define :c:macro:`PY_SSIZE_T_CLEAN`.
For all ``#`` variants of formats (``s#``, ``y#``, etc.), the macro
:c:macro:`PY_SSIZE_T_CLEAN` must be defined before including
:file:`Python.h`. On Python 3.9 and older, the type of the length argument
is :c:type:`Py_ssize_t` if the :c:macro:`PY_SSIZE_T_CLEAN` macro is defined,
or int otherwise.


``s`` (:class:`str`) [const char \*]
Expand Down Expand Up @@ -90,7 +88,7 @@ which disallows mutable objects such as :class:`bytearray`.
In this case the resulting C string may contain embedded NUL bytes.
Unicode objects are converted to C strings using ``'utf-8'`` encoding.

``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \*, int or :c:type:`Py_ssize_t`]
``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \*, :c:type:`Py_ssize_t`]
Like ``s*``, except that it doesn't accept mutable objects.
The result is stored into two C variables,
the first one a pointer to a C string, the second one its length.
Expand All @@ -105,7 +103,7 @@ which disallows mutable objects such as :class:`bytearray`.
Like ``s*``, but the Python object may also be ``None``, in which case the
``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``.

``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) [const char \*, int or :c:type:`Py_ssize_t`]
``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) [const char \*, :c:type:`Py_ssize_t`]
Like ``s#``, but the Python object may also be ``None``, in which case the C
pointer is set to ``NULL``.

Expand All @@ -124,7 +122,7 @@ which disallows mutable objects such as :class:`bytearray`.
bytes-like objects. **This is the recommended way to accept
binary data.**

``y#`` (read-only :term:`bytes-like object`) [const char \*, int or :c:type:`Py_ssize_t`]
``y#`` (read-only :term:`bytes-like object`) [const char \*, :c:type:`Py_ssize_t`]
This variant on ``s#`` doesn't accept Unicode objects, only bytes-like
objects.

Expand Down Expand Up @@ -155,7 +153,7 @@ which disallows mutable objects such as :class:`bytearray`.
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
:c:func:`PyUnicode_AsWideCharString`.

``u#`` (:class:`str`) [const Py_UNICODE \*, int or :c:type:`Py_ssize_t`]
``u#`` (:class:`str`) [const Py_UNICODE \*, :c:type:`Py_ssize_t`]
This variant on ``u`` stores into two C variables, the first one a pointer to a
Unicode data buffer, the second one its length. This variant allows
null code points.
Expand All @@ -172,7 +170,7 @@ which disallows mutable objects such as :class:`bytearray`.
Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
:c:func:`PyUnicode_AsWideCharString`.

``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \*, int or :c:type:`Py_ssize_t`]
``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \*, :c:type:`Py_ssize_t`]
Like ``u#``, but the Python object may also be ``None``, in which case the
:c:type:`Py_UNICODE` pointer is set to ``NULL``.

Expand Down Expand Up @@ -213,7 +211,7 @@ which disallows mutable objects such as :class:`bytearray`.
recoding them. Instead, the implementation assumes that the byte string object uses
the encoding passed in as parameter.

``es#`` (:class:`str`) [const char \*encoding, char \*\*buffer, int or :c:type:`Py_ssize_t` \*buffer_length]
``es#`` (:class:`str`) [const char \*encoding, char \*\*buffer, :c:type:`Py_ssize_t` \*buffer_length]
This variant on ``s#`` is used for encoding Unicode into a character buffer.
Unlike the ``es`` format, this variant allows input data which contains NUL
characters.
Expand Down Expand Up @@ -244,7 +242,7 @@ which disallows mutable objects such as :class:`bytearray`.
In both cases, *\*buffer_length* is set to the length of the encoded data
without the trailing NUL byte.

``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char \*encoding, char \*\*buffer, int or :c:type:`Py_ssize_t` \*buffer_length]
``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char \*encoding, char \*\*buffer, :c:type:`Py_ssize_t` \*buffer_length]
Same as ``es#`` except that byte string objects are passed through without recoding
them. Instead, the implementation assumes that the byte string object uses the
encoding passed in as parameter.
Expand Down Expand Up @@ -549,7 +547,7 @@ Building values
Convert a null-terminated C string to a Python :class:`str` object using ``'utf-8'``
encoding. If the C string pointer is ``NULL``, ``None`` is used.

``s#`` (:class:`str` or ``None``) [const char \*, int or :c:type:`Py_ssize_t`]
``s#`` (:class:`str` or ``None``) [const char \*, :c:type:`Py_ssize_t`]
Convert a C string and its length to a Python :class:`str` object using ``'utf-8'``
encoding. If the C string pointer is ``NULL``, the length is ignored and
``None`` is returned.
Expand All @@ -558,30 +556,30 @@ Building values
This converts a C string to a Python :class:`bytes` object. If the C
string pointer is ``NULL``, ``None`` is returned.

``y#`` (:class:`bytes`) [const char \*, int or :c:type:`Py_ssize_t`]
``y#`` (:class:`bytes`) [const char \*, :c:type:`Py_ssize_t`]
This converts a C string and its lengths to a Python object. If the C
string pointer is ``NULL``, ``None`` is returned.

``z`` (:class:`str` or ``None``) [const char \*]
Same as ``s``.

``z#`` (:class:`str` or ``None``) [const char \*, int or :c:type:`Py_ssize_t`]
``z#`` (:class:`str` or ``None``) [const char \*, :c:type:`Py_ssize_t`]
Same as ``s#``.

``u`` (:class:`str`) [const wchar_t \*]
Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or UCS-4)
data to a Python Unicode object. If the Unicode buffer pointer is ``NULL``,
``None`` is returned.

``u#`` (:class:`str`) [const wchar_t \*, int or :c:type:`Py_ssize_t`]
``u#`` (:class:`str`) [const wchar_t \*, :c:type:`Py_ssize_t`]
Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python
Unicode object. If the Unicode buffer pointer is ``NULL``, the length is ignored
and ``None`` is returned.

``U`` (:class:`str` or ``None``) [const char \*]
Same as ``s``.

``U#`` (:class:`str` or ``None``) [const char \*, int or :c:type:`Py_ssize_t`]
``U#`` (:class:`str` or ``None``) [const char \*, :c:type:`Py_ssize_t`]
Same as ``s#``.

``i`` (:class:`int`) [int]
Expand Down
10 changes: 3 additions & 7 deletions Doc/c-api/conversion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ not.

The wrappers ensure that *str*[*size*-1] is always ``'\0'`` upon return. They
never write more than *size* bytes (including the trailing ``'\0'``) into str.
Both functions require that ``str != NULL``, ``size > 0`` and ``format !=
NULL``.

If the platform doesn't have :c:func:`vsnprintf` and the buffer size needed to
avoid truncation exceeds *size* by more than 512 bytes, Python aborts with a
:c:func:`Py_FatalError`.
Both functions require that ``str != NULL``, ``size > 0``, ``format != NULL``
and ``size < INT_MAX``.

The return value (*rv*) for these functions should be interpreted as follows:

Expand All @@ -48,8 +44,8 @@ The return value (*rv*) for these functions should be interpreted as follows:
this case too, but the rest of *str* is undefined. The exact cause of the error
depends on the underlying platform.

The following functions provide locale-independent string to number conversions.

The following functions provide locale-independent string to number conversions.

.. c:function:: double PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception)

Expand Down
53 changes: 41 additions & 12 deletions Doc/c-api/init_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Functions:
* :c:func:`Py_PreInitializeFromArgs`
* :c:func:`Py_PreInitializeFromBytesArgs`
* :c:func:`Py_RunMain`
* :c:func:`Py_GetArgcArgv`

The preconfiguration (``PyPreConfig`` type) is stored in
``_PyRuntime.preconfig`` and the configuration (``PyConfig`` type) is stored in
Expand Down Expand Up @@ -196,12 +197,12 @@ PyPreConfig

Function to initialize a preconfiguration:

.. c:function:: void PyPreConfig_InitIsolatedConfig(PyPreConfig *preconfig)
.. c:function:: void PyPreConfig_InitPythonConfig(PyPreConfig *preconfig)

Initialize the preconfiguration with :ref:`Python Configuration
<init-python-config>`.

.. c:function:: void PyPreConfig_InitPythonConfig(PyPreConfig *preconfig)
.. c:function:: void PyPreConfig_InitIsolatedConfig(PyPreConfig *preconfig)

Initialize the preconfiguration with :ref:`Isolated Configuration
<init-isolated-conf>`.
Expand Down Expand Up @@ -423,6 +424,8 @@ PyConfig
:c:member:`~PyConfig.argv` is empty, an empty string is added to ensure
that :data:`sys.argv` always exists and is never empty.

See also the :c:member:`~PyConfig.orig_argv` member.

.. c:member:: wchar_t* base_exec_prefix

:data:`sys.base_exec_prefix`.
Expand All @@ -436,6 +439,14 @@ PyConfig

:data:`sys.base_prefix`.

.. c:member:: wchar_t* platlibdir

:data:`sys.platlibdir`: platform library directory name, set at configure time
by ``--with-platlibdir``, overrideable by the ``PYTHONPLATLIBDIR``
environment variable.

.. versionadded:: 3.9

.. c:member:: int buffered_stdio

If equals to 0, enable unbuffered mode, making the stdout and stderr
Expand Down Expand Up @@ -577,6 +588,23 @@ PyConfig
* 1: Remove assertions, set ``__debug__`` to ``False``
* 2: Strip docstrings

.. c:member:: PyWideStringList orig_argv

The list of the original command line arguments passed to the Python
executable.

If :c:member:`~PyConfig.orig_argv` list is empty and
:c:member:`~PyConfig.argv` is not a list only containing an empty
string, :c:func:`PyConfig_Read()` copies :c:member:`~PyConfig.argv` into
:c:member:`~PyConfig.orig_argv` before modifying
:c:member:`~PyConfig.argv` (if :c:member:`~PyConfig.parse_argv` is
non-zero).

See also the :c:member:`~PyConfig.argv` member and the
:c:func:`Py_GetArgcArgv` function.

.. versionadded:: 3.10

.. c:member:: int parse_argv

If non-zero, parse :c:member:`~PyConfig.argv` the same way the regular
Expand Down Expand Up @@ -686,16 +714,6 @@ PyConfig

:data:`sys._xoptions`.

.. c:member:: int _use_peg_parser

Enable PEG parser? Default: 1.

Set to 0 by :option:`-X oldparser <-X>` and :envvar:`PYTHONOLDPARSER`.

See also :pep:`617`.

.. deprecated-removed:: 3.9 3.10

If ``parse_argv`` is non-zero, ``argv`` arguments are parsed the same
way the regular Python parses command line arguments, and Python
arguments are stripped from ``argv``: see :ref:`Command Line Arguments
Expand Down Expand Up @@ -884,6 +902,7 @@ Path Configuration
* Path configuration inputs:

* :c:member:`PyConfig.home`
* :c:member:`PyConfig.platlibdir`
* :c:member:`PyConfig.pathconfig_warnings`
* :c:member:`PyConfig.program_name`
* :c:member:`PyConfig.pythonpath_env`
Expand Down Expand Up @@ -975,6 +994,16 @@ customized Python always running in isolated mode using
:c:func:`Py_RunMain`.


Py_GetArgcArgv()
----------------

.. c:function:: void Py_GetArgcArgv(int *argc, wchar_t ***argv)

Get the original command line arguments, before Python modified them.

See also :c:member:`PyConfig.orig_argv` member.


Multi-Phase Initialization Private Provisional API
--------------------------------------------------

Expand Down
Loading