Skip to content

gh-100795: avoid unexpected freeaddrinfo after failed getaddrinfo #101010

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 2,258 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2258 commits
Select commit Hold shift + click to select a range
32ae9ab
bpo-20392: Fix inconsistency with uppercase file extensions in mimety…
miss-islington Mar 15, 2022
513911b
[3.9] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (#31917)
tiran Mar 15, 2022
0f0c55c
Python 3.9.11
ambv Mar 15, 2022
27f6386
Post 3.9.11
ambv Mar 15, 2022
70eb9db
bpo-46948: Fix launcher installer build failure due to first part of …
miss-islington Mar 16, 2022
ad6ddd8
[3.9] bpo-47032: Ensure Windows install builds fail correctly with a …
zooba Mar 16, 2022
0b0609d
[3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-3089…
miss-islington Mar 16, 2022
2de452f
Python 3.9.11, take two
ambv Mar 16, 2022
665a399
Post 3.9.11, take two
ambv Mar 16, 2022
3244659
[3.9] bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncio…
asvetlov Mar 16, 2022
0412e3a
bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsync…
miss-islington Mar 16, 2022
4e9bb27
bpo-47038: Increase a test timeout for slow CI machines (GH-31951)
miss-islington Mar 17, 2022
612019e
bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938)
miss-islington Mar 17, 2022
e808c9d
[3.9] bpo-42782: fix broken shutil test (GH-31971)
JelleZijlstra Mar 18, 2022
1cab44d
[3.9] bpo-46421: Fix unittest filename evaluation when called as a mo…
miss-islington Mar 18, 2022
a12ef81
[3.9] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-3…
pablogsal Mar 18, 2022
4d2099f
[3.9] bpo-14156: Make argparse.FileType work correctly for binary fil…
serhiy-storchaka Mar 18, 2022
fcd5799
bpo-44544: add textwrap placeholder arg (GH-27671)
miss-islington Mar 19, 2022
cbcd2e3
bpo-39394: Improve warning message in the re module (GH-31988)
miss-islington Mar 19, 2022
e207d72
[3.9] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). …
miss-islington Mar 19, 2022
73f4b47
[3.10] bpo-47040: improve document of checksum functions (GH-31955) (…
miss-islington Mar 20, 2022
504973a
bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32006)
miss-islington Mar 20, 2022
4aa8b80
bpo-42369: Fix thread safety of zipfile._SharedFile.tell (GH-26974)
miss-islington Mar 20, 2022
58a7e13
bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013) (GH-…
gpshead Mar 21, 2022
f89949e
bpo-23691: Protect the re.finditer() iterator from re-entering (GH-32…
miss-islington Mar 21, 2022
2d5e9f8
bpo-12029: [doc] clarify that except does not match virtual subclasse…
iritkatriel Mar 21, 2022
f47984b
[3.9] bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) …
asvetlov Mar 22, 2022
8db7610
bpo-44336: Prevent tests hanging on child process handles on Windows …
jkloth Mar 22, 2022
af341eb
[3.9] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.…
hugovk Mar 22, 2022
3c60190
bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932)
miss-islington Mar 22, 2022
1e4044c
Fix typo in Path.iterdir docs (GH-31822)
miss-islington Mar 23, 2022
f5af167
[doc] configparser: avoid inline comments. (GH-31247)
miss-islington Mar 23, 2022
0bbb695
[3.9] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712…
JelleZijlstra Mar 23, 2022
e513b81
[3.9] bpo-47061: document module deprecations due to PEP 594 (GH-3198…
hugovk Mar 23, 2022
ec3589f
bpo-47101: list only activated algorithms in hashlib.algorithms_avail…
miss-islington Mar 23, 2022
b28265d
Python 3.9.12
ambv Mar 23, 2022
6f345d3
Post 3.9.12
ambv Mar 24, 2022
b8b473e
bpo-47105: Cite grp.h instead of pwd.h in grp docs (GH-32091) (GH-32121)
miss-islington Mar 26, 2022
25c40bd
bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 …
hugovk Mar 28, 2022
1e3132b
bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636…
miss-islington Mar 28, 2022
dae09c2
[3.9] bpo-44493: Add missing terminated NUL in sockaddr_un's length (…
miss-islington Mar 28, 2022
f84fb55
bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-3…
miss-islington Mar 28, 2022
d2c6a44
bpo-47138: Ensure Windows docs build uses the same pinned version as …
miss-islington Mar 29, 2022
d6d170f
Fix typo in the sqlite3 docs (GH-31915) (GH-32158)
miss-islington Mar 29, 2022
5f0305b
ctypes docs: Fix array-length reference to "non-negative" from "posit…
miss-islington Mar 29, 2022
c26af2b
bpo-42340: Document issues around KeyboardInterrupt (GH-23255)
miss-islington Mar 29, 2022
d04a213
bpo-46775: OSError should call winerror_to_errno unconditionally on W…
miss-islington Mar 31, 2022
98d5773
bpo-14911: Corrected generator.throw() documentation (GH-32207)
miss-islington Mar 31, 2022
306a93b
[3.9] bpo-47089: Avoid test_compileall failures on Windows (GH-32037)…
jkloth Apr 2, 2022
0f0f85e
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-2503…
miss-islington Apr 2, 2022
5b80031
bpo-47031: Improve documentation for `math.nan` (GH-32170)
miss-islington Apr 2, 2022
dc9322a
bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845)
miss-islington Apr 2, 2022
bf0f04f
codecs docs: fix grammar mistake (GH-29462)
miss-islington Apr 2, 2022
6944258
bpo-45584: Clarify `math.trunc` documentation (GH-29183)
miss-islington Apr 2, 2022
62da258
[3.9] Document func parameter of locale.atof (GH-18183) (GH-32261)
JelleZijlstra Apr 2, 2022
74138ac
[3.9] More minor fixes to C API docs (GH-31714) (GH-32260)
JelleZijlstra Apr 2, 2022
6eff004
[3.9] More minor fixes to C API docs (GH-31525) (GH-32259)
JelleZijlstra Apr 2, 2022
f4e280d
bpo-24563: Link encoding names to encoding declarations (GH-32274)
miss-islington Apr 3, 2022
b509235
Language reference: Remove duplicated text about iterable unpacking (…
miss-islington Apr 3, 2022
490ccbd
bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-3…
miss-islington Apr 3, 2022
0d0a6f1
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
miss-islington Apr 3, 2022
a8f29b8
Demonstrate `py --list` in the quickstart section of the Windows doc …
miss-islington Apr 4, 2022
5b4bc61
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
miss-islington Apr 4, 2022
e47e6ff
bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)
miss-islington Apr 5, 2022
c0063bd
bpo-47007: [doc] `str` special method lookup (GH-31863)
miss-islington Apr 5, 2022
31c9e35
bpo-32658: Regex docs: Fix metacharacter reference (GH-32230)
miss-islington Apr 5, 2022
c1984f3
crypt docs: Fix references to `methods` attr (GH-26806)
miss-islington Apr 5, 2022
bc9ec24
bpo-40982: shutil docs: Remove outdated copytree() example (GH-24778)
miss-islington Apr 5, 2022
d1fb16a
[3.9] bpo-45790: List macros in same order in which fields are descri…
JelleZijlstra Apr 5, 2022
a4c7752
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-…
jkloth Apr 5, 2022
770780e
bpo-47235: Note where a typo is intentional in code. (GH-32348)
miss-islington Apr 6, 2022
b5b3b91
stdtypes docs: fix typo (GH-32349)
miss-islington Apr 6, 2022
1ab5351
Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32373)
Fidget-Spinner Apr 6, 2022
d6a7ee6
[3.9] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-3…
Fidget-Spinner Apr 6, 2022
30dfc46
ssl docs: Fix typo (GH-32314)
miss-islington Apr 7, 2022
ea6dc5e
pkgutil docs: Link sys constants, add backticks (GH-32356)
miss-islington Apr 7, 2022
85f0792
doc: Link to `string.capwords` from `str.title` (GH-20913)
miss-islington Apr 7, 2022
b124a39
c-api docs: There are five fields, not four (GH-32379)
miss-islington Apr 7, 2022
8b358d4
ssl docs: Fix typo (GH-32336)
miss-islington Apr 7, 2022
80c1153
bpo-47103: Copy pgort140.dll into output directory when building PGIn…
zooba Apr 8, 2022
8cd0f27
pickle docs: Fix typos and improve wording (GH-24776) (GH-32396)
miss-islington Apr 8, 2022
4cc4fe2
[3.9] GH-89074: Fixed IsolatedAsyncioTestCase from throwing an except…
miss-islington Apr 12, 2022
a8d245a
gh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434) (GH-…
miss-islington Apr 13, 2022
edf1a77
gh-91421: Use constant value check during runtime (GH-91422) (GH-91493)
miss-islington Apr 14, 2022
0ab5e83
gh-87497: Document that urllib.request sends headers in camel case (G…
miss-islington Apr 14, 2022
f3f5d4b
gh-90879: Fix missing parameter for put_nowait() (GH-91514)
miss-islington Apr 14, 2022
35ce2b7
Add redirects to Misc/NEWS bpo links (GH-91454) (GH-91536)
miss-islington Apr 14, 2022
b32d124
gh-70979: Fix runpy.run_path parameter name in docs (GH-32265)
miss-islington Apr 15, 2022
2c03470
bpo-40376: slightly improved the wording for os.getgrouplist (GH-1970…
miss-islington Apr 15, 2022
e0fc81c
Add link to documentation translation list (GH-91560) (#91588)
miss-islington Apr 16, 2022
514162b
gh-82849: revise intro to os.path.rst (GH-32232)
miss-islington Apr 16, 2022
c171d75
gh-91595: fix the comparison of character and integer by using ord() …
miss-islington Apr 16, 2022
2a43afd
[3.9] [3.10] gh-91607: Fix several test_concurrent_futures tests to a…
gpshead Apr 17, 2022
833ff16
gh-90923: Improve sqlite3.Connection.execute* docs (GH-91643)
miss-islington Apr 17, 2022
c6c9823
gh-91541: Fix error in example in modules tutorial (GH-91634)
miss-islington Apr 17, 2022
3537d89
gh-89885: Improve import example in language reference (GH-91523) (#9…
miss-islington Apr 17, 2022
636832f
Remove duplicate explanation (GH-91534)
miss-islington Apr 18, 2022
1c27a1a
Doc: Fix link formatting typo (GH-91659)
miss-islington Apr 19, 2022
63af7b3
Add more tests for group names and refs in RE (GH-91695)
miss-islington Apr 19, 2022
3b6072e
gh-91231: multiprocessing BaseManager waits 1.0 second (GH-91701)
miss-islington Apr 19, 2022
cb3c85d
[3.10] gh-91676 gh-91260 unittest.IsolatedAsyncioTestCase no longer l…
miss-islington Apr 19, 2022
312e16f
[3.9] gh-91118: Fix docstrings that do not honor --without-doc-string…
arhadthedev Apr 19, 2022
6cf86fc
build(deps): bump actions/setup-python from 2 to 3 (GH-31630)
miss-islington Apr 19, 2022
3fa9191
Fix awkward sentence in signal docs (GH-91508)
miss-islington Apr 20, 2022
6fd77aa
Add link to sys.path in os lib (GH-91679)
miss-islington Apr 20, 2022
33c6feb
bpo-30718: Add information about text buffering (GH-32351)
miss-islington Apr 20, 2022
56c2d08
gh-91734: Fix ossaudio support on Solaris (GH-91735)
miss-islington Apr 20, 2022
c25a0b4
[3.9] build(deps): bump actions/checkout from 2 to 3 (GH-32226) (#91722)
JelleZijlstra Apr 20, 2022
342b4b0
bpo-23747: Enhance platform doc, document default behavior (GH-31462)
miss-islington Apr 20, 2022
1fce689
bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622)
miss-islington Apr 20, 2022
f07d9ba
[3.9] build(deps): bump actions/cache from 2.1.7 to 3.0.1 (GH-32228) …
JelleZijlstra Apr 21, 2022
2f75d43
[3.9] build(deps): bump actions/upload-artifact from 2.3.1 to 3 (GH-3…
JelleZijlstra Apr 21, 2022
97d14e1
[3.9] gh-90568: Fix exception type for \N with a named sequence in RE…
miss-islington Apr 22, 2022
76ff686
[3.9] gh-91700: Validate the group number in conditional expression i…
miss-islington Apr 22, 2022
537dabc
[3.9] gh-91575: Update case-insensitive matching in re to the latest …
miss-islington Apr 22, 2022
42a158b
gh-91547: Remove "Undocumented modules" page (GH-91682)
miss-islington Apr 22, 2022
4165702
RE: Add more tests for inline flag "x" and re.VERBOSE (GH-91854)
miss-islington Apr 23, 2022
e4f5bff
[3.9] gh-85864: Mark positional-only args in io docs (GH-91683). (#91…
JelleZijlstra Apr 23, 2022
7f897b9
[3.9] Update Sphinx bpo role to use redirect URI. (#91891)
ezio-melotti Apr 24, 2022
38be31e
[3.9] gh-91888: add a `:gh:` role to the documentation (GH-91889) (#9…
ezio-melotti Apr 26, 2022
653a666
gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920)
miss-islington Apr 26, 2022
f4252df
gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919)
miss-islington Apr 26, 2022
081e951
Fix missing `f` prefix on f-strings (GH-91910)
miss-islington Apr 27, 2022
24ce123
gh-68966: Document mailcap deprecation in Python 3.11 (GH-91971)
miss-islington Apr 27, 2022
993bb16
[3.9] gh-91810: Expand ElementTree.write() tests to use non-ASCII dat…
serhiy-storchaka Apr 27, 2022
35a4eb2
gh-84459: Make wording more specific for Path.replace (GH-91853)
miss-islington Apr 27, 2022
0e16105
Add note that headers added via urllib.request.add_header are added t…
miss-islington Apr 27, 2022
fa87c36
gh-91832: Add 'required' attr to argparse.Action repr (GH-91841)
miss-islington Apr 28, 2022
36de20d
bpo-26792: Improve docstrings of runpy module run_functions (GH-30729)
miss-islington Apr 29, 2022
869a894
sorting howto: Add clarification on < using __lt__ (GH-92010)
miss-islington Apr 29, 2022
3d0a5f7
bpo-43323: Fix UnicodeEncodeError in the email module (GH-32137)
miss-islington Apr 30, 2022
2c859e3
gh-85864: io docs: Add missing position-only parameters (GH-91950)
miss-islington Apr 30, 2022
2830543
gh-87192: Update wording for fcntl 'Changed in' (GH-91658)
miss-islington Apr 30, 2022
2e84e97
gh-87801: Add run() to subprocess.CalledProcessError description (GH-…
miss-islington Apr 30, 2022
cef3a99
gh-91611: Use example.com for documentation, not mydomain.com (GH-91613)
miss-islington May 1, 2022
fcbff77
typing docs: Add example for async functions (GH-20386)
miss-islington May 1, 2022
54f06ae
[3.9] gh-92049: Forbid pickling constants re._constants.SUCCESS etc (…
serhiy-storchaka May 1, 2022
07c1cfd
[3.9] build(deps): bump actions/cache from 3.0.1 to 3.0.2 (GH-92111) …
JelleZijlstra May 1, 2022
d05ee91
gh-85679: Recommend `encoding="utf-8"` in tutorial (GH-91778)
miss-islington May 2, 2022
206f416
bpo-36819: Fix crashes in built-in encoders with weird error handlers…
miss-islington May 2, 2022
28cd98f
[3.9] gh-81488: Add recursive wording for issubclass docs (GH-92087) …
slateny May 2, 2022
cafcb2c
gh-84714: Add behavior if dst file exists (GH-91867)
miss-islington May 2, 2022
5a0f3ae
gh-85133: os docs: Add that getenv uses os.environ (GH-91874)
miss-islington May 2, 2022
090a0f6
Fix typo in Programming FAQ (GH-92083)
miss-islington May 2, 2022
0c011cc
asyncio.subprocess: Fix a typo in doc (GH-92030)
miss-islington May 2, 2022
9b7cdfd
gh-88546: glob.glob docs: Make new paragraph for emphasis and reorder…
miss-islington May 2, 2022
1a7867f
concurrent.futures: Fix typo in docstring (GH-92121)
miss-islington May 2, 2022
d113674
gh-91783: Document security considerations for shutil.unpack_archive …
miss-islington May 2, 2022
e48da72
[3.9] Remove effbot urls (GH-26308). (#92162)
pr-watson May 2, 2022
3fe4e46
bpo-6686: Replace String with Bytes in xml.sax.handler documentation …
miss-islington May 2, 2022
51b885a
bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408)…
miss-islington May 2, 2022
7e55730
gh-92106: Add test that subscription works on arbitrary TypedDicts (G…
miss-islington May 3, 2022
1b1c79c
[3.9] gh-91583: AC: Fix regression for functions with defining_class …
serhiy-storchaka May 3, 2022
92d2615
[3.9] bpo-46586: Fix more erroneous doc links to builtins (GH-31429) …
JelleZijlstra May 3, 2022
020f5c4
bpo-46415: Use f-string for ValueError in ipaddress.ip_{address,netwo…
miss-islington May 3, 2022
a23e472
bpo-46604: fix function name in ssl module docstring (GH-31064)
miss-islington May 3, 2022
4ede781
bpo-29890: Test IPv*Interface construction with tuple argument (GH-30…
miss-islington May 3, 2022
696d868
gh-87304: Improve comments in language reference for imports (GH-92164)
miss-islington May 3, 2022
187cb95
[3.9] Improve the typing docs (GH-92264) (#92271)
JelleZijlstra May 3, 2022
524d275
bpo-47029: Fix BrokenPipeError in multiprocessing.Queue at garbage co…
miss-islington May 4, 2022
f84c51e
gh-92036: Fix gc_fini_untrack() (GH-92037)
miss-islington May 4, 2022
d82a769
gh-92223: Remove pre-Python 3.7 alternative in asyncio docs (GH-92224)
miss-islington May 5, 2022
7d17a7b
[3.9] gh-80254: Disallow recursive usage of cursors in `sqlite3` conv…
erlend-aasland May 5, 2022
df48bd9
NEWS: Reorder items by section (GH-92373)
miss-islington May 6, 2022
60407e8
Document the lifetime of `PyUnicode_AsUTF8String` (GH-92325)
miss-islington May 6, 2022
25352d7
Add source for character mappings (GH-92014) (#92388)
miss-islington May 6, 2022
326f6ed
gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-9204…
miss-islington May 6, 2022
4a2337f
gh-92368: Fix missing possessive apostrophe (GH-92397)
miss-islington May 6, 2022
4802344
[3.9] gh-92448: Update the documentation builder to render the GitHub…
corona10 May 8, 2022
731e844
gh-92417: `typing` docs: `from __future__ import annotations` can be …
miss-islington May 8, 2022
0cd0d6b
[3.9] gh-92417: `stdtypes` docs: delete discussion of Python 2 differ…
miss-islington May 8, 2022
bab6954
[3.9] gh-77630: Change Charset to charset (GH-92439) (GH-92477)
miss-islington May 8, 2022
7fd4e65
[3.9] GH-92431: Fix footnotes in Doc/c-api/exceptions.rst (GH-92432)…
miss-islington May 8, 2022
baed0c3
[3.9] gh-92417: `json` docs: `dict` is ordered on all supported Pytho…
miss-islington May 8, 2022
580163d
gh-92417: `logging` docs: Remove warning that only applies to Python …
miss-islington May 8, 2022
08907ad
Fix use of the default role in a news entry. (GH-92500)
miss-islington May 8, 2022
8e523c1
[3.10] gh-90622: Do not spawn ProcessPool workers on demand via fork …
miss-islington May 8, 2022
0dd32b5
gh-77521: Add link to builtin module names in modules tutorial (GH-92…
miss-islington May 8, 2022
bf5fc2a
pdb docs: workaround for double semicolon in strings (GH-17011)
miss-islington May 8, 2022
03aa752
bpo-38056: overhaul Error Handlers section in codecs documentation (G…
miss-islington May 9, 2022
7ae6f1a
CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (GH-92535)
miss-islington May 9, 2022
ad82e12
gh-92417: `asyncio` docs: `asyncio.run()` is available on all support…
miss-islington May 9, 2022
249be82
Doc: Update py2app link. (GH-91585)
miss-islington May 9, 2022
1fb25a9
bpo-46785: Fix race condition between os.stat() and unlink on Windows…
itaisteinherz May 9, 2022
b7a8786
bpo-13553: Document tkinter.Tk args (GH-4786)
miss-islington May 10, 2022
35d589c
gh-92256: Improve Argument Clinic parser error messages (GH-92268)
miss-islington May 10, 2022
7534c50
[3.9] gh-76773: Update docs mentioning no-longer-supported Windows ve…
miss-islington May 10, 2022
3f2113d
[3.9] Fix typo in unittest.rst: addCleanupModule -> addModuleCleanup …
miss-islington May 11, 2022
bfc88d3
[3.9] gh-91810: ElementTree: Use text file's encoding by default in X…
miss-islington May 11, 2022
65d2dfd
bpo-42627: Fix incorrect parsing of Windows registry proxy settings (…
miss-islington May 11, 2022
f6bd1bd
[3.9] gh-92436: __future__ docs: add note on expectations for "from _…
JelleZijlstra May 12, 2022
801f771
[3.9] gh-92311: Let frame_setlineno jump over listcomps (#92740)
sweeneyde May 12, 2022
256c6d0
Fix typo in argparse docs. (GH-92691) (#92731)
thueringa May 13, 2022
f253cf4
Document Py_ssize_t. (GH-92512)
miss-islington May 13, 2022
1aafad1
gh-92611: Link to PEP 594 sections & add key detail in doc deprecatio…
miss-islington May 13, 2022
c4fc53f
gh-87670: Add web.archive redirects from effbot (GH-92816)
miss-islington May 16, 2022
14d0594
gh-92530: Fix an issue that occurred after interrupting threading.Con…
miss-islington May 16, 2022
4d05114
gh-80143: Add clarification for escape characters (GH-92292) (GH-92630)
miss-islington May 16, 2022
1699a5e
Check result of utc_to_seconds and skip fold probe in pure Python (GH…
miss-islington May 16, 2022
518b238
[3.9] bpo-34480: fix bug where match variable is used prior to being …
mareksuscak May 16, 2022
f82b324
[3.9] gh-92112: Fix crash triggered by an evil custom `mro()` (GH-921…
JelleZijlstra May 16, 2022
6de2ca5
Python 3.9.13
ambv May 17, 2022
ab003d0
Post 3.9.13
ambv May 17, 2022
3bc3c89
gh-92417: Update docs and examples of doctest.IGNORE_EXCEPTION_DETAIL…
miss-islington May 19, 2022
9f7cdb2
bpo-45393: help() on operator precedence has misleading entries (GH-3…
miss-islington May 19, 2022
a43f4e7
bpo-46879: Fix incorrect sphinx object names in doc (GH-31615) (GH-92…
miss-islington May 19, 2022
95c9c2b
gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-9…
miss-islington May 24, 2022
e8f2fe3
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…
miss-islington Jun 6, 2022
893adbf
gh-91810: Fix regression with writing an XML declaration with encodin…
miss-islington Jun 16, 2022
defaa2b
gh-87389: Fix an open redirection vulnerability in http.server. (GH-9…
miss-islington Jun 22, 2022
66f4593
gh-91172: Create a workflow for verifying bundled pip and setuptools …
miss-islington Jun 22, 2022
224cd0c
gh-81054: Document that SimpleHTTPRequestHandler follows symbolic lin…
miss-islington Jul 1, 2022
eff4aa5
[3.9] gh-90355: Add isolated flag if currently isolated (GH-92857) (G…
ambv Jul 5, 2022
cd0a59f
gh-94821: Fix autobind of empty unix domain address (GH-94826) (GH-94…
miss-islington Jul 26, 2022
017080f
[3.9] gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-…
ambv Jul 27, 2022
7b87765
[3.9] gh-90359: Update documentation to follow PEP 495. (gh-94800). (…
corona10 Jul 28, 2022
03dc951
gh-95280: Fix test_get_ciphers on systems without RSA key exchange (G…
miss-islington Jul 29, 2022
d348afa
[3.9] gh-91423: Remove bugs.python.org from bugs.rst (GH-91425) (GH-9…
hauntsaninja Aug 4, 2022
cec1e9d
[3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502)
gpshead Sep 5, 2022
816066f
Python 3.9.14
ambv Sep 6, 2022
8388626
Post 3.9.14
ambv Sep 6, 2022
ac3d79c
gh-97032: Set tkinter path for macOS CI (GH-97525)
corona10 Sep 24, 2022
71eddde
[3.9] gh-96845: Fix docs around importlib.abc.Traversable (GH-97515) …
jaraco Oct 4, 2022
94dbdbb
[3.9] gh-87597: Document TimeoutExpired.stdout & .stderr types (GH-97…
miss-islington Oct 4, 2022
d6ef680
[3.9] gh-97612: Fix shell injection in get-remote-certificate.py (GH-…
miss-islington Oct 4, 2022
f65f3a9
[3.9] gh-97616: list_resize() checks for integer overflow (GH-97617) …
miss-islington Oct 4, 2022
9b409e4
[3.9] gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) (gh-97…
miss-islington Oct 4, 2022
4118813
[3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message…
vstinner Oct 4, 2022
938223e
[3.9] gh-96577: Fixes buffer overrun in _msi module (GH-96633) (GH-96…
miss-islington Oct 4, 2022
358b7a4
[3.9] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) (…
miss-islington Oct 4, 2022
77796d0
[3.9] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 1…
miss-islington Oct 6, 2022
da1fe38
[3.9] gh-94208: Add even more TLS version/protocol checks for FreeBSD…
ambv Oct 7, 2022
1db2d95
[3.9] gh-91708: Revert params note in urllib.parse.urlparse table (GH…
miss-islington Oct 7, 2022
7e28154
Python 3.9.15
ambv Oct 11, 2022
bd4e532
Post 3.9.15
ambv Oct 11, 2022
c59a16e
[3.9] gh-68966: Make mailcap refuse to match unsafe filenames/types/p…
miss-islington Oct 11, 2022
157a8b8
[3.9] gh-96710: Make the test timing more lenient for the int/str DoS…
miss-islington Oct 11, 2022
71a075a
[3.9] gh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742) (#98786)
miss-islington Oct 28, 2022
857efee
[3.9] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) (#98526)
miss-islington Oct 28, 2022
b43496c
[3.9] gh-97514: Don't use Linux abstract sockets for multiprocessing …
miss-islington Oct 28, 2022
c09dba5
[3.9] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-9922…
miss-islington Nov 10, 2022
7b98207
[3.9] gh-87604: Avoid publishing list of active per-interpreter audit…
zooba Nov 21, 2022
3b81c13
[3.9] gh-100001: Omit control characters in http.server stderr logs. …
miss-islington Dec 6, 2022
595f9cc
Python 3.9.16
ambv Dec 6, 2022
db577e2
Post 3.9.16
ambv Dec 6, 2022
e8f61ed
Clarify that every thread has its own default context in contextvars …
miss-islington Dec 20, 2022
08210c6
[3.9] Update copyright years to 2023. (gh-100851)
benjaminp Jan 8, 2023
5ef90ee
[3.9] Update copyright year in README (GH-100863) (GH-100865) (GH-100…
miss-islington Jan 9, 2023
b3a8d47
Update socketmodule.c
sebres Jan 13, 2023
c0faf5c
typo in comment
sebres Jan 13, 2023
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
  •  
  •  
  •  
53 changes: 9 additions & 44 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
variables:
manylinux: false
coverage: false

resources:
containers:
- container: manylinux1
image: pyca/cryptography-manylinux1:x86_64
trigger: ['main', '3.10', '3.9', '3.8', '3.7']

jobs:
- job: Prebuild
displayName: Pre-build checks

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

steps:
- template: ./prebuild-checks.yml
Expand All @@ -24,7 +20,7 @@ jobs:
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

steps:
- template: ./docs-steps.yml
Expand All @@ -44,7 +40,7 @@ jobs:
testRunPlatform: macos

pool:
vmImage: macos-10.14
vmImage: macos-10.15

steps:
- template: ./macos-steps.yml
Expand All @@ -56,50 +52,19 @@ jobs:
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

variables:
testRunTitle: '$(build.sourceBranchName)-linux'
testRunPlatform: linux
openssl_version: 1.1.1f
openssl_version: 1.1.1n

steps:
- template: ./posix-steps.yml
parameters:
dependencies: apt


- job: ManyLinux1_CI_Tests
displayName: ManyLinux1 CI Tests
dependsOn: Prebuild
condition: |
and(
and(
succeeded(),
eq(variables['manylinux'], 'true')
),
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
)

pool:
vmImage: ubuntu-16.04

container: manylinux1

variables:
testRunTitle: '$(build.sourceBranchName)-manylinux1'
testRunPlatform: manylinux1
openssl_version: ''

steps:
- template: ./posix-steps.yml
parameters:
dependencies: yum
sudo_dependencies: ''
xvfb: false
patchcheck: false


- job: Ubuntu_Coverage_CI_Tests
displayName: Ubuntu CI Tests (coverage)
dependsOn: Prebuild
Expand All @@ -113,12 +78,12 @@ jobs:
)

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

variables:
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
testRunPlatform: linux-coverage
openssl_version: 1.1.1f
openssl_version: 1.1.1n

steps:
- template: ./posix-steps.yml
Expand All @@ -139,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
53 changes: 9 additions & 44 deletions .azure-pipelines/pr.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
variables:
manylinux: false
coverage: false

resources:
containers:
- container: manylinux1
image: pyca/cryptography-manylinux1:x86_64
pr: ['main', '3.10', '3.9', '3.8', '3.7']

jobs:
- job: Prebuild
displayName: Pre-build checks

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

steps:
- template: ./prebuild-checks.yml
Expand All @@ -24,7 +20,7 @@ jobs:
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

steps:
- template: ./docs-steps.yml
Expand All @@ -42,7 +38,7 @@ jobs:
testRunPlatform: macos

pool:
vmImage: macos-10.14
vmImage: macos-10.15

steps:
- template: ./macos-steps.yml
Expand All @@ -56,50 +52,19 @@ jobs:
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
testRunPlatform: linux
openssl_version: 1.1.1f
openssl_version: 1.1.1n

steps:
- template: ./posix-steps.yml
parameters:
dependencies: apt


- job: ManyLinux1_PR_Tests
displayName: ManyLinux1 PR Tests
dependsOn: Prebuild
condition: |
and(
and(
succeeded(),
eq(variables['manylinux'], 'true')
),
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
)

pool:
vmImage: ubuntu-16.04

container: manylinux1

variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-manylinux1'
testRunPlatform: manylinux1
openssl_version: ''

steps:
- template: ./posix-steps.yml
parameters:
dependencies: yum
sudo_dependencies: ''
xvfb: false
patchcheck: false


- job: Ubuntu_Coverage_PR_Tests
displayName: Ubuntu PR Tests (coverage)
dependsOn: Prebuild
Expand All @@ -113,12 +78,12 @@ jobs:
)

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

variables:
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
testRunPlatform: linux-coverage
openssl_version: 1.1.1f
openssl_version: 1.1.1n

steps:
- template: ./posix-steps.yml
Expand All @@ -139,7 +104,7 @@ jobs:
matrix:
win32:
arch: win32
buildOpt:
buildOpt: '-p Win32'
testRunTitle: '$(System.PullRequest.TargetBranch)-win32'
testRunPlatform: win32
win64:
Expand Down
6 changes: 6 additions & 0 deletions .azure-pipelines/windows-release/msi-steps.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
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=SigningDescription]Python $($d.PythonVersion)"
displayName: 'Update signing description'
condition: and(succeeded(), not(variables['SigningDescription']))

- task: DownloadPipelineArtifact@1
displayName: 'Download artifact: doc'
inputs:
Expand Down
11 changes: 9 additions & 2 deletions .azure-pipelines/windows-release/stage-pack-msix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,26 @@ jobs:
clean: all

steps:
- checkout: none
- template: ./checkout.yml
- template: ./find-sdk.yml

- powershell: |
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
displayName: 'Update signing description'
condition: and(succeeded(), not(variables['SigningDescription']))

- task: DownloadBuildArtifacts@0
displayName: 'Download Artifact: unsigned_msix'
inputs:
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
8 changes: 7 additions & 1 deletion .azure-pipelines/windows-release/stage-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
- template: ./checkout.yml
- template: ./find-sdk.yml

- powershell: |
$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)"
displayName: 'Update signing description'
condition: and(succeeded(), not(variables['SigningDescription']))

- powershell: |
Write-Host "##vso[build.addbuildtag]signed"
displayName: 'Add build tags'
Expand All @@ -51,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
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*.{py,c,cpp,h,rst,md,yml}]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space

[*.{py,c,cpp,h}]
indent_size = 4

[*.yml]
indent_size = 2
7 changes: 2 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf

# Generated files
# https://github.com/github/linguist#generated-code
# https://github.com/github/linguist/blob/master/docs/overrides.md
Include/graminit.h linguist-generated=true
Python/graminit.h linguist-generated=true
Modules/clinic/*.h linguist-generated=true
Objects/clinic/*.h linguist-generated=true
PC/clinic/*.h linguist-generated=true
Python/clinic/*.h linguist-generated=true
**/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
Expand Down
9 changes: 5 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ Include/pytime.h @pganssle @abalkin

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

# SQLite 3
**/*sqlite* @berkerpeksag
**/*sqlite* @berkerpeksag @erlend-aasland

# subprocess
/Lib/subprocess.py @gpshead
Expand Down Expand Up @@ -110,7 +111,7 @@ Include/pytime.h @pganssle @abalkin

**/*idlelib* @terryjreedy

**/*typing* @gvanrossum @ilevkivskyi
**/*typing* @gvanrossum @Fidget-Spinner @JelleZijlstra

**/*asyncore @giampaolo
**/*asynchat @giampaolo
Expand Down
Loading