Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1483 commits
Select commit Hold shift + click to select a range
6857198
bpo-37630: Do not skip the sha3 tests in case of missing builtin sha3…
stratakis Apr 17, 2021
8bf274a
Small changes to the section about SyntaxErrors in the 3.10 What's Ne…
pablogsal Apr 17, 2021
0b1c169
bpo-38530: Cover more error paths in error suggestion functions (GH-2…
pablogsal Apr 17, 2021
f5c5c0c
Fix type group capture in the PEG highlight tool (GH-25464)
pablogsal Apr 17, 2021
aa6da32
bpo-43362: Fix invalid free and return check in _sha3 module (GH-25463)
tiran Apr 18, 2021
2798f24
bpo-43641: Stop stating that TLS 1.2 is the most modern version in do…
illia-v Apr 18, 2021
49fdf11
bpo-36076: Add SNI support to ssl.get_server_certificate. (GH-16820)
juhovh Apr 18, 2021
89d1550
bpo-42854: Use SSL_read/write_ex() (GH-25468)
tiran Apr 19, 2021
2875c60
bpo-43880: Show DeprecationWarnings for deprecated ssl module feature…
tiran Apr 19, 2021
d37b74f
bpo-43669: More test_ssl cleanups (GH-25470)
tiran Apr 19, 2021
64d9752
bpo-40849: Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag (GH-20463)
l0x-c0d3z Apr 19, 2021
68ba0c6
bpo-43837: Reverse order of precedence table to show tightly binding …
ammaraskar Apr 19, 2021
4f9ffa8
Add doctests (GH-25474)
rhettinger Apr 19, 2021
7a04116
bpo-25460: Surround suggestions by quotes (GH-25473)
pablogsal Apr 19, 2021
dbac8f4
bpo-38659: [Enum] add _simple_enum decorator (GH-25285)
ethanfurman Apr 20, 2021
503cdc7
Revert "bpo-38659: [Enum] add _simple_enum decorator (GH-25285)" (GH-…
ethanfurman Apr 20, 2021
2a36b09
Improve the error message for choices(population, 10) (GH-25267)
rhettinger Apr 20, 2021
389212c
Document that random.gauss is normal distribution (GH-24935)
jpaalasm Apr 20, 2021
3309113
bpo-43799: Also define SSLv3_method() (GH-25481)
tiran Apr 20, 2021
b2b6cd0
docs: clarify what patterns Path.glob accepts (GH-25486)
nedbat Apr 20, 2021
077a2e7
bpo-43888: Reduce coverage collection timeout to 1h40m in GHA (GH-25471)
webknjaz Apr 20, 2021
d35eef3
Update Sphinx directive for super from function to class (GH-25489)
geryogam Apr 20, 2021
b0544ba
bpo-38605: Revert making 'from __future__ import annotations' the def…
pablogsal Apr 21, 2021
56c95df
bpo-43859: Improve the error message for IndentationError exceptions …
pablogsal Apr 21, 2021
a02cb47
bpo-38659: [Enum] add _simple_enum decorator (GH-25497)
ethanfurman Apr 21, 2021
18e0d32
Fix typo in whatsnew/3.10.rst (GH-25498)
krnick Apr 21, 2021
81fe014
doc: Sync some missing 3.10 changes with the What's New (GH-25503)
isidentical Apr 21, 2021
d4aaa34
bpo-40137: _PyType_GetModuleByDef() doesn't check tp_flags (GH-25504)
vstinner Apr 21, 2021
760da62
bpo-40137: Optimize _PyType_GetModuleByDef() loop (GH-25505)
vstinner Apr 21, 2021
139c232
bpo-40137: Move state lookups out of the critical path (GH-25492)
rhettinger Apr 21, 2021
7b86e47
bpo-43472: Ensure PyInterpreterState_New audit events are raised when…
zooba Apr 21, 2021
a32f8fe
bpo-43756: Add new audit event for new arguments added to glob.glob (…
gousaiyang Apr 21, 2021
cdad272
bpo-40137: Add pycore_moduleobject.h internal header (GH-25507)
vstinner Apr 21, 2021
dc516ef
bpo-26227: Fixes decoding of host names on Windows from ANSI instead …
zooba Apr 21, 2021
37b173c
bpo-38659: Properly re-intialize module variables in test_enum (GH-25…
ammaraskar Apr 22, 2021
660592f
bpo-28724: Doc: Move socket.send_fds and socket.recv_fds docs to righ…
gousaiyang Apr 22, 2021
accea7d
Fix typo in the documentation (GH-24703)
sekomer Apr 22, 2021
a07da09
bpo-43475: Fix worst case collision behavior for NaN instances (GH-2…
rhettinger Apr 22, 2021
2a3f489
bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sy…
shreyanavigyan Apr 22, 2021
fe63a40
bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527)
zooba Apr 22, 2021
a911bd1
bpo-43915: Add PCbuild/blurb.bat to simplify Windows contributors (GH…
zooba Apr 22, 2021
4696f12
bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed…
zooba Apr 22, 2021
e07d809
bpo-38222: Check specifically for a drive, not just a colon (GH-25540)
zooba Apr 22, 2021
6afb0a8
bpo-39572: Address typo in CHANGELOG. (GH-24999)
charettes Apr 23, 2021
14092b5
bpo-43917: Fix pure python equivalent for classmethod (GH-25544)
rhettinger Apr 23, 2021
702a088
Reformat idlelib colorizer (GH-25479)
E-Paine Apr 23, 2021
fe24088
Add more tests. Fix code excerpt. (GH-25549)
rhettinger Apr 23, 2021
32980fb
bpo-37751: Document codecs.lookup() change in What's New in Python 3.…
shihai1991 Apr 23, 2021
927b841
bpo-37363: Add audit events to the `http.client` module (GH-21321)
gousaiyang Apr 23, 2021
e9194ea
bpo-43852: Improve tuple creation in sqlite3 (GH-25421)
Apr 23, 2021
b9ad88b
bpo-43920: Make load_verify_locations(cadata) error message consisten…
tiran Apr 23, 2021
90d02e5
bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implement…
frenzymadness Apr 23, 2021
e7cc64e
bpo-43795: PEP-652: Simplify headers for easier static analysis (GH-2…
encukou Apr 23, 2021
9d6a2d0
bpo-43795: PEP-652: Clean up the stable ABI/limited API (GH-25482)
encukou Apr 23, 2021
dcf6581
bpo-38820: Test with OpenSSL 3.0.0-alpha15 (GH-25537)
tiran Apr 23, 2021
91b69b7
bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI li…
encukou Apr 23, 2021
a77aac4
bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525)
pablogsal Apr 23, 2021
7d37b86
bpo-35114: Make ssl.RAND_status() return a bool (GH-20063)
ZackerySpytz Apr 23, 2021
3513d55
bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-…
zooba Apr 23, 2021
019e9e8
bpo-43538: Add extra arguments to os.startfile (GH-25538)
zooba Apr 23, 2021
e047239
bpo-43921: ignore failing test_wrong_cert_tls13 on Windows (GH-25561)
tiran Apr 23, 2021
f24e2e5
bpo-39950: add `pathlib.Path.hardlink_to()` method that supersedes `l…
barneygale Apr 23, 2021
1e9f093
bpo-43907: add missing memoize call in pure python pickling of bytear…
cfbolz Apr 23, 2021
22556d8
Silence find_module() DeprecationWarning on Windows tests (GH-25563)
brettcannon Apr 23, 2021
6b59e66
bop-43652: Update Tcl and Tk to 8.6.11 in Windows installer (GH-25170)
terryjreedy Apr 23, 2021
5e437fb
bpo-30555: Fix WindowsConsoleIO fails in the presence of fd redirecti…
segevfiner Apr 23, 2021
4819940
Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564)
brettcannon Apr 23, 2021
6c681e1
bpo-38659: [Enum] do not check '_inverted_' during simple test (GH-25…
ethanfurman Apr 24, 2021
b2fac1a
bpo-31870: Add a timeout parameter to ssl.get_server_certificate() (G…
ZackerySpytz Apr 24, 2021
f05c2ae
bpo-31870: Fix test_get_server_certificate_timeout on Windows (GH-25570)
tiran Apr 24, 2021
c8666cf
bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553)
tiran Apr 24, 2021
a460ab3
bpo-41282: Consistent message and filter warning in setup.py (GH-25571)
tiran Apr 24, 2021
ce9a064
bpo-43921: also accept EOF in post-handshake auth test (GH-25574)
tiran Apr 24, 2021
c6ca368
bpo-43780: Sync with importlib_metadata 3.10 (GH-25297)
jaraco Apr 24, 2021
1969835
bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0 (GH-25…
sbidoul Apr 24, 2021
8cc3cfa
bpo-42737: annotations with complex targets no longer causes any runt…
isidentical Apr 25, 2021
3bb3fb3
bpo-43655: Tkinter and IDLE dialog windows are now recognized as dial…
serhiy-storchaka Apr 25, 2021
b5adc8a
bpo-43534: Make dialogs in turtle.textinput() and turtle.numinput() t…
serhiy-storchaka Apr 25, 2021
face87c
bpo-42609: Check recursion depth in the AST validator and optimizer (…
serhiy-storchaka Apr 25, 2021
172c0f2
bpo-39529: Deprecate creating new event loop in asyncio.get_event_loo…
serhiy-storchaka Apr 25, 2021
09aa6f9
bpo-38490: statistics: Add covariance, Pearson's correlation, and sim…
twolodzko Apr 25, 2021
8af929f
bpo-43534: Fix the turtle module working with multiple root windows (…
serhiy-storchaka Apr 25, 2021
c9c27b8
Set the release for `__future__.annotations` to 3.11 (#25596)
asottile Apr 25, 2021
a89d8a9
BaseHTTPRequestHandler, that path includes query (#25597)
orsenthil Apr 25, 2021
a31cf86
fix typo in warning (#20620)
aboddie Apr 25, 2021
f84f1b5
bpo-38605: Update __future__ module doc as `annotations` is now "mand…
gousaiyang Apr 25, 2021
a1a5e3c
Fix a typo in datamodel reference document (GH-24930)
geryogam Apr 25, 2021
7f8e072
Remove mention of dst parameter from description of os.lstat() (GH-24…
sir-sigurd Apr 25, 2021
c028053
Add keyword-only fields to dataclasses. (GH=25608)
ericvsmith Apr 26, 2021
d28b346
Fix broken links and improve stand-alone tools list in FAQ GH-22124
andresdelfino Apr 26, 2021
0d930f1
Fix copy.Error casing in documentation GH-22004
andresdelfino Apr 26, 2021
cb5c802
Fix id of 'Internet Message Format' RFC in email doc (GH-24137)
dlax Apr 26, 2021
b3dec6f
Quick pydoc update to smtplib.py (GH-22292)
uy-rrodriguez Apr 26, 2021
7be870f
Fix documentation typos of argparse exit_on_error (GH-22706)
hukkinj1 Apr 26, 2021
b6daab2
documentation: clarification about the function remove in os library …
Apr 26, 2021
3c4850e
Update asyncio-subprocess.rst (GH-21680)
GabrielRF Apr 26, 2021
3c586ca
bpo-38820: Old OpenSSL 3.0.0 releases are in /old/3.0/ (GH-25624)
tiran Apr 26, 2021
666991f
bpo-18233: Add internal methods to access peer chain (GH-25467)
tiran Apr 26, 2021
5f87915
bpo-43466: Link with libz in PY_UNSUPPORTED_OPENSSL_BUILD path (GH-25…
tiran Apr 26, 2021
bd25bcd
Doc: Fix the array.fromfile method doc (GH-22037)
adorilson Apr 26, 2021
94549ee
Add additional keyword-only tests. (GH-25633)
ericvsmith Apr 26, 2021
1b1f985
bpo-42904: Change search order of typing.get_type_hints eval (#25632)
Fidget-Spinner Apr 26, 2021
8a307e4
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-…
Llandy3d Apr 26, 2021
425434d
bpo-40432: Use python 3.8 or higher to compile CPython on Windows (#2…
Fidget-Spinner Apr 26, 2021
52cd6d5
Use the zero argument form of super() in examples for Python3 docs. (…
andresdelfino Apr 26, 2021
7244c00
bpo-43762: Add audit events for loading of sqlite3 extensions (GH-25246)
Apr 26, 2021
284c52d
bpo-38530: Require 50% similarity in NameError and AttributeError sug…
sweeneyde Apr 27, 2021
9dfefbe
bpo-43651: Fix EncodingWarning in `pydoc`. (GH-25644)
methane Apr 27, 2021
743e2ba
[doc] Remove duplicated operator.itemgetter example (GH-24178)
andresdelfino Apr 27, 2021
cfe523b
bpo-43651: PEP 597: Fix `socket.makefile()` (GH-25645)
methane Apr 27, 2021
5987b8c
bpo-43945: [Enum] Deprecate non-standard mixin format() behavior (GH-…
ethanfurman Apr 27, 2021
caae717
bpo-43651: Fix EncodingWarning in zipfile (GH-25650)
methane Apr 27, 2021
878bc8b
bpo-43651: Fix EncodingWarning in fileinput and its test (GH-25648)
methane Apr 27, 2021
93f4118
Fix thread locks in zlib module may go wrong in rare case. (#22126)
animalize Apr 27, 2021
d925133
bpo-43312: Functions returning default and preferred sysconfig scheme…
uranusjr Apr 27, 2021
05ab4b6
bpo-43766: Implement PEP 647 (User-Defined Type Guards) in typing.py …
Fidget-Spinner Apr 27, 2021
99fdd78
bpo-43766: Fix TypeGuard docs (#25660)
Fidget-Spinner Apr 27, 2021
e3bf179
bpo-43864: Silence deprecation warning in test_importlib.test_module_…
shreyanavigyan Apr 27, 2021
bf0c7c0
bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641)
Apr 27, 2021
ce82781
bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640)
Apr 27, 2021
8a37463
Fix generated file name for installer builds on macOS 11+. (GH-25661)
ned-deily Apr 27, 2021
9aea31d
bpo-8978: improve tarfile.open error message when lzma / bz2 are miss…
asottile Apr 27, 2021
6bd9288
bpo-43957: [Enum] Deprecate ``TypeError`` from containment checks. (G…
ethanfurman Apr 27, 2021
a09766d
bpo-43963: Fix import _signal in subinterpreters (GH-25674)
vstinner Apr 27, 2021
5c84bb5
bpo-37751: Update `codecs.register()` doc. (GH-25643)
methane Apr 28, 2021
a5e6444
bpo-43963: Add _signal module state (GH-25676)
vstinner Apr 28, 2021
f9bedb6
bpo-41486: Faster bz2/lzma/zlib via new output buffering (GH-21740)
animalize Apr 28, 2021
db0c5b7
bpo-43776: Remove list call from args in Popen repr (GH-25338)
mpkocher Apr 28, 2021
21b02b5
bpo-43960: test_pdb resets breakpoints (GH-25673)
iritkatriel Apr 28, 2021
32c5a17
bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683)
vstinner Apr 28, 2021
fe52eb6
bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684)
vstinner Apr 28, 2021
4c49be7
bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25…
scoder Apr 28, 2021
c1a9535
bpo-43955: Handle the case where the distutils warning has already be…
zooba Apr 28, 2021
859577c
bpo-41559: Change PEP 612 implementation to pure Python (#25449)
Fidget-Spinner Apr 28, 2021
baecfbd
bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in…
barneygale Apr 28, 2021
3cc481b
bpo-28254: Add a C-API for controlling the GC state (GH-25687)
scoder Apr 28, 2021
3b52c8d
bpo-43908: Add Py_TPFLAGS_IMMUTABLETYPE flag (GH-25520)
Apr 28, 2021
103d5e4
bpo-28254: _posixsubprocess uses PyGC_Enable/PyGC_Disable (GH-25693)
vstinner Apr 28, 2021
15d3861
bpo-37903: IDLE: Shell sidebar with prompts (GH-22682)
taleinat Apr 28, 2021
4a85718
bpo-43970: Optimize Path.cwd() in pathlib by not instantiating a clas…
kfollstad Apr 28, 2021
b38b2fa
Document importlib.metadata.PackagePath.locate method (GH-25669)
pfmoore Apr 28, 2021
08a4803
[doc] Do some polishing in IDEs section (GH-22070)
andresdelfino Apr 29, 2021
69a733b
[doc] Be more clear on super() regarding multiple base classes method…
andresdelfino Apr 29, 2021
8557edb
bpo-24275: Don't downgrade unicode-only dicts to mixed on lookups (GH…
hvenev Apr 29, 2021
fa51c0c
bpo-43651: Fix EncodingWarning in tests. (GH-25655)
methane Apr 29, 2021
a692565
bpo-43651: Fix EncodingWarning in `os.fdopen()` and test_os (GH-25654)
methane Apr 29, 2021
e52ab42
bpo-41139: Deprecate `cgi.log()` (GH-25625)
methane Apr 29, 2021
1e7b858
bpo-43892: Make match patterns explicit in the AST (GH-25585)
ncoghlan Apr 29, 2021
5daf70b
bpo-43908: Make re types immutable (GH-25697)
Apr 29, 2021
c6ad03f
bpo-43908: Make array.array type immutable (GH-25696)
Apr 29, 2021
5bd0619
bpo-43908: Document Static Types in the C API (GH-25710)
vstinner Apr 29, 2021
b1f413e
bpo-28254: Cleanup test_subprocess.test_preexec_gc_module_failure() (…
vstinner Apr 29, 2021
645ed62
bpo-43774: Remove unused PYMALLOC_DEBUG macro (GH-25711)
vstinner Apr 29, 2021
f6ee4da
bpo-43795: Generate python3dll.c and doc data from manifest (PEP 652)…
encukou Apr 29, 2021
8ec2f0d
bpo-37892: Use space indents in IDLE Shell (GH-25678)
terryjreedy Apr 29, 2021
abfd638
bpo-43774: Enhance debug build documentation (GH-25712)
vstinner Apr 29, 2021
53dd6c9
bpo-43651: Fix test_logging (GH-25715)
methane Apr 29, 2021
c76da79
bpo-42739: Don't use sentinels to mark end of line table. (GH-25657)
markshannon Apr 29, 2021
14fc2bd
bpo-28254: Add PyGC_ functions to the stable ABI manifest (GH-25720)
encukou Apr 29, 2021
76cd81d
bpo-43882 - urllib.parse should sanitize urls containing ASCII newlin…
orsenthil Apr 29, 2021
2fd928c
bpo-42589: Change URL for 'from' link when used in a raised exception…
sblondon Apr 29, 2021
088a15c
bpo-43933: Show frame.f_lineno as None, rather than -1, if there is n…
markshannon Apr 29, 2021
9a2c2a9
bpo-42800: add audit hooks for f_code and tb_frame (GH-24182)
lunixbochs Apr 29, 2021
87655e2
bpo-42800: Rename AUDIT_READ to PY_AUDIT_READ (GH-25736)
zooba Apr 30, 2021
dbe60ee
bpo-43892: Validate the first term of complex literal value patterns …
brandtbucher Apr 30, 2021
2f2b698
bpo-43901: Lazy-create an empty annotations dict in all unannotated u…
larryhastings Apr 30, 2021
175a54b
Two minor fixes for accessing a module's name. (#25658)
larryhastings Apr 30, 2021
a62e424
bpo-43981: Fix error in idle-test leak test (GH-25739)
terryjreedy Apr 30, 2021
74613a4
bpo-43817: Add inspect.get_annotations(). (#25522)
larryhastings Apr 30, 2021
2abbd8f
bpo-43954: Fix a missing word in the unittest docs (GH-25672)
ZackerySpytz Apr 30, 2021
069e81a
bpo-43977: Use tp_flags for collection matching (GH-25723)
markshannon Apr 30, 2021
b73b5fb
bpo-43973: object_set_class() checks Py_TPFLAGS_IMMUTABLETYPE (GH-25…
Apr 30, 2021
3bb0994
bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721)
vstinner Apr 30, 2021
0cad068
bpo-43916: Remove _disabled_new() function (GH-25745)
vstinner Apr 30, 2021
4908fae
bpo-43916: PyStdPrinter_Type uses Py_TPFLAGS_DISALLOW_INSTANTIATION (…
vstinner Apr 30, 2021
9032cf5
bpo-43667: Fix broken Unicode encoding in non-UTF locales on Solaris …
kulikjak Apr 30, 2021
6414138
bpo-43908: check_set_special_type_attr() checks Py_TPFLAGS_IMMUTABLET…
Apr 30, 2021
5979e81
bpo-43933: Set frame.f_lineno during call to __exit__ (GH-25719)
markshannon Apr 30, 2021
387397f
bpo-43916: select.poll uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25750)
Apr 30, 2021
9746cda
bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types …
Apr 30, 2021
7dcf0f6
bpo-43916: select.devpoll uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-…
vstinner Apr 30, 2021
e374a40
bpo-43901: Fix refleaks in test_module (GH-25754)
pablogsal Apr 30, 2021
665c774
bpo-43916: _md5.md5 uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25753)
vstinner Apr 30, 2021
6689e45
bpo-43981: Fix reference leaks in test_squeezer (GH-25758)
pablogsal Apr 30, 2021
6143fcd
bpo-43979: Remove unnecessary operation from urllib.parse.parse_qsl (…
corona10 Apr 30, 2021
726c931
bpo-43888: Remove coverage builds from CI (GH-25679)
ammaraskar Apr 30, 2021
0048c60
bpo-43935: Fix typo in Turtle.back() docstring (GH-25581)
tarjeiba Apr 30, 2021
e08c673
bpo-43928: Fix 'succesfully' typo in document (GH-25569)
jeffreytse Apr 30, 2021
e726a90
bpo-43971: Add spaces around annotated arg default '=' (GH-25702)
moselhy Apr 30, 2021
e467ec4
bpo-43995: Fix reference leak in test_grammar (GH-25764)
Apr 30, 2021
251ffa9
bpo-41486: Fix initial buffer size can't > UINT32_MAX in zlib module …
animalize Apr 30, 2021
558df90
bpo-43916: Export the _PyStructSequence_InitType to fix build errors …
pablogsal May 1, 2021
c241991
bpo-42269: Add slots parameter to dataclass decorator (GH-24171)
uriyyo May 1, 2021
99f71ae
Noted my recent contributions in "What's New In Python 3.10". (#25771)
larryhastings May 1, 2021
bf99b71
bpo-43993: Update vendored pip to 21.1.1 (GH-25761)
sbidoul May 1, 2021
f82fd77
bpo-43989: Temporarily disable warnings in ssltests (GH-25780)
tiran May 1, 2021
823fbf4
If using a frozen class with slots, add __getstate__ and __setstate__…
ericvsmith May 1, 2021
50c21ad
Fixing doc for callback for lambda (GG-25779)
May 1, 2021
e983252
bpo-43998: Default to TLS 1.2 and increase cipher suite security (GH-…
tiran May 1, 2021
9a42d50
bpo-43957: Add a missins space to the new format enum warning (#25770)
pablogsal May 1, 2021
a5669b3
bpo-43998: Fix testing without ssl module (GH-25790)
tiran May 1, 2021
55e5c68
bpo-43989: Add signal format specifier for unix_events (GH-25769)
robertohueso May 1, 2021
ddbef71
bpo-43916: Rewrite new hashlib tests, fix typo (GH-25791)
tiran May 1, 2021
1ae05fd
Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780…
ethanfurman May 1, 2021
7792324
Fix exceptions mentioned in os.setxattr() docs (GH-25742)
May 1, 2021
29282b2
Fix broken name in build.yml (GH-25759)
brandtbucher May 1, 2021
2f59a76
Improve the dataclasses kw_only documentation. (GH-25799)
ericvsmith May 1, 2021
318ca17
Minor tweaks to dataclasses keyword-only fields documentation. (GH-25…
ericvsmith May 2, 2021
49b26fa
bpo-43987: Add "Annotations Best Practices" HOWTO doc. (#25746)
larryhastings May 2, 2021
fd0bc7e
bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-2…
methane May 2, 2021
91554e4
bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792)
tiran May 2, 2021
0cb33da
bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804)
ned-deily May 2, 2021
518f8b5
bpo-41100: Update Misc/ACKS (GH-25808)
ned-deily May 2, 2021
73766b0
bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type…
ZackerySpytz May 2, 2021
60ce8f0
bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (G…
tiran May 2, 2021
d8389e3
bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25…
tiran May 2, 2021
a5eabc9
bpo-43997: Add versionadded directives for to match_args, kw_only, an…
shreyanavigyan May 2, 2021
7d2b83e
bpo-43990: Fix the footnote ordering in the operator precedence docs …
ZackerySpytz May 2, 2021
0ad1e03
bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)
brandtbucher May 2, 2021
37e0c78
bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565)
jaraco May 2, 2021
c96cc08
bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__…
May 2, 2021
5fb06ed
bpo-44011: New asyncio ssl implementation (#17975)
asvetlov May 2, 2021
cbb7b9e
bpo-43434: Clean up sqlite3.connect() after GH-25818 (GH-25823)
May 2, 2021
9387fac
bpo-43977: Document the new pattern matching type flags (GH-25734)
brandtbucher May 2, 2021
33ec88a
bpo-43977: Make sure that tp_flags for pattern matching are inherited…
markshannon May 2, 2021
8703178
bpo-43568: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3 (GH-25827)
ned-deily May 3, 2021
555cbbe
bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on macOS (GH-25413)
May 3, 2021
821f0c8
More work on documenting dataclass keyword-only fields. (GH-25828)
ericvsmith May 3, 2021
90d5239
bpo-42362: Switch to clang/clang++ as the default compiler in build-i…
ronaldoussoren May 3, 2021
b43cc31
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
taleinat May 3, 2021
d52bbde
bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785)
nedbat May 3, 2021
8c598db
bpo-25478: Add total() method to collections.Counter (GH-25829)
rhettinger May 3, 2021
e08059e
bpo-42235: [macOS] Use LTO/PGO in build-installer.py with new enough …
ronaldoussoren May 3, 2021
4ae828f
Fix invalid markup (#25833)
rhettinger May 3, 2021
c3bfa76
bpo-42362: use clang name on 10.9 builds as well (GH-25834)
ned-deily May 3, 2021
c59baa0
Update macOS installer welcome and readme for 3.10b1 (GH-25835)
ned-deily May 3, 2021
a21b3d2
More clarification of kw_only args. (GH-25838)
ericvsmith May 3, 2021
72720a2
dataclasses docs: add a missing word. (GH-25839)
ericvsmith May 3, 2021
99ad742
bpo-44015: dataclasses should allow KW_ONLY to be specified only once…
ericvsmith May 3, 2021
37ebdf0
bpo-44011: Fix asyncio tests without ssl module (GH-25840)
tiran May 3, 2021
ad106c6
bpo-42725: Render annotations effectless on symbol table with PEP 563…
isidentical May 3, 2021
4ffd6fd
Increase test timeout (GH-25842)
asvetlov May 3, 2021
440c025
Doc: Fix random.uniform example comment. (GH-25784)
JulienPalard May 3, 2021
c2931d3
bpo-43916: Move the _PyStructSequence_InitType function to the intern…
pablogsal May 3, 2021
3949428
bpo-43754: Fix compiler warning in Python/compile.c (GH-25855)
pablogsal May 3, 2021
7719953
bpo-44011: Revert "New asyncio ssl implementation (GH-17975)" (GH-25848)
pablogsal May 3, 2021
c715b52
bpo-43943: ssl tests: Increase server socket timeout, backlog, debugg…
tiran May 3, 2021
80a2a4e
bpo-38530: Refactor and improve AttributeError suggestions (GH-25776)
sweeneyde May 3, 2021
d3b9134
Remove Enum warnings from test_httpservers (GH-25844)
shreyanavigyan May 3, 2021
bb3e0c2
Python 3.11.0a0
pablogsal May 3, 2021
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
variables:
testRunTitle: '$(build.sourceBranchName)-linux'
testRunPlatform: linux
openssl_version: 1.1.1g
openssl_version: 1.1.1k

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

steps:
- template: ./posix-steps.yml
Expand All @@ -104,7 +104,7 @@ jobs:
matrix:
win32:
arch: win32
buildOpt:
buildOpt: '-p Win32'
testRunTitle: '$(Build.SourceBranchName)-win32'
testRunPlatform: win32
win64:
Expand Down
7 changes: 4 additions & 3 deletions .azure-pipelines/docs-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ steps:
inputs:
versionSpec: '>=3.6'

- script: python -m pip install sphinx==2.2.0 blurb python-docs-theme
- script: python -m pip install -r requirements.txt
workingDirectory: '$(build.sourcesDirectory)/Doc'
displayName: 'Install build dependencies'

- ${{ if ne(parameters.latex, 'true') }}:
- script: make check suspicious html PYTHON=python
- script: make check html PYTHON=python
workingDirectory: '$(build.sourcesDirectory)/Doc'
displayName: 'Build documentation'

Expand All @@ -31,7 +32,7 @@ steps:
- ${{ if eq(parameters.upload, 'true') }}:
- task: PublishBuildArtifacts@1
displayName: 'Publish docs'

inputs:
PathToPublish: '$(build.sourcesDirectory)/Doc/build'
ArtifactName: docs
Expand Down
6 changes: 3 additions & 3 deletions .azure-pipelines/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
testRunPlatform: linux
openssl_version: 1.1.1g
openssl_version: 1.1.1k

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

steps:
- template: ./posix-steps.yml
Expand All @@ -104,7 +104,7 @@ jobs:
matrix:
win32:
arch: win32
buildOpt:
buildOpt: '-p Win32'
testRunTitle: '$(System.PullRequest.TargetBranch)-win32'
testRunPlatform: win32
win64:
Expand Down
3 changes: 2 additions & 1 deletion .azure-pipelines/windows-release/stage-pack-msix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ jobs:
artifactName: unsigned_msix
downloadPath: $(Build.BinariesDirectory)

# MSIX must be signed and timestamped simultaneously
- powershell: |
$failed = $true
foreach ($retry in 1..3) {
signtool sign /a /n "$(SigningCertificate)" /fd sha256 /t http://timestamp.verisign.com/scripts/timestamp.dll /d "$(SigningDescription)" (gi *.msix)
signtool sign /a /n "$(SigningCertificate)" /fd sha256 /tr http://timestamp.digicert.com/ /td sha256 /d "$(SigningDescription)" (gi *.msix)
if ($?) {
$failed = $false
break
Expand Down
10 changes: 9 additions & 1 deletion .azure-pipelines/windows-release/stage-pack-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
condition: and(succeeded(), eq(variables['DoNuget'], 'true'))

pool:
vmImage: windows-2019
name: 'Windows Release'

workspace:
clean: all
Expand Down Expand Up @@ -36,6 +36,14 @@ jobs:
nuget pack "$(Build.BinariesDirectory)\layout\python.nuspec" -OutputDirectory $(Build.ArtifactStagingDirectory) -NoPackageAnalysis -NonInteractive
displayName: 'Create nuget package'

- powershell: |
gci *.nupkg | %{
nuget sign "$_" -CertificateSubjectName "$(SigningCertificate)" -Timestamper http://timestamp.digicert.com/ -Overwrite
}
displayName: 'Sign nuget package'
workingDirectory: $(Build.ArtifactStagingDirectory)
condition: and(succeeded(), variables['SigningCertificate'])

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: nuget'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/windows-release/stage-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
$files = (gi ${{ parameters.Include }} -Exclude ${{ parameters.Exclude }})
$failed = $true
foreach ($retry in 1..10) {
signtool timestamp /t http://timestamp.verisign.com/scripts/timestamp.dll $files
signtool timestamp /tr http://timestamp.digicert.com/ /td sha256 $files
if ($?) {
$failed = $false
break
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PC/clinic/*.h linguist-generated=true
Python/clinic/*.h linguist-generated=true
Python/importlib.h linguist-generated=true
Python/importlib_external.h linguist-generated=true
Include/Python-ast.h linguist-generated=true
Include/internal/pycore_ast.h linguist-generated=true
Python/Python-ast.c linguist-generated=true
Include/opcode.h linguist-generated=true
Python/opcode_targets.h linguist-generated=true
Expand Down
11 changes: 11 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Objects/frameobject.c @markshannon
Objects/call.c @markshannon
Python/ceval.c @markshannon
Python/compile.c @markshannon
Python/ast_opt.c @isidentical

# Hashing
**/*hashlib* @python/crypto-team @tiran
Expand Down Expand Up @@ -84,6 +85,16 @@ Include/pytime.h @pganssle @abalkin
/Lib/test/test_peg_generator/ @pablogsal @lysnikolaou
/Grammar/python.gram @pablogsal @lysnikolaou

# AST
Python/ast.c @isidentical
Parser/asdl.py @isidentical
Parser/asdl_c.py @isidentical
Lib/ast.py @isidentical

# Mock
/Lib/unittest/mock.py @cjw296
/Lib/unittest/test/testmock/* @cjw296

# SQLite 3
**/*sqlite* @berkerpeksag

Expand Down
30 changes: 0 additions & 30 deletions .github/codecov.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/problem-matchers/msvc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"__comment": "Taken from vscode's vs/workbench/contrib/tasks/common/problemMatcher.ts msCompile rule",
"problemMatcher": [
{
"owner": "msvc-problem-matcher",
"pattern": [
{
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+),?(\\d+)?(?:,\\d+,\\d+)?\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
]
}
]
}
111 changes: 103 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
runs-on: ubuntu-latest
outputs:
run_tests: ${{ steps.check.outputs.run_tests }}
run_ssl_tests: ${{ steps.check.outputs.run_ssl_tests }}
steps:
- uses: actions/checkout@v2
- name: Check for source changes
id: check
run: |
if [ -z "GITHUB_BASE_REF" ]; then
if [ -z "$GITHUB_BASE_REF" ]; then
echo '::set-output name=run_tests::true'
echo '::set-output name=run_ssl_tests::true'
else
git fetch origin $GITHUB_BASE_REF --depth=1
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
Expand All @@ -46,7 +48,40 @@ jobs:
#
# https://github.com/python/core-workflow/issues/373
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE '(ssl|hashlib|hmac|^.github)' && echo '::set-output name=run_ssl_tests::true' || true
fi

check_generated_files:
name: 'Check if generated files are up to date'
runs-on: ubuntu-latest
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: Build CPython
run: |
# Build Python with the libpython dynamic library
./configure --with-pydebug --enable-shared
make -j4 regen-all
make regen-stdlib-module-names
- name: Check for changes
run: |
changes=$(git status --porcelain)
# Check for changes in regenerated files
if ! test -z "$changes"
then
echo "Generated files not up to date. Perhaps you forgot to run make regen-all ;)"
echo "$changes"
exit 1
fi
- name: Check exported libpython symbols
run: make smelly
- name: Check limited ABI symbols
run: make check-limited-abi

build_win32:
name: 'Windows (x86)'
runs-on: windows-latest
Expand All @@ -59,7 +94,7 @@ jobs:
- name: Display build info
run: .\python.bat -m test.pythoninfo
- name: Tests
run: .\PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
run: .\PCbuild\rt.bat -p Win32 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0

build_win_amd64:
name: 'Windows (x64)'
Expand All @@ -68,12 +103,14 @@ jobs:
if: needs.check_source.outputs.run_tests == 'true'
steps:
- uses: actions/checkout@v2
- name: Register MSVC problem matcher
run: echo "::add-matcher::.github/problem-matchers/msvc.json"
- name: Build CPython
run: .\PCbuild\build.bat -e -p x64
- name: Display build info
run: .\python.bat -m test.pythoninfo
- name: Tests
run: .\PCbuild\rt.bat -x64 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
run: .\PCbuild\rt.bat -p x64 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0

build_macos:
name: 'macOS'
Expand All @@ -93,31 +130,89 @@ jobs:

build_ubuntu:
name: 'Ubuntu'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 1.1.1f
OPENSSL_VER: 1.1.1k
steps:
- uses: actions/checkout@v2
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: Configure OpenSSL env vars
run: |
echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> $GITHUB_ENV
echo "OPENSSL_DIR=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
- name: 'Restore OpenSSL build'
id: cache-openssl
uses: actions/cache@v2.1.2
uses: actions/cache@v2.1.4
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
- name: Install OpenSSL
if: steps.cache-openssl.outputs.cache-hit != 'true'
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $PWD/multissl --openssl $OPENSSL_VER --system Linux
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux
- name: Add ccache to PATH
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
- name: Configure CPython
run: ./configure --with-pydebug --with-openssl=$PWD/multissl/openssl/$OPENSSL_VER
run: ./configure --with-pydebug --with-openssl=$OPENSSL_DIR
- name: Build CPython
run: make -j4
- name: Display build info
run: make pythoninfo
- name: Tests
run: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"

build_ubuntu_ssltests:
name: 'Ubuntu SSL tests with OpenSSL'
runs-on: ubuntu-20.04
needs: check_source
if: needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_ssl_tests == 'true'
strategy:
fail-fast: false
matrix:
openssl_ver: [1.1.1k, 3.0.0-alpha15]
env:
OPENSSL_VER: ${{ matrix.openssl_ver }}
MULTISSL_DIR: ${{ github.workspace }}/multissl
OPENSSL_DIR: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
LD_LIBRARY_PATH: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
steps:
- uses: actions/checkout@v2
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: Configure OpenSSL env vars
run: |
echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> $GITHUB_ENV
echo "OPENSSL_DIR=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
- name: 'Restore OpenSSL build'
id: cache-openssl
uses: actions/cache@v2.1.4
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
- name: Install OpenSSL
if: steps.cache-openssl.outputs.cache-hit != 'true'
run: python3 Tools/ssl/multissltests.py --steps=library --base-directory $MULTISSL_DIR --openssl $OPENSSL_VER --system Linux
- name: Add ccache to PATH
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
- name: Configure CPython
run: ./configure --with-pydebug --with-openssl=$OPENSSL_DIR
- name: Build CPython
run: make -j4
- name: Display build info
run: make pythoninfo
- name: SSL tests
run: ./python Lib/test/ssltests.py
Loading