Skip to content

bpo-35381 Make all posixmodule types heap-allocated #10854

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
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1733 commits
Select commit Hold shift + click to select a range
b607d99
bpo-37459: importlib docs improperly reference get_resource_loader() …
aldwinaldwin Jul 4, 2019
9d40554
bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572)
vstinner Jul 4, 2019
196a530
bpo-37483: add _PyObject_CallOneArg() function (#14558)
jdemeyer Jul 4, 2019
7f41c8e
bpo-37493: use _PyObject_CallNoArg in more places (GH-14575)
jdemeyer Jul 4, 2019
b4e6896
bpo-37266: Add bpo number to the What's New entry (GH614584)
vstinner Jul 4, 2019
2f19e82
bpo-37479: on Enum subclasses with mixins, __format__ uses overridden…
thatneat Jul 4, 2019
a55f75a
Use OSError subclasses in os documentation (GH-14262)
timhoffm Jul 5, 2019
1da4462
bpo-37481: Deprecate distutils bdist_wininst command (GH-14553)
vstinner Jul 5, 2019
6e43d07
bpo-37483: fix reference leak in _PyCodec_Lookup (GH-14600)
jdemeyer Jul 5, 2019
0d722f3
bpo-36974: separate vectorcall functions for each calling convention …
jdemeyer Jul 5, 2019
8fbeb14
bpo-37421: multiprocessing tests now stop ForkServer (GH-14601)
vstinner Jul 5, 2019
7b57c03
bpo-37151: remove _PyMethodDef_RawFastCall* functions (GH-14603)
jdemeyer Jul 5, 2019
bad02cc
Move test_threaded_import.py to test_importlib/ (GH-14582)
aeros Jul 5, 2019
10e5c66
Typo fix in file Include/object.h (GH-14556)
hansrajdas Jul 5, 2019
f7d72e4
Fix some typos (GH-14435)
minho42 Jul 5, 2019
39a5d17
closes bpo-37508: Fix name of type in memory.rst. (GH-14604)
shihai1991 Jul 6, 2019
45bc61b
bpo-37149: Replace dead link for online Tkinter reference (GH-14616)
terryjreedy Jul 6, 2019
fcf1d00
bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)
taleinat Jul 6, 2019
f8709e8
bpo-37487: Fix PyList_GetItem index description. (GH-14623)
terryjreedy Jul 6, 2019
6f2a8c0
bpo-37456: Slash ('/') is now part of syntax. (GH-14627)
terryjreedy Jul 6, 2019
0717b4d
bpo-37478: Specify possible exceptions for os.chdir() (GH-14611)
aeros Jul 7, 2019
a9b40e4
bpo-37478: Add missing 'and'. (GH-14631)
terryjreedy Jul 7, 2019
f6cdd3f
bpo-37513: Change ValueError to TypeError in an example in ctypes doc…
shihai1991 Jul 7, 2019
38f44b4
bpo-37520: Correct behavior for zipfile.Path.parent (GH-14638)
jaraco Jul 7, 2019
762f93f
bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)
jdemeyer Jul 8, 2019
e676244
bpo-37421: test_concurrent_futures stops ForkServer (GH-14643)
vstinner Jul 8, 2019
2da622f
Doc: Fix: Proper UpperCamelCase and lowercase. (GH-14644)
JulienPalard Jul 8, 2019
66b4150
Doc: Fix example title. (GH-14639)
JulienPalard Jul 8, 2019
110a47c
bpo-18374: fix wrong col_offset of some ast.BinOp instances (GH-14607)
cfbolz Jul 8, 2019
cf9c41c
bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWarning (G…
vstinner Jul 9, 2019
91b4f7a
bpo-37526: Add support.catch_threading_exception() (GH-14664)
vstinner Jul 9, 2019
76611c7
bpo-37120: Fix _ssl get_num_tickets() (GH-14668)
vstinner Jul 9, 2019
61b1bc5
Revert "bpo-37322: Fix test_ssl.test_pha_required_nocert() ResourceWa…
vstinner Jul 9, 2019
430a9f4
bpo-18374: fix tests to check the correct thing about line numbers (G…
cfbolz Jul 9, 2019
73ea546
bpo-37322: ssl test_pha_required_nocert() ignores expected SSLError (…
vstinner Jul 9, 2019
3a3db97
bpo-27679: Remove set_bitfields() from _ctypes_test (GH-14648)
shihai1991 Jul 9, 2019
6aeb2fe
bpo-26806: IDLE should run without docstrings (#14657)
terryjreedy Jul 9, 2019
4749dbe
Really remove vcstdint.h. (#14686)
skrah Jul 10, 2019
f117d87
Rename memory.c to mpalloc.c for consistency with the header file. (#…
skrah Jul 10, 2019
5d25f2b
bpo-37537: Compute allocated blocks in _Py_GetAllocatedBlocks() (#14680)
nascheme Jul 10, 2019
b64c2c6
Fix compiler warning in new code. (#14690)
tim-one Jul 10, 2019
2a3d4d9
Document default parameter of .seek() in the signature. (GH-14691)
benjaminp Jul 11, 2019
59ad110
bpo-37547: add _PyObject_CallMethodOneArg (GH-14685)
jdemeyer Jul 11, 2019
79042ac
bpo-34369: make kqueue.control() docs better reflect that timeout is …
taleinat Jul 11, 2019
9b5ce62
bpo-36390: simplify classifyws(), rename it and add unit tests (GH-14…
taleinat Jul 11, 2019
1dbd084
bpo-29548: no longer use PyEval_Call* functions (GH-14683)
jdemeyer Jul 11, 2019
7cbef72
closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)
Mariatta Jul 11, 2019
4737265
bpo-37558: Shared memory tests are failing due to double slashes (GH-…
kulikjak Jul 11, 2019
13ab570
Remove redundant check from arraymodule b_getitem (GH-14676)
disconnect3d Jul 11, 2019
c8e7146
closes bpo-37566: Remove _realsocket from socket.py. (GH-14711)
shihai1991 Jul 12, 2019
a65c977
bpo-19696: Move threaded_import_hangers (GH-14655)
aeros Jul 12, 2019
0827064
bpo-37521: No longer treat insertion into sys.modules as optional in …
brettcannon Jul 12, 2019
b9a0376
closes bpo-37347: Fix refcount problem in sqlite3. (GH-14268)
gescheit Jul 13, 2019
fb6c1f8
Fix typo in re.escape documentation (GH-14722)
rdipietro Jul 13, 2019
994a3b8
Enable publish of Windows releases through Azure Pipelines (GH-14720)
zooba Jul 13, 2019
b5bbb8a
bpo-37580: Fix typo in http.cookiejar documentation (GH-14731)
zvyn Jul 13, 2019
05f2d84
bpo-28269: Replace strcasecmp with system function _stricmp. (GH-13095)
gongminmin Jul 13, 2019
e6b46aa
bpo-37579: Improve equality behavior for pure Python datetime and tim…
tirkarthi Jul 13, 2019
dc3f99f
bpo-37548: Document range of atan, acos and asin (GH-14717)
potomak Jul 13, 2019
ed184c0
bpo-37358: Use vectorcall for functools.partial (GH-14284)
jdemeyer Jul 13, 2019
e441847
bpo-30088: Document that existing dir structure isn't verified by mai…
webknjaz Jul 13, 2019
0148470
Fix inconsequential typo in math.remainder algorithm comments. (#14746)
mdickinson Jul 13, 2019
dffca9e
bpo-26967: fix flag grouping with allow_abbrev=False (GH-14316)
Zac-HD Jul 14, 2019
8efade9
bpo-36261: Improve example of the preamble field in email docs (GH-14…
carlbordum Jul 14, 2019
6b92958
bpo-37571: Add 'b' to prevent the TypeError exception. (GH-14721)
mangrisano Jul 14, 2019
68c74d0
bpo-37571: Remove extra space in ctypes docs (GH14764)
zooba Jul 14, 2019
40d2226
Remove redundant docs of PyEval_EvalFrameEx (GH-14765)
shihai1991 Jul 14, 2019
52c8c09
bpo-37553: SendfileUsingSendTest tests timeout too short for Windows …
paulmon Jul 14, 2019
0d4f435
Clarify that plistlib's load and dump functions take a binary file ob…
cstyles Jul 14, 2019
1c5e68e
bpo-34749: Improved performance of binascii.a2b_base64(). (GH-9444)
sir-sigurd Jul 14, 2019
8b7db5a
bpo-37473: Don't import importlib ASAP in tests (GH-14661)
vstinner Jul 14, 2019
cd6e83b
bpo-37593: Swap the positions of posonlyargs and args in the construc…
pablogsal Jul 14, 2019
18c5f9d
bpo-37500: Make sure dead code does not generate bytecode but also de…
pablogsal Jul 15, 2019
52693c1
bpo-37284: Add note to sys.implementation doc (GH-14328)
potomak Jul 15, 2019
e869281
bpo-37468: make install no longer install wininst-*.exe files (GH-14511)
vstinner Jul 15, 2019
6a61714
Replace backquote with command substitution in subprocess doc example…
drj11 Jul 16, 2019
a0f7119
bpo-37352: Minor word-smithing for design.rst (GH #14730)
ikamensh Jul 16, 2019
1d8b04e
bpo-37599: Remove a vague statement in documentation of Integer Objec…
sgalal Jul 16, 2019
f69d5c6
Fix infinite loop in email folding logic (GH-12732)
pganssle Jul 16, 2019
f8d4cc7
bpo-27452: IDLE: Cleanup config.py code (GH-14577)
csabella Jul 16, 2019
bd26a44
Docs: Correct formatting of a multiline code block (GH-13806)
madphysicist Jul 17, 2019
7036e1d
bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)
taleinat Jul 17, 2019
fb26504
bpo-37543: optimize pymalloc (#14674)
methane Jul 17, 2019
82494aa
bpo-36390: IDLE: Combine region formatting methods. (GH-12481)
csabella Jul 17, 2019
a4a994b
bpo-37461: Fix infinite loop in parsing of specially crafted email he…
maxking Jul 17, 2019
719a062
Fix IndexError when parsing unexpectedly ending quoted-string. (GH-14…
maxking Jul 17, 2019
8cb65d1
bpo-34155: Dont parse domains containing @ (GH-13079)
jpic Jul 17, 2019
1b38922
bpo-36390: Gather IDLE Format menu functions into format.py (#14827)
terryjreedy Jul 18, 2019
9cd39b1
bpo-37552: Skip failing tests in strptime/strftime with UCRT version …
paulmon Jul 18, 2019
af2f5b1
Adjust builtins.zip() docstring to better communicate its signature (…
sir-sigurd Jul 18, 2019
323842c
bpo-34443: Use __qualname__ instead of __name__ in enum exception mes…
doerwalter Jul 18, 2019
e0a1f8f
bpo-33610: IDLE's code-context always shows current context immediate…
taleinat Jul 18, 2019
8f040b7
bpo-37610: improve Using Python doc wrt Editors & IDE (GH-14850)
aldwinaldwin Jul 19, 2019
d395209
bpo-37547: Fix a compiler warning in winconsoleio.c (GH-14785)
ZackerySpytz Jul 19, 2019
8dbe563
bpo-37624: Document weight assumptions for random.choices() (GH-14855)
rhettinger Jul 19, 2019
eed5e9a
bpo-36546: Clean-up comments (GH-14857)
rhettinger Jul 19, 2019
5623ac8
bpo-37476: Adding tests for asutf8 and asutf8andsize (GH-14531)
shihai1991 Jul 20, 2019
02c91f5
bpo-36324: Make internal attributes for statistics.NormalDist() priva…
rhettinger Jul 21, 2019
35b87e6
bpo-37627: Initialize IDLE Custom Run dialog with previous entries (#…
nsiregar Jul 21, 2019
22f0483
Bpo-37644: update suspicious.csv for distutils/examples (GH-14885)
ned-deily Jul 21, 2019
1c0e9bb
Minor whitespace, indentation, and quoting changes to improve interna…
rhettinger Jul 21, 2019
8e3a738
Fix typo found by Min ho Kim (#14879)
terryjreedy Jul 21, 2019
96e12d5
Fix typos in docs, comments and test assert messages (#14872)
minho42 Jul 21, 2019
4214f1e
bpo-37627: Add acknowledgment (#14883)
terryjreedy Jul 21, 2019
b530a44
Add examples to elucidate the formulas (GH-14898)
rhettinger Jul 21, 2019
7397cda
bpo-21478: Record calls to parent when autospecced objects are used a…
tirkarthi Jul 22, 2019
d309352
Update logging cookbook to show multiple worker processes using the c…
vsajip Jul 22, 2019
4e16a4a
bpo-36044: Reduce number of unit tests run for PGO build (GH-14702)
nascheme Jul 22, 2019
1ebee37
bpo-33610: validate non-negative integer inputs in IDLE's config (GH-…
taleinat Jul 23, 2019
7123ea0
bpo-17535: IDLE editor line numbers (GH-14030)
taleinat Jul 23, 2019
387c3c5
bpo-37653: Fix libinstall target in Makefile (GH-14911)
Jul 23, 2019
c6fd6c8
bpo-29446: IDLE -- add explicit imports (GH-14919)
terryjreedy Jul 23, 2019
2f224a0
Touch up venv docs (GH-14922)
brettcannon Jul 23, 2019
f0807ab
Only setup PGO tests when --pgo is enabled. (GH-14927)
gpshead Jul 24, 2019
e95ac20
bpo-37667: Add regression test for regrtest. (GH-14929)
gpshead Jul 24, 2019
151b91d
bpo-29548: deprecate PyEval_Call* functions (GH-14804)
jdemeyer Jul 24, 2019
c6cb4cd
bpo-37399: Correctly attach tail text to the last element/comment/pi …
scoder Jul 24, 2019
a3697db
bpo-34160: explain how to deal with attribute order in ElementTree (G…
scoder Jul 24, 2019
5380def
bpo-37664: Update bundled pip to 19.2.1 and setuptools to 41.0.1 (GH-…
pradyunsg Jul 24, 2019
e018dc5
Remove duplicate call to strip method in Parser/pgen/token.py (GH-14938)
hansrajdas Jul 24, 2019
123536f
bpo-37672: Switch Windows Store package to use pip.ini for user mode …
zooba Jul 24, 2019
93e8aa6
closes bpo-37675: Use pkgutil.iter_modules to find fixers in a packag…
benjaminp Jul 24, 2019
898318b
bpo-37502: handle default parameter for buffers argument of pickle.lo…
mmohrhard Jul 25, 2019
544fa15
Swap 'if' branches so content matches to condition in importlib examp…
uranusjr Jul 25, 2019
c4cda43
bpo-37641 preserve relative file location in embeddable zip (GH-14884)
mrginglymus Jul 25, 2019
76b6451
bpo-29446: tkinter 'import *' only imports what it should (GH-14864)
Jul 26, 2019
3e54b57
bpo-37340: remove free_list for bound method objects (GH-14232)
methane Jul 26, 2019
b1eb20e
bpo-37664: Update regex for ignoring cache warning on some buildbots …
zooba Jul 26, 2019
9d9893a
bpo-35524: Update Windows installer image in docs (GH-14966)
zooba Jul 26, 2019
91e4957
bpo-32910: Remove implementation detail in venv documentation. (GH-14…
d3r3kk Jul 26, 2019
46ebd4a
bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14…
taleinat Jul 27, 2019
1ed915e
Add Qt GUI example to the logging cookbook. (GH-14978)
vsajip Jul 27, 2019
3221a63
bpo-37628: Fix IDLE config sample sizes (#14958)
taleinat Jul 27, 2019
6b5f1b4
bpo-37691: Let math.dist() accept sequences and iterables for coordin…
rhettinger Jul 27, 2019
17a058e
Remove trailing .0 from version changed note (GH-14987)
ncoghlan Jul 28, 2019
b222955
bpo-37692: Improve highlight config sample (#14983)
terryjreedy Jul 28, 2019
049460d
bpo-37697: Sync with importlib_metadata 0.19 (#14993)
jaraco Jul 28, 2019
e1b9002
bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and …
zooba Jul 29, 2019
5b94f35
Fix `SyntaxError` indicator printing too many spaces for multi-line s…
asottile Jul 29, 2019
44212ec
Add additional test for multi-line SyntaxError (GH-15003)
asottile Jul 29, 2019
fe330fc
Fix publishing of Windows release (GH-15006)
zooba Jul 29, 2019
e8874b8
bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (#15010)
terryjreedy Jul 29, 2019
f35c51d
bpo-34162: Update idlelib/news.txt. (#15011)
terryjreedy Jul 29, 2019
9211e2f
bpo-37268: Add deprecation notice and a DeprecationWarning for the pa…
pablogsal Jul 30, 2019
8a758f5
bpo-37587: Make json.loads faster for long strings (GH-14752)
mpaolini Jul 30, 2019
27eeaf0
bpo-37704: Remove Tools/scripts/h2py.py (GH-15000)
vstinner Jul 30, 2019
52a48e6
bpo-37707: Exclude expensive unit tests from PGO task (GH-15009)
nascheme Jul 30, 2019
eca7ffc
Don't skip pickle check_frame_opcodes() (GH-15025)
nascheme Jul 30, 2019
84846b0
bpo-36084: Add threading Native ID information to What's New document…
jaketesler Jul 30, 2019
0acb646
Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)
terryjreedy Jul 30, 2019
c4cacc8
Fix typos in comments, docs and test names (#15018)
minho42 Jul 30, 2019
fff5cb2
bpo-34162: Add missing items to idlelib/NEWS.txt. (GH-15034)
terryjreedy Jul 31, 2019
a72ca90
bpo-33822: Add IDLE section of What's New 3.8 (#15035)
terryjreedy Jul 31, 2019
5982b72
bpo-33821: Update IDLE section of What's New 3.7 (#15036)
terryjreedy Jul 31, 2019
d04f890
IDLE: changelog correction and addition (GH-15042)
terryjreedy Jul 31, 2019
472eced
Refined Qt GUI example in the logging cookbook. (GH-15045)
vsajip Jul 31, 2019
31c4fd2
bpo-37085: Expose SocketCAN bcm_msg_head flags (#13646)
karlding Jul 31, 2019
c9345e3
bpo-37695: Correct unget_wch error message. (GH-14986)
asottile Jul 31, 2019
1b29af8
bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994)
shihai1991 Jul 31, 2019
9f55551
bpo-37723: Fix performance regression on regular expression parsing. …
yannvgn Jul 31, 2019
ed5e8e0
bpo-37730: Fix usage of NotImplemented instead of NotImplementedError…
Jul 31, 2019
1a057ba
bpo-18049: Sync thread stack size to main thread size on macOS (GH-14…
ronaldoussoren Aug 1, 2019
0d30ae1
bpo-36302: Sort list of sources (GH-12341)
bmwiedemann Aug 1, 2019
2491134
bpo-37726: Prefer argparse over getopt in stdlib tutorial (#15052)
mental32 Aug 1, 2019
4b3e975
bpo-16970: Adding error message for invalid args (GH-14844)
tmblweed Aug 2, 2019
bf8162c
bpo-37729: gc: write stats at once (GH-15050)
methane Aug 2, 2019
854d0a4
bpo-36487: Make C-API docs clear about what the main interpreter is.…
nanjekyejoannah Aug 2, 2019
cb65b3a
bpo-37742: Return the root logger when logging.getLogger('root') is c…
vsajip Aug 2, 2019
8fbece1
bpo-36590: Add Bluetooth RFCOMM and support for Windows. (GH-12767)
topnotcher Aug 2, 2019
7ea9a85
bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847)
tdhopper Aug 2, 2019
8e568ef
bpo-30974: Change os.path.samefile docstring to match docs (GH-7337)
timofurrer Aug 2, 2019
c5fa449
bpo-37444: Update differing exception between builtins and importlib …
nsiregar Aug 3, 2019
9670ce7
bpo-18049: Define THREAD_STACK_SIZE for AIX to pass default recursion…
aixtools Aug 3, 2019
5c72bad
Correct description of HTTP status code 308. (GH-15078)
FlorianWendelborn Aug 3, 2019
17e5264
bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timez…
serhiy-storchaka Aug 4, 2019
18b711c
bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904)
serhiy-storchaka Aug 4, 2019
86f1a18
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)
taleinat Aug 4, 2019
8183bb8
bpo-36324: Update comments to include the target hash sums (GH-15110)
rhettinger Aug 4, 2019
b1c8ec0
bpo-28292: Mark calendar.py helper functions as private. (GH-15113)
rhettinger Aug 4, 2019
adf02b3
Update itertools docs (GH-15114)
rhettinger Aug 4, 2019
1407029
bpo-37748: Re-order the Run menu. (GH-15115)
terryjreedy Aug 4, 2019
d748a80
Adds Tim Hopper and Dan Lidral-Porter to ACKS (GH-15101)
tdhopper Aug 4, 2019
1213123
bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)
terryjreedy Aug 4, 2019
4f9ffc9
bpo-37759: First round of major edits to Whatsnew 3.8 (GH-15127)
rhettinger Aug 5, 2019
cfebfef
Improve signal documentation (GH-14274)
geryogam Aug 6, 2019
3a5c433
Make importlib.metadata a simple module (#15153)
warsaw Aug 6, 2019
3e41f3c
bpo-34488: optimize BytesIO.writelines() (GH-8904)
sir-sigurd Aug 7, 2019
610a482
bpo-37646: Document that eval() cannot access nested scopes (GH-15117)
rhettinger Aug 7, 2019
e9cbcd0
bpo-37004: Documented asymmetry of string arguments in difflib.Sequen…
sweeneyde Aug 7, 2019
362f535
Update pickle.rst (GH-14128)
geryogam Aug 7, 2019
1fab9cb
bpo-37734: Fix use of registry values to launch Python from Microsoft…
zooba Aug 7, 2019
87ce958
bpo-37778: Fixes the icons used for file associations to the Microsof…
zooba Aug 7, 2019
0378d98
bpo-37734: Remove unnecessary brace escapes in PC/layout script (GH-1…
zooba Aug 7, 2019
4c69be2
bpo-34775: Return NotImplemented in PurePath division. (GH-9509)
aiudirog Aug 8, 2019
662db12
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. …
serhiy-storchaka Aug 8, 2019
7d44e7a
bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-1…
serhiy-storchaka Aug 8, 2019
e43e7ed
bpo-35892: Add usage note to mode() (GH-15122)
rhettinger Aug 8, 2019
2a570af
bpo-37587: optimize json.loads (GH-15134)
methane Aug 8, 2019
f4e725f
bpo-25172: Raise appropriate ImportError msg when crypt module used o…
shireenrao Aug 8, 2019
10a0a09
bpo-37268: test_parser fails when run with -Werror (GH-15183)
ZackerySpytz Aug 8, 2019
aa542c2
bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184)
pablogsal Aug 8, 2019
ed70a34
bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181)
paulmon Aug 8, 2019
92c7e30
bpo-37642: Update acceptable offsets in timezone (GH-14878)
nsiregar Aug 9, 2019
b4be87a
bpo-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195)
gpshead Aug 10, 2019
51aac15
Delete leftover clinic-generated file for C zipimport. (GH-15174)
gnprice Aug 10, 2019
09a1872
bpo-32178: Fix IndexError trying to parse 'To' header starting with '…
maxking Aug 11, 2019
f03b4c8
bpo-37819: Add Fraction.as_integer_ratio() (GH-15212)
rhettinger Aug 11, 2019
f9590ed
Fix docs for assert_called and assert_called_once (#15197)
ismail-s Aug 12, 2019
44046fe
bpo-37804: Remove the deprecated method threading.Thread.isAlive() (G…
corona10 Aug 12, 2019
732775d
bpo-37354: Make Powershell Activate.ps1 script static to allow for si…
d3r3kk Aug 12, 2019
3e34a25
bpo-37354: Sign Activate.ps1 for release (GH-15235)
zooba Aug 12, 2019
c1aeb29
Remove versioned executables from non-APPX packages (GH-15237)
zooba Aug 12, 2019
66a34d3
bpo-37759: Second round of edits to Whatsnew 3.8 (GH-15204)
rhettinger Aug 12, 2019
ef2af1a
bpo-37760: Factor out the basic UCD parsing logic of makeunicodedata.…
gnprice Aug 13, 2019
4e3dfcc
bpo-37760: Mark all generated Unicode data headers as generated. (GH-…
gnprice Aug 13, 2019
def97c9
bpo-37758: Clean out vestigial script-bits from test_unicodedata. (GH…
gnprice Aug 13, 2019
99d208e
bpo-37760: Constant-fold some old options in makeunicodedata. (GH-15129)
gnprice Aug 13, 2019
b0dace3
bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253)
zooba Aug 13, 2019
1ac2a83
bpo-37583: Add err 113 to support.get_socket_conn_refused_errs() (GH-…
shihai1991 Aug 13, 2019
8a784af
bpo-37814: Document the empty tuple type annotation syntax (GH-15208)
keysmashes Aug 13, 2019
82642a0
bpo-37689: add Path.is_relative_to() method (GH-14982)
shihai1991 Aug 13, 2019
243a73d
bpo-25172: Add test for crypt ImportError on Windows (GH-15252)
shireenrao Aug 13, 2019
38c7199
bpo-37256: Wording in Request class docs (#14792)
nsiregar Aug 14, 2019
c03e698
bpo-37760: Factor out standard range-expanding logic in makeunicodeda…
gnprice Aug 14, 2019
43d564c
bpo-37337: Fix a GCC 9 warning in Objects/descrobject.c (GH-14814)
ZackerySpytz Aug 14, 2019
7e479c8
bpo-37681: no_sanitize_thread support from GCC 5.1 (GH-15096)
shihai1991 Aug 14, 2019
077af8c
bpo-37738: Fix curses addch(str, color_pair) (GH-15071)
vstinner Aug 14, 2019
6bccbe7
bpo-36502: Correct documentation of str.isspace() (GH-15019)
gnprice Aug 14, 2019
b0c8369
bpo-37531: Fix regrtest timeout for subprocesses (GH-15072)
vstinner Aug 14, 2019
4fa10dd
bpo-36030: Improve performance of some tuple operations (GH-12052)
sir-sigurd Aug 14, 2019
71662dc
bpo-37849: IDLE: fix completion window positioning above line (GH-15267)
taleinat Aug 14, 2019
dcfe111
bpo-37826: Document exception chaining in Python tutorial for errors.…
maxking Aug 14, 2019
2814620
bpo-37811: FreeBSD, OSX: fix poll(2) usage in sockets module (GH-15202)
akhramov Aug 14, 2019
ac827ed
bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276)
vstinner Aug 14, 2019
68e495d
bpo-37775: Update compileall doc for invalidation_mode parameter (GH-…
shihai1991 Aug 14, 2019
3e4498d
bpo-37760: Avoid cluttering work tree with downloaded Unicode files. …
gnprice Aug 15, 2019
40dad95
Replace usage of the obscure PEM_read_bio_X509_AUX with the more stan…
alex Aug 15, 2019
37806f4
bpo-37207: enable vectorcall for type.__call__ (GH-14588)
jdemeyer Aug 15, 2019
69f37bc
Indent code inside if block. (GH-15284)
hansrajdas Aug 15, 2019
f3cb68f
bpo-37863: Optimize Fraction.__hash__() (#15298)
rhettinger Aug 16, 2019
0567786
bpo-37540: vectorcall: keyword names must be strings (GH-14682)
jdemeyer Aug 16, 2019
29bb227
Add a minor `Fraction.__hash__()` optimization (GH-15313)
tim-one Aug 17, 2019
1b1d051
fix link to time function from time_ns doc (GH-15285)
merwok Aug 17, 2019
5fa6e46
Make Posixmodule use PyType_FromSpec
eduardo-elizondo Dec 3, 2018
df178b4
Added NEWS
eduardo-elizondo Dec 3, 2018
e59208f
Updated hash
eduardo-elizondo Dec 3, 2018
def6467
Addressed PR Issues
eduardo-elizondo Jan 19, 2019
bb2ead8
Ran argument clinic
eduardo-elizondo Jan 19, 2019
427c772
Added NEWS
eduardo-elizondo Jan 19, 2019
7b9b85f
Merged to master
eduardo-elizondo Sep 11, 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.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
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: 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
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
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
15 changes: 15 additions & 0 deletions .azure-pipelines/windows-release/layout-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
steps:
- powershell: >
Write-Host (
'##vso[task.setvariable variable=LayoutCmd]&
"{0}\bin\python.exe"
"{1}\PC\layout"
-vv
--source "{1}"
--build "{0}\bin"
--temp "{0}\layout-temp"
--include-cat "{0}\bin\python.cat"
--doc-build "{0}\doc"'
-f ("$(Build.BinariesDirectory)", "$(Build.SourcesDirectory)")
)
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