Skip to content

bpo-34706: Preserve subclassing in Signature.from_callable #9344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2,119 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2119 commits
Select commit Hold shift + click to select a range
6cd9666
Fix idlelib.help comments (GH-15669)
terryjreedy Sep 5, 2019
87bd207
bpo-22347: Update mimetypes.guess_type to allow proper parsing of URL…
corona10 Sep 5, 2019
2cd9025
bpo-37902: IDLE: Add scrolling for IDLE browsers. (#15368)
GeeTransit Sep 5, 2019
8f9cc87
bpo-38026: fix inspect.getattr_static (GH-15676)
methane Sep 5, 2019
e4810b2
bpo-36324: Apply review comments from Allen Downey (GH-15693)
rhettinger Sep 5, 2019
9b51570
bpo-36324: Apply review comment from Jake Vanderplas (GH-15695)
rhettinger Sep 5, 2019
ce81a92
bpo-36409: Remove old plistlib API deprecated in 3.4 (GH-15615)
bigfootjon Sep 5, 2019
3038e87
Correct minor gramatical mistake in sys.settrace doc (GH-15637)
andresdelfino Sep 5, 2019
50254ac
bpo-37064: Add option -k to Tools/scripts/pathfix.py (GH-15548)
PatrikKopkan Sep 5, 2019
2c2b561
bpo-36797: Fix a dead link in Doc/distutils/apiref (GH-15700)
hroncok Sep 5, 2019
2bc43cd
bpo-37878: Remove PyThreadState_DeleteCurrent() function (GH-15315)
nanjekyejoannah Sep 5, 2019
3f43cef
bpo-37064: Skip test_tools.test_pathfix if installed (GH-15705)
vstinner Sep 5, 2019
6b51998
replace inline function `is_small_int` with a macro version (GH-15710)
animalize Sep 6, 2019
d8c93aa
More refinements to the statistics docs (GH-15713)
rhettinger Sep 6, 2019
74b662c
bpo-15088 : Remove PyGen_NeedsFinalizing() (GH-15702)
nanjekyejoannah Sep 6, 2019
38da805
bpo-38041: Refine IDLE Shell restart lines. (GH-15709)
terryjreedy Sep 6, 2019
3ccdbc3
bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH…
nanjekyejoannah Sep 7, 2019
32f8253
Remove some unused defines in multiprocessing.h. (GH-15661)
sir-sigurd Sep 7, 2019
9c4c459
bpo-38038: Remove urllib.parse._splittype from xmlrpc.client. (GH-15703)
corona10 Sep 8, 2019
32a960f
Correct Roman-numeral example in Unicode HOWTO. (GH-15541)
gnprice Sep 8, 2019
3c87a66
bpo-36946:Fix possible signed integer overflow when handling slices. …
hongweipeng Sep 8, 2019
4db25d5
bpo-36018: Address more reviewer feedback (GH-15733)
rhettinger Sep 8, 2019
918b468
Revert "Raise a RuntimeError when tee iterator is consumed from diffe…
serhiy-storchaka Sep 9, 2019
526a014
bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625)
serhiy-storchaka Sep 9, 2019
aa51508
Fix assertions regarding magic methods function body that was not exe…
tirkarthi Sep 9, 2019
1f86fdc
bpo-15817: gdbinit: Document commands after defining them (GH-15021)
The-Compiler Sep 9, 2019
71ea688
bpo-11953: Extend table of Windows WSA* error codes (GH-15004)
nsiregar Sep 9, 2019
7669cb8
bpo-38043: Use `bool` for boolean flags on is_normalized_quickcheck. …
gnprice Sep 9, 2019
a656365
bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() …
ZackerySpytz Sep 9, 2019
e223ba1
bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (#13239)
ZackerySpytz Sep 9, 2019
5e5e951
bpo-37936: Avoid ignoring files that we actually do track. (GH-15451)
gnprice Sep 9, 2019
19052a1
bpo-37705: Improve the implementation of winerror_to_errno() (GH-15623)
ZackerySpytz Sep 9, 2019
8d64bfa
bpo-36250: ignore ValueError from signal in non-main thread (GH-12251)
blueyed Sep 9, 2019
bba9207
Future-proof .travis.yml for Python 3.10 (GH-14831)
asottile Sep 9, 2019
63c98ed
Doc: Fix PDF build (NoUri). (GH-15739)
JulienPalard Sep 9, 2019
9d60706
bpo-37212: Preserve keyword argument order in unittest.mock.call and …
tirkarthi Sep 9, 2019
4f0f9f0
logging.Formatter docs: Add missing `validate` parameter, clarify `st…
drothlis Sep 9, 2019
bed04b6
bpo-34652 again: Remove lchmod from the default AC_CHECK_FUNCS list. …
benjaminp Sep 9, 2019
3a0ddbc
bpo-37283: Ensure command-line and unattend.xml setting override prev…
zooba Sep 9, 2019
b4612f5
bpo-37589: Add a few missing dependencies on .h files in the Makefile…
Yhg1s Sep 9, 2019
ed70129
bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632)
neonene Sep 9, 2019
1a8de82
Fix typo in math.prod example (GH-15614)
ashwinvis Sep 9, 2019
992347d
bpo-26185: Fix repr() on empty ZipInfo object (#13441)
BoboTiG Sep 9, 2019
ef66f31
bpo-32587: Fixes unsafe downcast in PC/winreg.c (GH-15766)
zooba Sep 9, 2019
77643c4
bpo-38037: Fix reference counters in signal module (GH-15753)
animalize Sep 9, 2019
264e034
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
vsajip Sep 9, 2019
d5fd75c
bpo-34596: Fallback to a default reason when @unittest.skip is uncall…
Naitreey Sep 9, 2019
c638521
Fix typo in the algorithm description (GH-15774)
pablogsal Sep 9, 2019
24b11b8
bpo-38053 Update documentation for plistlib (GH-15727)
bigfootjon Sep 9, 2019
e3c59a7
bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666)
alanyee Sep 9, 2019
fa3a38d
Mark files as executable that are meant as scripts. (GH-15354)
gnprice Sep 9, 2019
f5e7f39
docs: Add references to AsyncMock in unittest.mock.patch (#13681)
mariocj89 Sep 9, 2019
b3b48c8
bpo-37876: Tests for ROT-13 codec (GH-15314)
zeth Sep 9, 2019
a2af05a
bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641)
vstinner Sep 9, 2019
88b24f9
Minor changes in Doc/faq/library. (#15449)
awecx Sep 9, 2019
65366bc
bpo-20490: Improve circular import error message (GH-15308)
asottile Sep 9, 2019
3cbc23a
bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15…
gnprice Sep 9, 2019
d91d4de
bpo-38070: visit_decref() calls _PyObject_IsFreed() (GH-15782)
vstinner Sep 9, 2019
682107c
bpo-36279: Ensure os.wait3() rusage is initialized (GH-15111)
ZackerySpytz Sep 9, 2019
bb668f7
Fix docs bz.open default mode (GH-15100)
rsanger Sep 9, 2019
9488a52
Clarify that shutil's copy functions can accept path-like values (GH-…
verhovsky Sep 9, 2019
370138b
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
asottile Sep 9, 2019
fb6807b
Fix punctuation in `os.execvpe` docstring. (GH-15051)
hramezani Sep 9, 2019
09090d0
bpo-37649: Fix exec_prefix check (GH-14897)
orivej Sep 9, 2019
915cd3f
bpo-35941: Fix performance regression in new code (GH-12610)
tiran Sep 9, 2019
92709a2
bpo-37840: Fix handling of negative indices in bytearray_getitem() (G…
sir-sigurd Sep 9, 2019
850573b
bpo-37995: Add an option to ast.dump() to produce a multiline output.…
serhiy-storchaka Sep 9, 2019
64c6ac7
bpo-36502: Update link to UAX #44, the Unicode doc on the UCD. (GH-15…
gnprice Sep 9, 2019
d14e39c
bpo-38018: Increase code coverage for multiprocessing.shared_memory (…
vinay0410 Sep 9, 2019
b9f65f0
bpo-37383: Updates docs to reflect AsyncMock call_count after await. …
lisroach Sep 9, 2019
832e864
bpo-38049: Add command-line interface for the ast module. (GH-15724)
serhiy-storchaka Sep 9, 2019
755d4ef
Correct overflow check in PyTuple_New() (GH-14838)
sir-sigurd Sep 9, 2019
55d12ce
bpo-36511: clean up python process before deploy on ARM Windows build…
paulmon Sep 9, 2019
b5381f6
bpo-34293: Fix PDF documentation paper size (GH-8585)
jfbu Sep 9, 2019
c59295a
bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)
terryjreedy Sep 10, 2019
2fc1160
bpo-38018: Fix test for multiprocessing.shared_memory in BSD systems …
vinay0410 Sep 10, 2019
0711642
Cut tricky `goto` that isn't needed, in _PyBytes_DecodeEscape. (GH-15…
gnprice Sep 10, 2019
80428ed
bpo-25237: Documentation for tkinter modules (GH-1870)
patel-nikhil Sep 10, 2019
5b00dd8
Expand comment explaining update_one_slot (GH-14810)
jdemeyer Sep 10, 2019
1ad0c77
bpo-38043: Move unicodedata.normalize tests into test_unicodedata. (G…
gnprice Sep 10, 2019
c6bbcd2
bpo-37725: have "make clean" remove PGO task data (#15033)
nascheme Sep 10, 2019
359143c
Fix typo in dict object comment (#15814)
dalgarno Sep 10, 2019
43c9731
bpo-38083: Minor improvements in asdl_c.py and Python-ast.c. (GH-15824)
serhiy-storchaka Sep 10, 2019
4f384af
bpo-38076: Make struct module PEP-384 compatible (#15805)
DinoV Sep 10, 2019
a1ffad0
bpo-38074: Make zlib extension module PEP-384 compatible (GH-15792)
DinoV Sep 10, 2019
8e7ff6a
Skip zoneinfo tests on VxWorks (#13535)
hliu0 Sep 10, 2019
e45b217
Remove macOS tests from Travis. (GH-15809)
benjaminp Sep 10, 2019
9e61066
Fix calling order of PyEval_InitThreads. (GH-4602)
mrkn Sep 10, 2019
40a5313
bpo-38072: PEP-384 grpmodule (GH-15788)
DinoV Sep 10, 2019
bd0c7a1
bpo-38071: Make termios PEP-384 compatible (GH-15785)
DinoV Sep 10, 2019
c8dfa73
bpo-37052: Add examples for mocking async iterators and context manag…
tirkarthi Sep 10, 2019
f1c1903
bpo-38068: Clean up gettimeofday configure logic. (GH-15775)
benjaminp Sep 10, 2019
9669931
bpo-36971: add subsections in C API "Common Object Structures" page (…
jdemeyer Sep 10, 2019
537877d
bpo-36373: Deprecate explicit loop parameter in all public asyncio A…
eamanu Sep 10, 2019
5a7d2e1
bpo-38069: Convert _posixsubprocess to PEP-384 (GH-15780)
DinoV Sep 10, 2019
f1a297a
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
lisroach Sep 10, 2019
f958377
bpo-37499: Test various C calling conventions (GH-15776)
encukou Sep 10, 2019
57ea335
bpo-37619: update_one_slot() should not ignore wrapper descriptors fo…
jdemeyer Sep 10, 2019
9008be3
bpo-36373: Deprecate explicit loop parameter in all public asyncio AP…
eamanu Sep 10, 2019
734f120
closes bpo-25461: Update os.walk() docstring to match the online docs…
codeape2 Sep 10, 2019
9a94093
bpo-21018: added missing documentation about escaping characters for …
arunpersaud Sep 10, 2019
12c122a
bpo-38066: Hide internal Stream methods (GH-15762)
asvetlov Sep 10, 2019
b7f8e52
bpo-38073: Make pwd module PEP-384 compatible (GH-15790)
DinoV Sep 10, 2019
c1d8c1c
Note regarding + mode truncation applies to both text and binary mod…
andresdelfino Sep 10, 2019
88bdb92
bpo-36781: Optimize sum() for bools. (#13074)
serhiy-storchaka Sep 10, 2019
a511c7a
bpo-38090: Fix reference leak in ceval.c (GH-15848)
pablogsal Sep 10, 2019
c2f056b
Fix typo in ssl.RAND_bytes documentation (GH-14791)
zthompson47 Sep 10, 2019
182e1d1
Fix subprocess docstring typo (GH-15812)
xmatthias Sep 10, 2019
cd82211
bpo-38088: Fixes distutils not finding vcruntime140.dll with only v14…
zooba Sep 10, 2019
97d7906
bpo-38087: Fix case sensitivity in test_pathlib and test_ntpath (GH-1…
zooba Sep 10, 2019
17499d8
bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-…
jaraco Sep 10, 2019
009ef29
bpo-37913: document that __length_hint__ can return NotImplemented (G…
jdemeyer Sep 10, 2019
a39a4c7
bpo-37913: Link to NotImplemented from new docs (GH-15860)
zooba Sep 10, 2019
c3d679f
bpo-37504: Fix documentation build with texinfo builder (GH-14606)
mitya57 Sep 10, 2019
0518451
Correct minor grammatical mistake in open docs (GH-15865)
andresdelfino Sep 10, 2019
faff81c
Correct info about "f.read(size)". (GH13852)
wjandrea Sep 10, 2019
b6dafe5
Docs: Small tweaks to c-api/intro#Include_Files (GH-14698)
aeros Sep 10, 2019
9121088
bpo-33602: Doc: Remove set and queue references from Data Types (GH-7…
andresdelfino Sep 10, 2019
a9b6033
bpo-36253: Remove use after free reference in ctypes test suite (GH-1…
btharper Sep 10, 2019
7d952de
bpo-32424: Deprecate xml.etree.ElementTree.Element.copy() in favor of…
GPHemsley Sep 10, 2019
801f925
bpo-38089: Move Azure Pipelines to latest VM versions and make macOS …
zooba Sep 10, 2019
2ec7010
bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095)
qigangxu Sep 10, 2019
9cbb97b
bpo-37574: Mention helper functions for find_spec documentation (GH-1…
jdkandersson Sep 10, 2019
afdeb18
Remove unneeded assignment in PyBytes_Concat() (GH-15274)
sir-sigurd Sep 10, 2019
3f4db4a
bpo-28494: Test existing zipfile working behavior. (GH-15853)
gpshead Sep 10, 2019
efd5741
bpo-38034: Fix typo in logging.handlers.rst (GH-15708)
wwuck Sep 11, 2019
7264e92
bpo-36373: Fix deprecation warnings (GH-15889)
asvetlov Sep 11, 2019
ff023ed
bpo-37879: Suppress subtype_dealloc decref when base type is a C heap…
eduardo-elizondo Sep 11, 2019
3fb1363
Overhaul datetime documentation (GH-13410)
bsolomon1124 Sep 11, 2019
580d278
bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-…
gpshead Sep 11, 2019
455122a
bpo-37936: Systematically distinguish rooted vs. unrooted in .gitigno…
gnprice Sep 11, 2019
92521fe
bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899)
zooba Sep 11, 2019
4576b54
bpo-16438: Doc: confusing text regarding numeric precedence corrected…
anjalimalik Sep 11, 2019
6472ece
bpo-37585: Add clarification regarding comparing dict.values() (GH-14…
aeros Sep 11, 2019
92420b3
bpo-37409: fix relative import with no parent (#14956)
benjimin Sep 11, 2019
7a0023e
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
smokephil Sep 11, 2019
c374474
bpo-28494: install ziptestdata to fix install bot (GH-15902)
gpshead Sep 11, 2019
f2173ae
bpo-35066: Make trailing percent test more portable. (GH-15907)
benjaminp Sep 11, 2019
2d8d597
bpo-38103: fix conflicting labels in the docs. (GH-15906)
ezio-melotti Sep 11, 2019
7a6873c
bpo-37151: remove special case for PyCFunction from PyObject_Call (GH…
jdemeyer Sep 11, 2019
6a9fd66
bpo-32972: Document IsolatedAsyncioTestCase of unittest module (GH-15…
tirkarthi Sep 11, 2019
972cf5c
bpo-35168: Make shlex.punctuation_chars read-only (#11631)
ashkop Sep 11, 2019
2d7caca
bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has…
PierreQuentel Sep 11, 2019
c78dae8
bpo-35603: Add a note on difflib table header interpreted as HTML (GH…
tirkarthi Sep 11, 2019
1a13efb
Minor ReST formatting fixes in subprocess docs (#14876)
timhoffm Sep 11, 2019
62cf698
bpo-35649: update http client example (GH-11441)
epicfaace Sep 11, 2019
8fcaffb
bpo-37326: Include libffi license when available (GH-15921)
zooba Sep 11, 2019
60bba83
Doc: Fix typo in fastsearch comments (GH-14608)
esc Sep 11, 2019
37c2220
bpo-35943: Prevent PyImport_GetModule() from returning a partially-in…
nanjekyejoannah Sep 11, 2019
e1d455f
Doc: Use walrus operator in example. (GH-15934)
JulienPalard Sep 11, 2019
781266e
bpo-35640: Allow passing PathLike arguments to SimpleHTTPRequestHandl…
geryogam Sep 11, 2019
9aee900
bpo-38107: Replace direct future and task contructor calls with facto…
asvetlov Sep 11, 2019
a828514
bpo-34519: Add additional aliases for HP Roman 8 (GH-8956)
michael-o Sep 11, 2019
dc26997
bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760)
andresdelfino Sep 11, 2019
6f55b03
Turn off AppVeyor CI (GH-15929)
zware Sep 11, 2019
f9b5840
bpo-33944: note about the intended use of code in .pth files (GH-10131)
native-api Sep 11, 2019
088a09a
bpo-31163: Added return values to pathlib.Path instance's rename and …
shangdahao Sep 11, 2019
4b41745
bpo-37305: add MIME type for Web App Manifest (#14199)
filips123 Sep 11, 2019
95da826
closes bpo-37252: Fix devpoll tests. (GH-14017)
kulikjak Sep 11, 2019
b6643dc
bpo-36919: make test_source_encoding.test_issue2301 implementation-in…
BCSharp Sep 11, 2019
1a53c78
bpo-37488 : Document a warning for datetime.utcnow() and utcfromtimes…
nanjekyejoannah Sep 11, 2019
1660a61
bpo-23460: Fix documentation for decimal string :g formatting (GH-11850)
bdbaraban Sep 11, 2019
97b817e
bpo-33187: Document ElementInclude (XInclude) support in ElementTree …
bansalanjali2512 Sep 11, 2019
7b69069
bpo-37651: Document CancelledError is now a subclass of BaseException…
tirkarthi Sep 11, 2019
7117074
bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15…
rhettinger Sep 11, 2019
51adfc6
Update ftplib.all_errors documentation to match code (#15026)
lurch Sep 11, 2019
1abf543
Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)
simonw Sep 11, 2019
72c3599
bpo-37972: unittest.mock._Call now passes on __getitem__ to the __get…
blhsing Sep 11, 2019
6357c95
bpo-35224: Additional documentation for Assignment Expressions (GH-15…
emilyemorehouse Sep 11, 2019
574b324
bpo-36634: Fixes activate.bat when existing values contain double quo…
zooba Sep 11, 2019
3b58a70
Improve the io module documentation (GH-15099)
geryogam Sep 11, 2019
5209e58
bpo-37885: venv: Don't produce unbound variable warning on deactivate…
danabr Sep 11, 2019
3ba51d5
bpo-36260: Add pitfalls to zipfile module documentation (#13378)
krnick Sep 11, 2019
af636f4
bpo-36182: Update pathlib.Path.write_text() docs (GH-12161)
lysnikolaou Sep 11, 2019
e20134f
bpo-38110: Use fdwalk for os.closerange() when available. (GH-15224)
kulikjak Sep 11, 2019
aa92927
bpo-33166: Change os.cpu_count to return active (real) processors (GH…
zooba Sep 11, 2019
19f6940
bpo-38114: Do not include pip.ini in Nuget package (GH-15964)
zooba Sep 11, 2019
4a12a17
bpo-34331: Fix incorrectly pluralized abstract class error message. (…
dangro Sep 11, 2019
0cc2741
Improve clarity of try-return-finally-return (GH-15677)
toonarmycaptain Sep 11, 2019
5b172c2
bpo-38113: Update Python/ast.c to PEP-384 (GH-15975)
DinoV Sep 11, 2019
1fae844
Doc: Fix missing negation. (GH-14640)
JulienPalard Sep 11, 2019
145cf1f
bpo-35923: Update the BuiltinImporter to use loader._ORIGIN instead o…
corona10 Sep 11, 2019
e6557d3
bpo-36528: Remove duplicate re tests. (GH-2689)
tirkarthi Sep 11, 2019
0b72ccf
bpo-32592: Set Windows 8 as the minimum required version for API supp…
zooba Sep 11, 2019
5a56ce4
bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988)
shihai1991 Sep 11, 2019
58ab134
bpo-38117: Test with OpenSSL 1.1.1d (GH-15983)
tiran Sep 11, 2019
8d120f7
bpo-28724: Add methods send_fds and recv_fds to the socket module (GH…
nanjekyejoannah Sep 11, 2019
ac46eb4
bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)
DinoV Sep 11, 2019
e24594b
Doc: recursive glob ** follows symlinks to directories (GH-12918)
marc-h38 Sep 11, 2019
c9bc49c
bpo-34001: Fix test_ssl with LibreSSL (GH-13783)
tiran Sep 11, 2019
15f5a75
bpo-37698: Update doc of PyBuffer_ToContiguous (GH-14992)
shihai1991 Sep 11, 2019
de606ea
Correct typo in min version test (GH-16000)
tiran Sep 11, 2019
9936371
bpo-36270: Doc: add link to traceback object reference (GH-13119)
bjoernmeier Sep 11, 2019
ee536b2
bpo-36876: Add a tool that identifies unsupported global C variables.…
ericsnowcurrently Sep 11, 2019
39de95b
closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007)
benjaminp Sep 11, 2019
891e9e3
Correct typos in the codecs module documentation (#15135)
geryogam Sep 12, 2019
a06d683
bpo-38120: Fix DeprecationWarning in test_random for invalid type of …
tirkarthi Sep 12, 2019
92777d5
bpo-18578: Rename and document test.bytecode_helper as test.support.b…
nanjekyejoannah Sep 12, 2019
f9c95a4
bpo-32820: __format__ method for ipaddress (#5627)
ewosborne Sep 12, 2019
5e9caee
bpo-37879: Fix warnings in _testcapimodule (GH-16004)
encukou Sep 12, 2019
a65678c
bpo-37760: Convert from length-18 lists to a dataclass, in makeunicod…
gnprice Sep 12, 2019
6954be8
closes bpo-37758: Extend unicodedata checksum tests to cover all of U…
gnprice Sep 12, 2019
421a72a
bpo-21120: Exclude Python-ast.h, ast.h and asdl.h from the limited AP…
ZackerySpytz Sep 12, 2019
8ed6503
bpo-38121: Sync importlib.metadata with 0.22 backport (GH-15993)
jaraco Sep 12, 2019
6e1a30b
Fix the ImportWarning regarding __spec__ and __package__ being None (…
tirkarthi Sep 12, 2019
7544497
Doc: Add example of dict() function with positional and keyword argum…
gfrlv Sep 12, 2019
64535fc
bpo-36876: Skip test_check_c_globals for now. (gh-16017)
ericsnowcurrently Sep 12, 2019
954900a
closes bpo-37405: Make socket.getsockname() always return a tuple for…
bggardner Sep 12, 2019
ea683de
closes bpo-38127: _ctypes: PyObject_IsSubclass() should be checked fo…
ZackerySpytz Sep 12, 2019
692a0dc
bpo-38008: Move builtin protocol whitelist to mapping instead of list…
jivid Sep 12, 2019
2d32bf1
bpo-13927: time.ctime and time.asctime return string explantion (GH-1…
harmands Sep 12, 2019
f545638
bpo-9938: Add optional keyword argument exit_on_error to argparse.Arg…
shihai1991 Sep 12, 2019
894d0f7
bpo-32008: Prefer client or TLSv1_2 in examples (GH-5797)
tiran Sep 12, 2019
2c910c1
bpo-36675: Remove obsolete code. (GH-16024)
JulienPalard Sep 12, 2019
31a82e2
bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456)
eamanu Sep 12, 2019
64117e0
bpo-38134: Remove PKBDF2_HMAC_fast from _hashopenssl (GH-16028)
tiran Sep 12, 2019
967b84c
bpo-35325: Doc: imp.find_module() return value documentation discrepa…
Windsooon Sep 12, 2019
224b8aa
bpo-26868: Fix example usage of PyModule_AddObject. (#15725)
brandtbucher Sep 12, 2019
3ab6147
Enhance Py_UNREACHABLE macro (GH-16032)
zware Sep 12, 2019
a488879
bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033)
asvetlov Sep 12, 2019
5a4f82f
bpo-38132: Simplify _hashopenssl code (GH-16023)
tiran Sep 12, 2019
f9dc2ad
bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (G…
serhiy-storchaka Sep 12, 2019
ed4b321
bpo-37363: Document internal audit events (GH-14663)
tiran Sep 12, 2019
a45b0ef
Doc: Add -m reference in context of code execution (GH-16045)
JulienPalard Sep 12, 2019
8c74574
bpo-38132: Check EVP_DigestUpdate for error (GH-16041)
tiran Sep 12, 2019
355f3e1
Fix depth-first-search computation in compile.c (GH-16042)
markshannon Sep 12, 2019
99b54d6
Revert "Fix depth-first-search computation in compile.c (GH-16042)" (…
Yhg1s Sep 12, 2019
2f1b857
bpo-36991: Fix incorrect exception escaping ZipFile.extract() (GH-13632)
berkerpeksag Sep 12, 2019
4ffd05d
bpo-21872: fix lzma library decompresses data incompletely (GH-14048)
animalize Sep 12, 2019
9a4963b
bpo-38137: Re-add OpenSSL 1.0.2 compat (GH-16051)
tiran Sep 12, 2019
8d88e8c
bpo-38138: Fix memory leak introduced by interned strings (GH-16053)
DinoV Sep 12, 2019
c6734ee
bpo-37802: Slightly improve perfomance of PyLong_FromUnsigned*() (GH-…
sir-sigurd Sep 12, 2019
4210ad5
bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16…
rhettinger Sep 12, 2019
b1a2abd
bpo-37908: Add an example of ArgumentParser.exit() (GH-15455)
shihai1991 Sep 12, 2019
855df7f
closes bpo-37803: pdb: fix handling of options (--help / --version) (…
blueyed Sep 12, 2019
088b63e
bpo-36876: Fix the globals checker tool. (gh-16058)
ericsnowcurrently Sep 12, 2019
57b7dbc
Emphasize the need to always call PySequence_Fast. (GH-11140)
mattip Sep 12, 2019
2b2ead7
bpo-36046: Add user and group parameters to subprocess (GH-11950)
patrick-mclean Sep 12, 2019
ed93a88
bpo-38133: Allow py.exe launcher to locate installations from the Mic…
zooba Sep 12, 2019
a44f3dc
Move Eric's TODO file into his directory. (GH-16072)
benjaminp Sep 12, 2019
3a4f667
Cut disused recode_encoding logic in _PyBytes_DecodeEscape. (GH-16013)
gnprice Sep 12, 2019
7cad53e
bpo-9216: Add usedforsecurity to hashlib constructors (GH-16044)
tiran Sep 13, 2019
7183064
Doc: Add example snippet for str.isupper() (GH-14681)
kishvanchee Sep 13, 2019
42671ae
bpo-37785: Fix xgettext warning in argparse (GH-15161)
kulikjak Sep 13, 2019
04f0bbf
bpo-38075: Port _randommodule.c to PEP-384 (GH-15798)
DinoV Sep 13, 2019
6a517c6
bpo-8538: Add support for boolean actions to argparse (GH-11478)
Sep 13, 2019
d31b315
bpo-36889: Document Stream class and add docstrings (GH-14488)
tirkarthi Sep 13, 2019
f66e33e
Merge branch 'patch-1' of github.com:bukzor/cpython-1 into patch-1
gpshead Sep 13, 2019
f238285
NEWS
gpshead Sep 13, 2019
8529b5e
use assertIsInstance
gpshead Sep 13, 2019
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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
testRunPlatform: macos

pool:
vmImage: xcode9-macos10.13
vmImage: macos-10.14

steps:
- template: ./macos-steps.yml
Expand All @@ -59,7 +59,7 @@ jobs:
variables:
testRunTitle: '$(build.sourceBranchName)-linux'
testRunPlatform: linux
openssl_version: 1.1.0j
openssl_version: 1.1.1d

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

steps:
- template: ./posix-steps.yml
Expand All @@ -131,7 +131,7 @@ jobs:
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

pool:
vmImage: vs2017-win2016
vmImage: windows-2019

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/docs-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ steps:
inputs:
versionSpec: '>=3.6'

- script: python -m pip install sphinx==1.8.2 blurb python-docs-theme
- script: python -m pip install sphinx==2.0.1 blurb python-docs-theme
displayName: 'Install build dependencies'

- ${{ if ne(parameters.latex, 'true') }}:
Expand Down
2 changes: 2 additions & 0 deletions .azure-pipelines/macos-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ steps:

- script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
displayName: 'Tests'
continueOnError: true
timeoutInMinutes: 30

- task: PublishTestResults@2
displayName: 'Publish Test Results'
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/posix-deps-apt.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
apt-get update

apt-get -yq install \
Expand Down
4 changes: 4 additions & 0 deletions .azure-pipelines/posix-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ steps:
clean: true
fetchDepth: 5

# Work around a known issue affecting Ubuntu VMs on Pipelines
- script: sudo setfacl -Rb /home/vsts
displayName: 'Workaround ACL issue'

- script: ${{ parameters.sudo_dependencies }} ./.azure-pipelines/posix-deps-${{ parameters.dependencies }}.sh $(openssl_version)
displayName: 'Install dependencies'

Expand Down
8 changes: 4 additions & 4 deletions .azure-pipelines/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
testRunPlatform: macos

pool:
vmImage: xcode9-macos10.13
vmImage: macos-10.14

steps:
- template: ./macos-steps.yml
Expand All @@ -59,7 +59,7 @@ jobs:
variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
testRunPlatform: linux
openssl_version: 1.1.0j
openssl_version: 1.1.1d

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

steps:
- template: ./posix-steps.yml
Expand All @@ -131,7 +131,7 @@ jobs:
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

pool:
vmImage: vs2017-win2016
vmImage: windows-2019

strategy:
matrix:
Expand Down
129 changes: 129 additions & 0 deletions .azure-pipelines/windows-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
name: Release_$(Build.SourceBranchName)_$(SourceTag)_$(Date:yyyyMMdd)$(Rev:.rr)

variables:
__RealSigningCertificate: 'Python Software Foundation'
# QUEUE TIME VARIABLES
# GitRemote: python
# SourceTag:
# DoPGO: true
# SigningCertificate: 'Python Software Foundation'
# SigningDescription: 'Built: $(Build.BuildNumber)'
# DoLayout: true
# DoMSIX: true
# DoNuget: true
# DoEmbed: true
# DoMSI: true
# DoPublish: false
# PyDotOrgUsername: ''
# PyDotOrgServer: ''
# BuildToPublish: ''

trigger: none
pr: none

stages:
- stage: Build
displayName: Build binaries
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-build.yml

- stage: Sign
displayName: Sign binaries
dependsOn: Build
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-sign.yml

- stage: Layout
displayName: Generate layouts
dependsOn: Sign
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-layout-full.yml
- template: windows-release/stage-layout-embed.yml
- template: windows-release/stage-layout-nuget.yml

- stage: Pack
dependsOn: Layout
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-pack-nuget.yml

- stage: Test
dependsOn: Pack
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-test-embed.yml
- template: windows-release/stage-test-nuget.yml

- stage: Layout_MSIX
displayName: Generate MSIX layouts
dependsOn: Sign
condition: and(succeeded(), and(eq(variables['DoMSIX'], 'true'), not(variables['BuildToPublish'])))
jobs:
- template: windows-release/stage-layout-msix.yml

- stage: Pack_MSIX
displayName: Package MSIX
dependsOn: Layout_MSIX
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-pack-msix.yml

- stage: Build_MSI
displayName: Build MSI installer
dependsOn: Sign
condition: and(succeeded(), and(eq(variables['DoMSI'], 'true'), not(variables['BuildToPublish'])))
jobs:
- template: windows-release/stage-msi.yml

- stage: Test_MSI
displayName: Test MSI installer
dependsOn: Build_MSI
condition: and(succeeded(), not(variables['BuildToPublish']))
jobs:
- template: windows-release/stage-test-msi.yml

- stage: PublishPyDotOrg
displayName: Publish to python.org
dependsOn: ['Test_MSI', 'Test']
condition: and(succeeded(), and(eq(variables['DoPublish'], 'true'), not(variables['BuildToPublish'])))
jobs:
- template: windows-release/stage-publish-pythonorg.yml

- stage: PublishNuget
displayName: Publish to nuget.org
dependsOn: Test
condition: and(succeeded(), and(eq(variables['DoPublish'], 'true'), not(variables['BuildToPublish'])))
jobs:
- template: windows-release/stage-publish-nugetorg.yml

- stage: PublishStore
displayName: Publish to Store
dependsOn: Pack_MSIX
condition: and(succeeded(), and(eq(variables['DoPublish'], 'true'), not(variables['BuildToPublish'])))
jobs:
- template: windows-release/stage-publish-store.yml


- stage: PublishExistingPyDotOrg
displayName: Publish existing build to python.org
dependsOn: []
condition: and(succeeded(), and(eq(variables['DoPublish'], 'true'), variables['BuildToPublish']))
jobs:
- template: windows-release/stage-publish-pythonorg.yml

- stage: PublishExistingNuget
displayName: Publish existing build to nuget.org
dependsOn: []
condition: and(succeeded(), and(eq(variables['DoPublish'], 'true'), variables['BuildToPublish']))
jobs:
- template: windows-release/stage-publish-nugetorg.yml

- stage: PublishExistingStore
displayName: Publish existing build to Store
dependsOn: []
condition: and(succeeded(), and(eq(variables['DoPublish'], 'true'), variables['BuildToPublish']))
jobs:
- template: windows-release/stage-publish-store.yml
83 changes: 83 additions & 0 deletions .azure-pipelines/windows-release/build-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
parameters:
ShouldPGO: false

steps:
- template: ./checkout.yml

- powershell: |
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
Write-Host "##vso[task.setvariable variable=VersionText]$($d.PythonVersion)"
Write-Host "##vso[task.setvariable variable=VersionNumber]$($d.PythonVersionNumber)"
Write-Host "##vso[task.setvariable variable=VersionHex]$($d.PythonVersionHex)"
Write-Host "##vso[task.setvariable variable=VersionUnique]$($d.PythonVersionUnique)"
Write-Host "##vso[build.addbuildtag]$($d.PythonVersion)"
Write-Host "##vso[build.addbuildtag]$($d.PythonVersion)-$(Name)"
displayName: 'Extract version numbers'

- ${{ if eq(parameters.ShouldPGO, 'false') }}:
- powershell: |
$env:SigningCertificate = $null
.\PCbuild\build.bat -v -p $(Platform) -c $(Configuration)
displayName: 'Run build'
env:
IncludeUwp: true
Py_OutDir: '$(Build.BinariesDirectory)\bin'

- ${{ if eq(parameters.ShouldPGO, 'true') }}:
- powershell: |
$env:SigningCertificate = $null
.\PCbuild\build.bat -v -p $(Platform) --pgo
displayName: 'Run build with PGO'
env:
IncludeUwp: true
Py_OutDir: '$(Build.BinariesDirectory)\bin'

- powershell: |
$kitroot = (gp 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots\').KitsRoot10
$tool = (gci -r "$kitroot\Bin\*\x64\signtool.exe" | sort FullName -Desc | select -First 1)
if (-not $tool) {
throw "SDK is not available"
}
Write-Host "##vso[task.prependpath]$($tool.Directory)"
displayName: 'Add WinSDK tools to path'

- powershell: |
$env:SigningCertificate = $null
.\python.bat PC\layout -vv -t "$(Build.BinariesDirectory)\catalog" --catalog "${env:CAT}.cdf" --preset-default
makecat "${env:CAT}.cdf"
del "${env:CAT}.cdf"
if (-not (Test-Path "${env:CAT}.cat")) {
throw "Failed to build catalog file"
}
displayName: 'Generate catalog'
env:
CAT: $(Build.BinariesDirectory)\bin\$(Arch)\python

- task: PublishPipelineArtifact@0
displayName: 'Publish binaries'
condition: and(succeeded(), not(and(eq(variables['Configuration'], 'Release'), variables['SigningCertificate'])))
inputs:
targetPath: '$(Build.BinariesDirectory)\bin\$(Arch)'
artifactName: bin_$(Name)

- task: PublishPipelineArtifact@0
displayName: 'Publish binaries for signing'
condition: and(succeeded(), and(eq(variables['Configuration'], 'Release'), variables['SigningCertificate']))
inputs:
targetPath: '$(Build.BinariesDirectory)\bin\$(Arch)'
artifactName: unsigned_bin_$(Name)

- task: CopyFiles@2
displayName: 'Layout Artifact: symbols'
inputs:
sourceFolder: $(Build.BinariesDirectory)\bin\$(Arch)
targetFolder: $(Build.ArtifactStagingDirectory)\symbols\$(Name)
flatten: true
contents: |
**\*.pdb

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: symbols'
inputs:
PathToPublish: '$(Build.ArtifactStagingDirectory)\symbols'
ArtifactName: symbols
21 changes: 21 additions & 0 deletions .azure-pipelines/windows-release/checkout.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
parameters:
depth: 3

steps:
- checkout: none

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(SourceTag) --single-branch https://github.com/$(GitRemote)/cpython.git .
displayName: 'git clone ($(GitRemote)/$(SourceTag))'
condition: and(succeeded(), and(variables['GitRemote'], variables['SourceTag']))

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(SourceTag) --single-branch $(Build.Repository.Uri) .
displayName: 'git clone (<default>/$(SourceTag))'
condition: and(succeeded(), and(not(variables['GitRemote']), variables['SourceTag']))

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(Build.SourceBranchName) --single-branch https://github.com/$(GitRemote)/cpython.git .
displayName: 'git clone ($(GitRemote)/<default>)'
condition: and(succeeded(), and(variables['GitRemote'], not(variables['SourceTag'])))

- script: git clone --progress -v --depth ${{ parameters.depth }} --branch $(Build.SourceBranchName) --single-branch $(Build.Repository.Uri) .
displayName: 'git clone'
condition: and(succeeded(), and(not(variables['GitRemote']), not(variables['SourceTag'])))
17 changes: 17 additions & 0 deletions .azure-pipelines/windows-release/find-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Locate the Windows SDK and add its binaries directory to PATH
#
# `toolname` can be overridden to use a different marker file.

parameters:
toolname: signtool.exe

steps:
- powershell: |
$kitroot = (gp 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots\').KitsRoot10
$tool = (gci -r "$kitroot\Bin\*\${{ parameters.toolname }}" | sort FullName -Desc | select -First 1)
if (-not $tool) {
throw "SDK is not available"
}
Write-Host "##vso[task.prependpath]$($tool.Directory)"
Write-Host "Adding $($tool.Directory) to PATH"
displayName: 'Add WinSDK tools to path'
28 changes: 28 additions & 0 deletions .azure-pipelines/windows-release/gpg-sign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
parameters:
GPGKeyFile: $(GPGKey)
GPGPassphrase: $(GPGPassphrase)
Files: '*'
WorkingDirectory: $(Build.BinariesDirectory)

steps:
- task: DownloadSecureFile@1
name: gpgkey
inputs:
secureFile: ${{ parameters.GPGKeyFile }}
displayName: 'Download GPG key'

- powershell: |
git clone https://github.com/python/cpython-bin-deps --branch gpg --single-branch --depth 1 --progress -v "gpg"
gpg/gpg2.exe --import "$(gpgkey.secureFilePath)"
(gci -File ${{ parameters.Files }}).FullName | %{
gpg/gpg2.exe -ba --batch --passphrase ${{ parameters.GPGPassphrase }} $_
"Made signature for $_"
}
displayName: 'Generate GPG signatures'
workingDirectory: ${{ parameters.WorkingDirectory }}

- powershell: |
$p = gps "gpg-agent" -EA 0
if ($p) { $p.Kill() }
displayName: 'Kill GPG agent'
condition: true
Loading