Skip to content

bpo-29847: Path subclasses raise TypeError given kwargs #13399

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 443 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
443 commits
Select commit Hold shift + click to select a range
735e8af
bpo-36974: inherit the vectorcall protocol (GH-13498)
jdemeyer May 30, 2019
c145f3b
bpo-36974: remove _PyObject_HasFastCall (GH-13460)
jdemeyer May 30, 2019
249b7d5
bpo-20602: Do not clear sys.flags and sys.float_info during shutdown …
ZackerySpytz May 30, 2019
6d0b747
bpo-37099: Silence DeprecationWarning in test_inspect (GH-13679)
tirkarthi May 30, 2019
37788bc
bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)
jdemeyer May 30, 2019
25ee0c3
Revert adding @maxking to CODEOWNERS file (GH-13660)
brettcannon May 30, 2019
98ef920
bpo-36999: Add asyncio.Task.get_coro() (GH-13680)
agronholm May 30, 2019
1b69c09
Fix audit event typo : urllib.request -> urllib.Request (GH-13550)
tirkarthi May 30, 2019
1e36f75
bpo-5028: fix doc bug for tokenize (GH-11683)
andrewnc May 30, 2019
2f5b9dc
bpo-30969: Fix docs about the comparison in absence of __contains__ (…
ztane May 30, 2019
5437ccc
bpo-36342: Fix test_multiprocessing in test_venv (GH-12513)
xdegaye May 30, 2019
eea47e0
bpo-36953: Delay removal of ABCs from collections. (GH-13409)
May 30, 2019
2a58b06
bpo-5028: Fix up rest of documentation for tokenize documenting line …
asottile May 30, 2019
4c23aff
bpo-29262: Add get_origin() and get_args() introspection helpers to t…
ilevkivskyi May 30, 2019
530f506
bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_…
jdemeyer May 31, 2019
65fb2c0
bpo-339827: Do not swallow exceptions in the _ssl module. (GH-12756)
serhiy-storchaka May 31, 2019
14a0e16
bpo-36548: Improve the repr of re flags. (GH-12715)
serhiy-storchaka May 31, 2019
ba04302
IDLE - Capitalize search dialogs' 'Close' button label. (#13691)
terryjreedy May 31, 2019
38ab7d4
bpo-31829: Make protocol 0 pickles be loadable in text mode in Python…
serhiy-storchaka May 31, 2019
e9b51c0
bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cle…
serhiy-storchaka May 31, 2019
c7f7069
bpo-34271: Add ssl debugging helpers (GH-10031)
tiran May 31, 2019
c7f803b
bpo-36379: __ipow__ must be a ternaryfunc, not a binaryfunc (GH-13546)
ZackerySpytz May 31, 2019
3a46d5c
bpo-37108: Support super with methods that use positional-only argume…
pablogsal May 31, 2019
ed222a7
Update data model docs to include missing attributes for code objects…
pablogsal May 31, 2019
2f58a84
bpo-37112: Allow compile to work on AST with positional only argument…
pablogsal May 31, 2019
a0c01bf
bpo-37115: Support annotations in positional-only arguments (GH-13698)
pablogsal May 31, 2019
ffed76b
bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)
MakDon May 31, 2019
8cbb5b6
bpo-26835: Add file sealing constants to fcntl (GH-13694)
tiran May 31, 2019
4612671
bpo-25735: math.factorial doc should mention integer return type (GH-…
akshaysharma096 May 31, 2019
c8d5bf6
bpo-12639: msilib.Directory.start_component() fails if *keyfile* is n…
ZackerySpytz May 31, 2019
545a3b8
Document changes for PyCode_New regarding PEP570 (GH-13706)
pablogsal May 31, 2019
aac4d03
bpo-26826: Expose copy_file_range in the os module (GH-7255)
pablogsal May 31, 2019
a6ec1ce
bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278)
ammaraskar May 31, 2019
a747c3a
bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354)
csabella May 31, 2019
ed9f356
bpo-37105: Add deprecated-remove information on stream doc (#13672)
eamanu May 31, 2019
549e55a
bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib…
ZackerySpytz Jun 1, 2019
1c263e3
bpo-37029: keep usable_arenas in sorted order without searching (#13…
tim-one Jun 1, 2019
396e0a8
bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)
ericsnowcurrently Jun 1, 2019
5c22476
Improve docstring of list.sort (GH-8516)
timhoffm Jun 1, 2019
664fe39
bpo-29984: Improve 'heapq' test coverage (GH-992)
rkday Jun 1, 2019
354227a
Add option to trace to run modules (GH-5134)
mariocj89 Jun 1, 2019
5ac0b98
bpo-18911: clarify that the minidom XML writer receives texts but not…
Windsooon Jun 1, 2019
4a68650
bpo-35431: Implemented math.comb (GH-11414)
FR4NKESTI3N Jun 1, 2019
2085bd0
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
serhiy-storchaka Jun 1, 2019
70c5f2a
Use more PEP 570 syntax in the documentation. (GH-13720)
serhiy-storchaka Jun 1, 2019
6b282e1
bpo-36813: Fix QueueListener to call task_done() upon termination. (G…
bharel Jun 1, 2019
a0adffb
Move whats-new entry for math.factorial to the math module section. (…
mdickinson Jun 1, 2019
6650105
Doc: Correct the creation year and the credits of the Logo Programmin…
matrixise Jun 1, 2019
059b9ea
bpo-31968: Documentation -- add clarification on the globals dict for…
tonybaloney Jun 1, 2019
cd74e66
bpo-37122: Make co->co_argcount represent the total number of positon…
pablogsal Jun 1, 2019
9843bc1
Improve exception message for str.format (GH-12675)
franciscouzo Jun 1, 2019
2b843ac
bpo-35431: Refactor math.comb() implementation. (GH-13725)
serhiy-storchaka Jun 1, 2019
56624a9
bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071)
evanunderscore Jun 1, 2019
faa2948
Clean up and reduce visual clutter in the makeunicode.py script. (GH-…
scoder Jun 1, 2019
938d9a0
Fix compiler warnings in the pystrehex module (GH-13730)
pablogsal Jun 1, 2019
3b57f50
bpo-36842: Pass positional only parameters to code_new audit hook (GH…
pablogsal Jun 1, 2019
e5f6207
bpo-34303: Micro-optimizations in functools.reduce() (GH-8598)
sir-sigurd Jun 1, 2019
1a4d9ff
bpo-32411: IDLE: Remove line number sort in browser.py (#5011)
csabella Jun 1, 2019
bdbad71
bpo-20092. Use __index__ in constructors of int, float and complex. (…
serhiy-storchaka Jun 1, 2019
36dcaab
Fix the error handling in bytesio_sizeof(). (GH-10459)
ZackerySpytz Jun 1, 2019
218e47b
bpo-29414: Change 'the for statement is such an iterator' in Tutorial…
marco-buttu Jun 1, 2019
6a150bc
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall()…
ericsnowcurrently Jun 1, 2019
b7fade4
Put math.comb() docs is correct place alphabetically (GH-13734)
rhettinger Jun 1, 2019
b7daabd
Improve version added references in `typing` module docs (GH-13457)
asottile Jun 2, 2019
d71f317
Add more tests for preserving identity in marshal. (GH-13736)
serhiy-storchaka Jun 2, 2019
5ae299a
bpo-37128: Add math.perm(). (GH-13731)
serhiy-storchaka Jun 2, 2019
c529967
bpo-36027: Extend three-argument pow to negative second argument (GH-…
mdickinson Jun 2, 2019
13ed079
bpo-35621: Support running subprocesses in asyncio when loop is execu…
asvetlov Jun 2, 2019
7ffcf84
bpo-37126: Allow structseq objects to be tracked by the GC (GH-13729)
pablogsal Jun 2, 2019
5df4025
Add description to the command line help of the argument clinic (GH-8…
timhoffm Jun 2, 2019
6bdc4de
bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH…
csabella Jun 2, 2019
c0295db
bpo-37124: Fix reference leak in test_msilib (GH-13750)
pablogsal Jun 2, 2019
3caf4de
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
pablogsal Jun 2, 2019
aca273e
bpo-37014: Update docstring and Documentation of fileinput.FileInput(…
mangrisano Jun 2, 2019
cdce057
bpo-36829: test_threading: Fix a ref cycle (GH-13752)
vstinner Jun 2, 2019
64e2c64
test_gdb.test_pycfunction: test more calling conventions (GH-13668)
encukou Jun 2, 2019
e1179a5
bpo-19184: Update the documentation of dis module. (GH-13652)
mangrisano Jun 2, 2019
fb9423f
bpo-36974: Make tp_call=PyVectorcall_Call work for inherited types (G…
encukou Jun 2, 2019
c6789d6
bpo-35621: Fix tests when SafeChildWatcher is expected instead of Thr…
asvetlov Jun 2, 2019
e584cbf
bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warning…
encukou Jun 2, 2019
0d70227
Fix typos in docs and docstrings (GH-13745)
tirkarthi Jun 2, 2019
7f4ae1b
bpo-37012: Clean up special cases in PyType_FromSpecWithBases slot as…
encukou Jun 2, 2019
3cf7ea1
bpo-37100: Fix test_coroutines with -Werror (GH-13756)
vstinner Jun 2, 2019
82eac26
Update the annotated assignment docs (GH-13757)
ilevkivskyi Jun 2, 2019
9e3e06e
bpo-36974: document PEP 590 (GH-13450)
jdemeyer Jun 2, 2019
be718c3
bpo-36974: add some assertions for PEP 590 (GH-13682)
jdemeyer Jun 2, 2019
1e375c6
bpo-36027: Really fix "incompatible pointer type" compiler warning (G…
encukou Jun 3, 2019
13136e8
bpo-36896: Clarify that some types constructors are unstable (GH-13271)
Carreau Jun 3, 2019
0025350
bpo-37069: tests use catch_unraisable_exception() (GH-13762)
vstinner Jun 3, 2019
01ee12b
bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927)
hackaugusto Jun 3, 2019
d337169
Fix variable name copy/paste error in build-installer.py (GH-13038)
cclauss Jun 3, 2019
cba9f84
bpo-36546: Add design notes to aid future discussions (GH-13769)
rhettinger Jun 3, 2019
d9677f3
IDLE: Fix typos in docs and comments (GH-13749)
tirkarthi Jun 3, 2019
8565f6b
bpo-35814: Allow unpacking in r.h.s of annotated assignment expressio…
pablogsal Jun 3, 2019
0288dd6
bpo-36231: Support building on macOS without /usr/include (GH-13773)
ned-deily Jun 3, 2019
29ec422
Pin macOS installer Sphinx to v2.0.1 (GH-13774)
ned-deily Jun 3, 2019
91234a1
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
methane Jun 3, 2019
395420e
bpo-26219: remove unused code (GH-13775)
methane Jun 3, 2019
01ae897
Add credits to What's New in Python 3.8 (GH-13776)
vstinner Jun 3, 2019
141da44
Doc fix: duplicate object description of email.message (GH-13742)
JulienPalard Jun 3, 2019
0b9956e
bpo-37087: Adding native ID support for OpenBSD (GH-13654)
Jun 3, 2019
49a7e34
bpo-37137: Fix test_asyncio: use TestCase.set_event_loop() (GH-13779)
vstinner Jun 3, 2019
e225beb
Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendi…
vstinner Jun 3, 2019
06651ee
bpo-37081: Test with OpenSSL 1.1.1c (GH-13631)
tiran Jun 3, 2019
e35d1ba
bpo-34271: Fix compatibility with 1.0.2 (GH-13728)
tiran Jun 3, 2019
47eb223
bpo-36868: Fix what's new for SSLContext.hostname_checks_common_name …
tiran Jun 3, 2019
78c7d52
bpo-37120: Add SSLContext.num_tickets (GH-13719)
tiran Jun 3, 2019
0f0a30f
bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close (GH-13786)
vstinner Jun 3, 2019
eddef86
bpo-37146: disable opcache when Py_DEBUG is defined (GH-13787)
methane Jun 3, 2019
9535aff
Revert "bpo-35621: Support running subprocesses in asyncio when loop …
asvetlov Jun 4, 2019
0fd2c30
Revert "bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)" …
vstinner Jun 4, 2019
963eb0f
bpo-35431: Drop the k <= n requirement (GH-13798)
rhettinger Jun 4, 2019
4cdbc45
bpo-37148: Fix asyncio test that check for warning when running the t…
pablogsal Jun 4, 2019
8bcf262
More updates to the annotated assignments docs (GH-13794)
ilevkivskyi Jun 4, 2019
8f4bbb5
Fix grammar (GH-13801)
rhettinger Jun 4, 2019
7f9a2ae
Revert "bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close …
ambv Jun 4, 2019
35890ab
Make StreamServer.close() tests more robust (GH-13790)
asvetlov Jun 4, 2019
8d56109
bpo-37142: Make asyncio stream tests more robust again (GH-13804)
asvetlov Jun 4, 2019
ea9f168
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13809)
vstinner Jun 4, 2019
ca612a9
bpo-36778: Remove outdated comment from CodePageTest (GH-13807)
vstinner Jun 4, 2019
f0b5ae4
bpo-30699: Improve example on datetime tzinfo instances (GH-4290)
mariocj89 Jun 4, 2019
800d786
Fix extraneous whitespace in QueueListener.prepare (GH-13803)
Lothiraldan Jun 4, 2019
8d0ef0b
bpo-36742: Corrects fix to handle decomposition in usernames (#13812)
zooba Jun 4, 2019
bc6469f
bpo-37153: test_venv.test_mutiprocessing() calls pool.terminate() (GH…
vstinner Jun 4, 2019
46d88a1
bpo-35805: Add parser for Message-ID email header. (GH-13397)
maxking Jun 4, 2019
3b5deb0
Python 3.8.0b1
ambv Jun 4, 2019
aa79707
bpo-30835: email: Fix AttributeError when parsing invalid CTE (GH-13598)
maxking Jun 4, 2019
001d63c
bpo-35047: Update whatsnew/3.8 for better mock error message (GH-13746)
PetterS Jun 4, 2019
23d7ce7
Merge tag 'v3.8.0b1'
ambv Jun 4, 2019
9ab2fb1
Bump to 3.9.0a0
ambv Jun 4, 2019
750767f
Bump version in AppVeyor config (#13822)
zware Jun 4, 2019
19a1e1e
bpo-34282: Remove deprecated enum _convert method (GH-13823)
zware Jun 4, 2019
59e7bbc
Doc: Python 3.9 in sidebar and version switcher. (GH-13824)
JulienPalard Jun 4, 2019
949fe97
bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791)
terryjreedy Jun 5, 2019
6d64a8f
bpo-36373: Deprecate explicit loop parameter in all public asyncio A…
eamanu Jun 5, 2019
d4cf099
Fix documentation (GH-13721)
bentyeh Jun 5, 2019
9aa7856
bpo-34767: Do not always create a collections.deque() in asyncio.Lock…
ZackerySpytz Jun 5, 2019
ccf0efb
bpo-26836: Document os.memfd_create() name parameter (GH-13838)
vstinner Jun 5, 2019
6c01ebc
bpo-37158: Simplify and speed-up statistics.fmean() (GH-13832)
rhettinger Jun 5, 2019
142566c
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (…
serhiy-storchaka Jun 5, 2019
66c4f3f
bpo-21315: Fix parsing of encoded words with missing leading ws. (#13…
maxking Jun 5, 2019
1e77ab0
bpo-33725, multiprocessing doc: rephase warning against fork on macOS…
vstinner Jun 5, 2019
54edb04
bpo-37134: Add PEP570 notation to the documentation (GH-13743)
pablogsal Jun 5, 2019
c4c15ed
bpo-35551: encodings update (GH-11446)
epicfaace Jun 5, 2019
e985804
bpo-37165: Convert _count_elements to the argument clinic (GH-13848)
rhettinger Jun 5, 2019
c4c421d
bpo-37134: Use PEP570 syntax for sum() (GH-13851)
pablogsal Jun 5, 2019
4867eaa
Add importlib.metadata to what's new. (#13855)
warsaw Jun 6, 2019
cb65202
bpo-35551: remove mac_centeuro encoding (GH-13856)
methane Jun 6, 2019
6af2303
bpo-2661: Make mapping tests better usable for custom mapping classes…
doerwalter Jun 6, 2019
013a18a
bpo-36763, _testembed: enable assert() in release mode (GH-13857)
vstinner Jun 6, 2019
e0c0c7e
bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866)
zooba Jun 6, 2019
f6713e8
bpo-36520: Email header folded incorrectly (#13608)
websurfer5 Jun 6, 2019
dc24765
bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (…
ZackerySpytz Jun 6, 2019
de76c07
bpo-37134: Add PEP570 notation to the signature of byte{array}.transl…
pablogsal Jun 6, 2019
554450f
bpo-37177: make IDLE's search dialogs transient (GH-13869)
taleinat Jun 7, 2019
0690c79
bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (#13881)
eric-wieser Jun 7, 2019
7f8a38a
IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876)
csabella Jun 7, 2019
307d4cb
Use assertEqual(). (#13883)
skrah Jun 7, 2019
3f345c3
bpo-37151: simplify classmethoddescr_call (GH-13340)
jdemeyer Jun 7, 2019
3bf0f3a
bpo-37169: Rewrite _PyObject_IsFreed() unit tests (GH-13888)
vstinner Jun 7, 2019
740a84d
bpo-37191: Move TestPEP590 from test_capi to test_call (GH-13892)
vstinner Jun 7, 2019
e7e5039
bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)
paulmon Jun 7, 2019
1f95317
bpo-37138: fix undefined behaviour with memcpy() on NULL array (GH-13…
jdemeyer Jun 7, 2019
03d5831
bpo-37150: Throw ValueError if FileType class object was passed in ad…
0x29a Jun 7, 2019
65e5860
cross port importlib-metadata PR #76 (#13903)
asottile Jun 7, 2019
d407d2a
bpo-37173: Show passed class in inspect.getfile error (GH-13861)
flying-sheep Jun 8, 2019
a15a7bc
bpo-29505: Fix interpreter in fuzzing targets to be relocatable (GH-1…
ammaraskar Jun 8, 2019
8cc605a
bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727)
Jun 8, 2019
e119b3d
bpo-37178: Allow a one argument form of math.perm() (GH-13905)
rhettinger Jun 8, 2019
45a1494
bpo-11122: fix hardcoded path checking for rpmbuild in bdist_rpm.py (…
n0npax Jun 8, 2019
b9438ce
Add some placeholder notes for major 3.8 features (GH-13927)
ncoghlan Jun 9, 2019
c879ff2
bpo-36785: PEP 574 What's New entry (#13931)
pitrou Jun 9, 2019
e042a45
Do not use explicit inheritance from object in the documentation. (GH…
serhiy-storchaka Jun 10, 2019
8a8b59c
bpo-37215: Fix dtrace issue introduce by bpo-36842 (GH-13940)
tiran Jun 10, 2019
4f6f7c5
bpo-18748: Fix _pyio.IOBase destructor (closed case) (GH-13952)
vstinner Jun 11, 2019
b589cef
bpo-37223: test_io: silence destructor errors (GH-13954)
vstinner Jun 11, 2019
408a2ef
closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup p…
aaronpaulhurst Jun 11, 2019
1f11cf9
bpo-37219: Remove erroneous optimization for differencing an empty se…
rhettinger Jun 11, 2019
65aa64f
bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-1…
asvetlov Jun 11, 2019
910b3fc
closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13…
benjaminp Jun 11, 2019
44867bb
Fix test_posix if RWF_HIPRI is defined but not preadv2. (GH-13980)
benjaminp Jun 11, 2019
9b33ce4
bpo-35766: What's new in the ast and typing modules (#13984)
gvanrossum Jun 11, 2019
04856c2
bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-1…
paulmon Jun 11, 2019
10b55c1
bpo-35766: Change format for feature_version to (major, minor) (GH-13…
gvanrossum Jun 12, 2019
efdf6ca
bpo-35766: compile(): rename feature_version parameter (GH-13994)
vstinner Jun 12, 2019
eb976e4
bpo-36918: Fix "Exception ignored in" in test_urllib (GH-13996)
vstinner Jun 12, 2019
376ce98
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997)
vstinner Jun 12, 2019
405f648
bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985)
laike9m Jun 12, 2019
a6e190e
bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-13…
ammaraskar Jun 12, 2019
32dda26
bpo-35545: Skip `test_asyncio.test_create_connection_ipv6_scope` on A…
aixtools Jun 12, 2019
5287022
bpo-37160: Thread native ID NetBSD support (GH-13835)
Jun 12, 2019
daf6262
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
paulmon Jun 12, 2019
ff6bb0a
bpo-37236: pragma optimize off for _Py_c_quot on Windows arm64 (GH-13…
paulmon Jun 12, 2019
0d19427
Make asyncio stream sendfile fail on error (was hang) (GH-14025)
asvetlov Jun 12, 2019
913fa1c
bpo-37223, test_io: silence last 'Exception ignored in:' (GH-14029)
vstinner Jun 12, 2019
95f61c8
bpo-37069: regrtest uses sys.unraisablehook (GH-13759)
vstinner Jun 12, 2019
b4c7def
bpo-36779: time.tzname returns empty string on Windows if default cod…
paulmon Jun 12, 2019
468e5fe
bpo-36402: Fix threading._shutdown() race condition (GH-13948)
vstinner Jun 12, 2019
2c9b498
bpo-37253: Document PyCompilerFlags.cf_feature_version (GH-14019)
vstinner Jun 13, 2019
37d66d7
bpo-37253: Add _PyCompilerFlags_INIT macro (GH-14018)
vstinner Jun 13, 2019
a04ea4f
bpo-37253: Fix typo in PyCompilerFlags doc (GH-14036)
vstinner Jun 13, 2019
3a2883c
Add 3.9 whatsnew file (GH-14040)
ned-deily Jun 13, 2019
d1c85a2
bpo-37257: obmalloc: stop simple arena thrashing (#14039)
tim-one Jun 13, 2019
905e19a
bpo-37216: update version to 3.9 in mac using document (GH-13966)
MakDon Jun 13, 2019
8725c83
bpo-35070: test_getgrouplist may fail on macOS if too many groups (GH…
websurfer5 Jun 13, 2019
022ac0a
bpo-37253: Remove PyAST_obj2mod_ex() function (GH-14020)
vstinner Jun 13, 2019
b4b814b
bpo-37231: optimize calls of special methods (GH-13973)
jdemeyer Jun 13, 2019
6f75c87
tbpo-36402: Fix threading.Thread._stop() (GH-14047)
vstinner Jun 13, 2019
63ab4ba
bpo-37210: Fix pure Python pickle when _pickle is unavailable (GH-14016)
vstinner Jun 13, 2019
6d22cc8
bpo-37261: Fix support.catch_unraisable_exception() (GH-14052)
vstinner Jun 13, 2019
9549203
bpo-6689: os.path.commonpath raises ValueError for different drives i…
MakDon Jun 13, 2019
3498c64
bpo-37213: Handle negative line deltas correctly in the peephole opti…
pablogsal Jun 13, 2019
838f264
bpo-36710: Pass explicitly tstate in sysmodule.c (GH-14060)
vstinner Jun 13, 2019
d0eeb93
bpo-37077: Add native thread ID (TID) for AIX (GH-13624)
aixtools Jun 13, 2019
05f8318
bpo-37269: Correctly optimise conditionals with constant booleans (GH…
pablogsal Jun 14, 2019
b2f9473
bpo-37249: add declaration of _PyObject_GetMethod (GH-14015)
jdemeyer Jun 14, 2019
0755945
bpo-37278: Fix test_asyncio ProactorLoopCtrlC (GH-14074)
vstinner Jun 14, 2019
431478d
Update concurrent.futures.rst (GH-14061)
geryogam Jun 14, 2019
f0749da
bpo-35998: Avoid TimeoutError in test_asyncio: test_start_tls_server_…
asvetlov Jun 14, 2019
21a92f8
Implement Windows release builds in Azure Pipelines (GH-14065)
zooba Jun 14, 2019
9765efc
bpo-19865: ctypes.create_unicode_buffer() supports non-BMP strings on…
ZackerySpytz Jun 14, 2019
212646c
bpo-37261: Document sys.unraisablehook corner cases (GH-14059)
vstinner Jun 14, 2019
066e5b1
bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049)
vstinner Jun 14, 2019
5884043
bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721)
vstinner Jun 14, 2019
bd5798f
Document C API changes in What's New in Python 3.8 (GH-14092)
vstinner Jun 14, 2019
749e730
Fix Windows release build issues (GH-14091)
zooba Jun 14, 2019
7efc526
bpo-36707: Document "m" removal from sys.abiflags (GH-14090)
vstinner Jun 15, 2019
ef21523
bpo-37279: Fix asyncio sendfile support when extra data are sent in …
asvetlov Jun 15, 2019
0237265
Use threadpool for reading from file in sendfile fallback mode (#14076)
asvetlov Jun 15, 2019
f475729
Update weakref.rst (GH-14098)
geryogam Jun 15, 2019
552ace7
Fix typo in Lib/concurrent/futures/thread.py (GH-13953)
ubordignon Jun 15, 2019
7d23dbe
Doc: Bump Sphinx verison. (#13785)
JulienPalard Jun 15, 2019
6ef4d32
Update link in colorsys docs to be https (GH-14062)
alex Jun 15, 2019
cfa0394
Doc: Deprecation header: More precise wording. (GH-14109)
JulienPalard Jun 15, 2019
7a68f8c
bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-1…
pablogsal Jun 15, 2019
3a1d50e
bpo-28009: Fix uuid SkipUnless logic to be based on platform programs…
aixtools Jun 15, 2019
8047e0e
bpo-35922: Fix RobotFileParser when robots.txt has no relevant crawl …
Jun 16, 2019
5529515
Doc: Remove an ugly space before a dot. (GH-14123)
JulienPalard Jun 16, 2019
45e0411
Simplify negativity checks in math.comb and math.perm. (GH-13870)
mdickinson Jun 16, 2019
2dfeaa9
Turn math.isqrt assertion into a comment to clarify its purpose. (GH-…
mdickinson Jun 16, 2019
5600b5e
bpo-28805: document METH_FASTCALL (GH-14079)
jdemeyer Jun 16, 2019
c83356c
closes bpo-37300: Remove unnecessary Py_XINCREF in classobject.c. (GH…
shihai1991 Jun 16, 2019
66d47da
bpo-37220: Fix 2.7 test -R crash on Windows. (GH-13957)
terryjreedy Jun 16, 2019
cbca1ae
Issue 29847 fix with tests.
jsaporta May 18, 2019
1e4b116
📜🤖 Added by blurb_it.
blurb-it[bot] Jun 17, 2019
de3b1a4
Update 2019-06-17-01-37-25.bpo-29847.4VTssR.rst
jsaporta Jun 17, 2019
3869823
Added test for user-defined subclasses of Path; modified pathlib to m…
jsaporta Jun 17, 2019
5dbb0b3
Merge branch 'fix-issue-29847' of github.com:jsaporta/cpython into fi…
jsaporta Jun 17, 2019
f1cd0a7
Changed name of Path kwargs test.
jsaporta Jun 17, 2019
8ca70b6
User subclass test now passing.
jsaporta Jun 17, 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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
variables:
testRunTitle: '$(build.sourceBranchName)-linux'
testRunPlatform: linux
openssl_version: 1.1.1b
openssl_version: 1.1.1c

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.1b
openssl_version: 1.1.1c

steps:
- template: ./posix-steps.yml
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
4 changes: 2 additions & 2 deletions .azure-pipelines/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
testRunPlatform: linux
openssl_version: 1.1.0j
openssl_version: 1.1.1c

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.1c

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

# QUEUE TIME VARIABLES
# 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

trigger: none
pr: none

stages:
- stage: Build
displayName: Build binaries
jobs:
- template: windows-release/stage-build.yml

- stage: Sign
displayName: Sign binaries
dependsOn: Build
jobs:
- template: windows-release/stage-sign.yml

- stage: Layout
displayName: Generate layouts
dependsOn: Sign
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
jobs:
- template: windows-release/stage-pack-nuget.yml

- stage: Test
dependsOn: Pack
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(), eq(variables['DoMSIX'], 'true'))
jobs:
- template: windows-release/stage-layout-msix.yml

- stage: Pack_MSIX
displayName: Package MSIX
dependsOn: Layout_MSIX
jobs:
- template: windows-release/stage-pack-msix.yml

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

- stage: Test_MSI
displayName: Test MSI installer
dependsOn: Build_MSI
jobs:
- template: windows-release/stage-test-msi.yml

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

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

- stage: PublishStore
displayName: Publish to Store
dependsOn: Pack_MSIX
condition: and(succeeded(), eq(variables['DoPublish'], 'true'))
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: PublishBuildArtifacts@1
displayName: 'Publish binaries'
condition: and(succeeded(), not(and(eq(variables['Configuration'], 'Release'), variables['SigningCertificate'])))
inputs:
PathtoPublish: '$(Build.BinariesDirectory)\bin\$(Arch)'
ArtifactName: bin_$(Name)

- task: PublishBuildArtifacts@1
displayName: 'Publish binaries for signing'
condition: and(succeeded(), and(eq(variables['Configuration'], 'Release'), variables['SigningCertificate']))
inputs:
PathtoPublish: '$(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'
20 changes: 20 additions & 0 deletions .azure-pipelines/windows-release/layout-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
steps:
- powershell: >
Write-Host (
'##vso[task.setvariable variable=LayoutCmd]&
"{0}"
"{1}\PC\layout"
-vv
--source "{1}"
--build "{2}"
--temp "{3}"
--include-cat "{2}\python.cat"
--doc-build "{4}"'
-f (
"$(PYTHON)",
"$(Build.SourcesDirectory)",
(Split-Path -Parent "$(PYTHON)"),
"$(Build.BinariesDirectory)\layout-temp",
"$(Build.BinariesDirectory)\doc"
))
displayName: 'Set LayoutCmd'
13 changes: 13 additions & 0 deletions .azure-pipelines/windows-release/mingw-lib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
parameters:
DllToolOpt: -m i386:x86-64
#DllToolOpt: -m i386 --as-flags=--32

steps:
- powershell: |
git clone https://github.com/python/cpython-bin-deps --branch binutils --single-branch --depth 1 --progress -v "binutils"
gci "bin\$(Arch)\python*.dll" | %{
& "binutils\gendef.exe" $_ | Out-File -Encoding ascii tmp.def
& "binutils\dlltool.exe" --dllname $($_.BaseName).dll --def tmp.def --output-lib "$($_.Directory)\lib$($_.BaseName).a" ${{ parameters.DllToolOpt }}
}
displayName: 'Generate MinGW import library'
workingDirectory: $(Build.BinariesDirectory)
Loading