Skip to content

gh-89896: importlib.abc.Traversable.name is an attribute not a method #93701

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 1,629 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1629 commits
Select commit Hold shift + click to select a range
604d003
[3.10] bpo-28516: document contextlib.ExitStack.__enter__ behavior (G…
JelleZijlstra Mar 29, 2022
11408ff
ctypes docs: Fix array-length reference to "non-negative" from "posit…
miss-islington Mar 29, 2022
370900d
Fix typo in the sqlite3 docs (GH-31915) (GH-32157)
miss-islington Mar 29, 2022
66cde7c
bpo-42340: Document issues around KeyboardInterrupt (GH-23255)
miss-islington Mar 29, 2022
1f2ec4c
bpo-46775: OSError should call winerror_to_errno unconditionally on W…
miss-islington Mar 31, 2022
625f670
bpo-14911: Corrected generator.throw() documentation (GH-32207)
miss-islington Mar 31, 2022
9ed179b
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)
miss-islington Mar 31, 2022
55d5c96
[3.10] bpo-47182: Fix crash by named unicode characters after interpr…
tiran Apr 1, 2022
1069d52
bpo-47089: Avoid test_compileall failures on Windows (GH-32037)
miss-islington Apr 1, 2022
16a809f
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-2503…
miss-islington Apr 2, 2022
5830a28
More minor fixes to C API docs (GH-31714)
miss-islington Apr 2, 2022
319a70c
bpo-47031: Improve documentation for `math.nan` (GH-32170)
miss-islington Apr 2, 2022
23c0200
bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845)
miss-islington Apr 2, 2022
2d936a4
codecs docs: fix grammar mistake (GH-29462)
miss-islington Apr 2, 2022
8d9a75b
os docs: fix typo (GH-28996)
miss-islington Apr 2, 2022
3031b86
bpo-45584: Clarify `math.trunc` documentation (GH-29183)
miss-islington Apr 2, 2022
a930062
[3.10] Document func parameter of locale.atof (GH-18183) (GH-32262)
JelleZijlstra Apr 2, 2022
11f5fd1
[3.10] More minor fixes to C API docs (GH-31525) (GH-32258)
JelleZijlstra Apr 2, 2022
ce6af31
bpo-24563: Link encoding names to encoding declarations (GH-32274)
miss-islington Apr 3, 2022
a5c9078
Language reference: Remove duplicated text about iterable unpacking (…
miss-islington Apr 3, 2022
470dfe2
bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-3…
miss-islington Apr 3, 2022
a331d0f
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
miss-islington Apr 3, 2022
29ffac2
Demonstrate `py --list` in the quickstart section of the Windows doc …
miss-islington Apr 4, 2022
6b4b892
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
miss-islington Apr 4, 2022
3fa800d
bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)
miss-islington Apr 5, 2022
f502dad
bpo-47007: [doc] `str` special method lookup (GH-31863)
miss-islington Apr 5, 2022
f4e711b
bpo-45790: List macros in same order in which fields are described (G…
miss-islington Apr 5, 2022
d95e072
bpo-32658: Regex docs: Fix metacharacter reference (GH-32230)
miss-islington Apr 5, 2022
97151e1
crypt docs: Fix references to `methods` attr (GH-26806)
miss-islington Apr 5, 2022
857cf55
bpo-40982: shutil docs: Remove outdated copytree() example (GH-24778)
miss-islington Apr 5, 2022
94609e3
[3.10] Backport bpo-47212 (GH-32302) to Python 3.10 (GH-32334)
MatthieuDartiailh Apr 5, 2022
8bce3cb
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-…
jkloth Apr 5, 2022
3856b49
bpo-47235: Note where a typo is intentional in code. (GH-32348)
miss-islington Apr 6, 2022
80af26d
[3.10] bpo-46769: Fix backticks in typing.rst to appease rstlint (GH-…
Fidget-Spinner Apr 6, 2022
55abb0e
stdtypes docs: fix typo (GH-32349) (GH-32370)
miss-islington Apr 7, 2022
08bd308
pkgutil docs: Link sys constants, add backticks (GH-32356)
miss-islington Apr 7, 2022
b217ba7
ssl docs: Fix typo (GH-32314)
miss-islington Apr 7, 2022
ccac631
doc: Link to `string.capwords` from `str.title` (GH-20913)
miss-islington Apr 7, 2022
b4abef2
c-api docs: There are five fields, not four (GH-32379)
miss-islington Apr 7, 2022
877fd62
ssl docs: Fix typo (GH-32336)
miss-islington Apr 7, 2022
b0ec17b
bpo-47103: Copy pgort140.dll into output directory when building PGIn…
zooba Apr 7, 2022
89192c4
pickle docs: Fix typos and improve wording (GH-24776) (GH-32395)
miss-islington Apr 8, 2022
69edc30
Fix bad grammar and import docstring for split/rsplit (GH-32381) (GH-…
miss-islington Apr 8, 2022
89697f7
bpo-47260: Fix os.closerange() potentially being a no-op in a seccomp…
miss-islington Apr 8, 2022
72114c0
gh-91421: Use constant value check during runtime (GH-91422) (GH-91492)
miss-islington Apr 14, 2022
52ce75f
gh-90879: Fix missing parameter for put_nowait() (GH-91514)
miss-islington Apr 14, 2022
35fef27
Add redirects to Misc/NEWS bpo links (GH-91454) (GH-91535)
miss-islington Apr 14, 2022
de7b756
gh-70979: Fix runpy.run_path parameter name in docs (GH-32265)
miss-islington Apr 15, 2022
289f27d
gh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434) (GH-…
miss-islington Apr 15, 2022
2e1f969
Add link to documentation translation list (GH-91560) (#91589)
miss-islington Apr 16, 2022
f5542ec
gh-82849: revise intro to os.path.rst (GH-32232)
miss-islington Apr 16, 2022
84c279b
gh-91595: fix the comparison of character and integer by using ord() …
miss-islington Apr 16, 2022
9a45893
[3.10] gh-91607: Fix several test_concurrent_futures tests to actuall…
gpshead Apr 16, 2022
2bcfe20
gh-90923: Improve sqlite3.Connection.execute* docs (GH-91643)
miss-islington Apr 17, 2022
e5636f3
gh-91541: Fix error in example in modules tutorial (GH-91634)
miss-islington Apr 17, 2022
531f66a
gh-89885: Improve import example in language reference (GH-91523)
miss-islington Apr 17, 2022
0897a0b
Remove duplicate explanation (GH-91534)
miss-islington Apr 18, 2022
61570ae
[3.10] gh-91676 gh-91260 unittest.IsolatedAsyncioTestCase no longer l…
gpshead Apr 19, 2022
b865a66
Doc: Fix link formatting typo (GH-91659)
miss-islington Apr 19, 2022
c213ccc
Add more tests for group names and refs in RE (GH-91695)
miss-islington Apr 19, 2022
a885f10
gh-91231: multiprocessing BaseManager waits 1.0 second (#91701)
vstinner Apr 19, 2022
e7e8a9f
[3.10] gh-91118: Fix docstrings that do not honor --without-doc-strin…
arhadthedev Apr 19, 2022
68caef8
build(deps): bump actions/setup-python from 2 to 3 (GH-31630)
miss-islington Apr 19, 2022
e08d323
gh-87497: Document that urllib.request sends headers in camel case (G…
miss-islington Apr 20, 2022
f92aa4f
Fix awkward sentence in signal docs (GH-91508)
miss-islington Apr 20, 2022
8299e24
Add link to sys.path in os lib (GH-91679)
miss-islington Apr 20, 2022
942ea19
Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32372)
Fidget-Spinner Apr 20, 2022
88bbc5d
bpo-30718: Add information about text buffering (GH-32351)
miss-islington Apr 20, 2022
923ef87
gh-91734: Fix ossaudio support on Solaris (GH-91735)
miss-islington Apr 20, 2022
73af4b0
bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622)
zooba Apr 20, 2022
c33524e
[3.10] build(deps): bump actions/checkout from 2 to 3 (GH-32226) (#91…
JelleZijlstra Apr 20, 2022
886b22c
bpo-23747: Enhance platform doc, document default behavior (GH-31462)
miss-islington Apr 20, 2022
d8d5db5
[3.10] build(deps): bump actions/cache from 2.1.7 to 3.0.1 (GH-32228)…
JelleZijlstra Apr 21, 2022
9f8b9a3
[3.10] build(deps): bump actions/upload-artifact from 2.3.1 to 3 (GH-…
JelleZijlstra Apr 21, 2022
9c18d78
[3.10] gh-90568: Fix exception type for \N with a named sequence in R…
serhiy-storchaka Apr 22, 2022
080781c
[3.10] gh-91700: Validate the group number in conditional expression …
serhiy-storchaka Apr 22, 2022
1748816
[3.10] gh-91575: Update case-insensitive matching in re to the latest…
serhiy-storchaka Apr 22, 2022
7ade777
gh-91547: Remove "Undocumented modules" page (GH-91682)
miss-islington Apr 22, 2022
0482ed7
gh-85864: Mark positional-only args in io docs (GH-91683)
miss-islington Apr 23, 2022
c7e6bfd
RE: Add more tests for inline flag "x" and re.VERBOSE (GH-91854)
miss-islington Apr 23, 2022
dc31334
[3.10] Update Sphinx bpo role to use redirect URI. (#91890)
ezio-melotti Apr 24, 2022
971343e
gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905)
miss-islington Apr 25, 2022
4120bba
[3.10] gh-91888: add a :gh: role to the documentation (GH-91889) (#91…
ezio-melotti Apr 26, 2022
79712c9
gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920)
miss-islington Apr 26, 2022
3e219d3
gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919)
miss-islington Apr 26, 2022
dbe666d
[3.10] gh-91915: Fix test_netrc on non-UTF-8 locale (GH-91918). (GH-9…
serhiy-storchaka Apr 26, 2022
280749a
Fix missing `f` prefix on f-strings (GH-91910)
miss-islington Apr 27, 2022
a36d97e
gh-68966: Document mailcap deprecation in Python 3.11 (#91971)
vstinner Apr 27, 2022
777d478
gh-91810: Expand ElementTree.write() tests to use non-ASCII data (GH-…
miss-islington Apr 27, 2022
86e4bda
gh-84459: Make wording more specific for Path.replace (GH-91853)
miss-islington Apr 27, 2022
e2514cb
Correct method name typo (GH-91970)
miss-islington Apr 27, 2022
e25799d
Add note that headers added via urllib.request.add_header are added t…
miss-islington Apr 27, 2022
11652ce
gh-91832: Add 'required' attr to argparse.Action repr (GH-91841)
miss-islington Apr 28, 2022
7bd4411
bpo-26792: Improve docstrings of runpy module run_functions (GH-30729)
miss-islington Apr 29, 2022
7149b21
sorting howto: Add clarification on < using __lt__ (GH-92010)
miss-islington Apr 29, 2022
19a0796
bpo-43323: Fix UnicodeEncodeError in the email module (GH-32137)
miss-islington Apr 30, 2022
e8ff3c9
[3.10] gh-92049: Forbid pickling constants re._constants.SUCCESS etc …
serhiy-storchaka Apr 30, 2022
5ed9556
gh-85864: io docs: Add missing position-only parameters (GH-91950)
miss-islington Apr 30, 2022
cfcda0a
gh-87192: Update wording for fcntl 'Changed in' (GH-91658)
miss-islington Apr 30, 2022
335aae1
gh-87801: Add run() to subprocess.CalledProcessError description (GH-…
miss-islington Apr 30, 2022
8b6e5d3
gh-89253: Add 3.10 whatsnew section for itertools.pairwise (GH-91563)
miss-islington Apr 30, 2022
31e35be
gh-91611: Use example.com for documentation, not mydomain.com (GH-91613)
miss-islington May 1, 2022
a48d31f
gh-81488: Add recursive wording for issubclass docs (GH-92087)
miss-islington May 1, 2022
e7de543
typing docs: Add example for async functions (GH-20386)
miss-islington May 1, 2022
ea1eba0
[3.10] gh-91401: Conservative backport of `subprocess._USE_VFORK` (#9…
gpshead May 1, 2022
1fd3ab7
[3.10] build(deps): bump actions/stale from 4 to 5 (GH-92108) (#92127)
JelleZijlstra May 1, 2022
a7d3de7
gh-85679: Recommend `encoding="utf-8"` in tutorial (GH-91778)
miss-islington May 2, 2022
d985c8e
bpo-36819: Fix crashes in built-in encoders with weird error handlers…
miss-islington May 2, 2022
bba721d
gh-84714: Add behavior if dst file exists (GH-91867)
miss-islington May 2, 2022
9ce39cc
gh-85133: os docs: Add that getenv uses os.environ (GH-91874)
miss-islington May 2, 2022
9941640
asyncio.subprocess: Fix a typo in doc (GH-92030)
miss-islington May 2, 2022
446cc03
gh-88546: glob.glob docs: Make new paragraph for emphasis and reorder…
miss-islington May 2, 2022
ac50827
concurrent.futures: Fix typo in docstring (GH-92121)
miss-islington May 2, 2022
6712022
[3.10] build(deps): bump actions/cache from 3.0.1 to 3.0.2 (GH-92111)…
JelleZijlstra May 2, 2022
178d79a
[3.10] gh-89301: Fix regression with bound values in traced SQLite st…
erlend-aasland May 2, 2022
0e9927b
gh-92082: contextlib docs: Change aclosing from a class to a function…
miss-islington May 2, 2022
864058b
[3.10] Fix typo in Programming FAQ (GH-92083) (GH-92148)
miss-islington May 2, 2022
bab4d0b
gh-91783: Document security considerations for shutil.unpack_archive …
miss-islington May 2, 2022
c8ab163
[3.10] bpo-43504: Remove effbot urls (GH-26308) (#92161)
pr-watson May 2, 2022
d851f37
importlib docs: Update importlib.abc hierarchy (GH-31113)
miss-islington May 2, 2022
f44e629
bpo-6686: Replace String with Bytes in xml.sax.handler documentation …
miss-islington May 2, 2022
c467812
bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408)…
miss-islington May 2, 2022
5f40cb8
bpo-46586: Fix more erroneous doc links to builtins (GH-31429)
miss-islington May 2, 2022
adc06cd
gh-92106: Add test that subscription works on arbitrary TypedDicts (G…
miss-islington May 3, 2022
62ddbbc
[3.10] gh-91583: AC: Fix regression for functions with defining_class…
serhiy-storchaka May 3, 2022
5f709bd
bpo-46415: Use f-string for ValueError in ipaddress.ip_{address,netwo…
miss-islington May 3, 2022
58f2d2d
bpo-46604: fix function name in ssl module docstring (GH-31064)
miss-islington May 3, 2022
30681d6
bpo-29890: Test IPv*Interface construction with tuple argument (GH-30…
miss-islington May 3, 2022
666820c
gh-87304: Improve comments in language reference for imports (GH-92164)
miss-islington May 3, 2022
31d9a88
[3.10] Improve the typing docs (GH-92264) (#92270)
JelleZijlstra May 3, 2022
28eea73
bpo-47029: Fix BrokenPipeError in multiprocessing.Queue at garbage co…
miss-islington May 4, 2022
178a238
gh-92036: Fix gc_fini_untrack() (GH-92037)
miss-islington May 4, 2022
bb2dcf1
gh-92223: Remove pre-Python 3.7 alternative in asyncio docs (GH-92224)
miss-islington May 5, 2022
9b47252
[3.10] gh-92118: Add test for traceback when exception is modified by…
miss-islington May 5, 2022
2a2421e
[3.10] gh-80254: Disallow recursive usage of cursors in `sqlite3` con…
erlend-aasland May 5, 2022
0eef443
Issues/88027: A potential double free in list_sort_impl (GH-92367)
miss-islington May 6, 2022
3db0e0b
NEWS: Reorder items by section (GH-92373)
miss-islington May 6, 2022
367faf7
Document the lifetime of `PyUnicode_AsUTF8String` (GH-92325)
miss-islington May 6, 2022
b5f5993
Add source for character mappings (GH-92014) (#92389)
miss-islington May 6, 2022
229dc17
gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-9204…
miss-islington May 6, 2022
17f3b5c
gh-92368: Fix missing possessive apostrophe (GH-92397)
miss-islington May 6, 2022
4674b31
[3.10] gh-92112: Fix crash triggered by an evil custom `mro()` (GH-92…
JelleZijlstra May 7, 2022
731d893
[3.10] gh-92448: Update the documentation builder to render the GitHu…
corona10 May 8, 2022
80ce701
gh-92417: `typing` docs: `from __future__ import annotations` can be …
miss-islington May 8, 2022
8c42fef
[3.10] gh-92417: `stdtypes` docs: delete discussion of Python 2 diffe…
miss-islington May 8, 2022
a7d869a
[3.10] gh-77630: Change Charset to charset (GH-92439) (GH-92476)
miss-islington May 8, 2022
f40731f
[3.10] GH-92431: Fix footnotes in Doc/c-api/exceptions.rst (GH-92432…
miss-islington May 8, 2022
45ed69b
[3.10] gh-92417: `doctest` docs: remove references to Python <3.6 (GH…
miss-islington May 8, 2022
2164b5b
[3.10] gh-92417: `json` docs: `dict` is ordered on all supported Pyth…
miss-islington May 8, 2022
e363034
[3.10] gh-92417: `asyncio` docs: `asyncio.run()` is available on all …
miss-islington May 8, 2022
15cb6e8
gh-92417: `logging` docs: Remove warning that only applies to Python …
miss-islington May 8, 2022
1dbf699
gh-80856: doc: reveal doctest directives (GH-92318)
miss-islington May 8, 2022
b795376
[3.10] gh-90622: Do not spawn ProcessPool workers on demand via fork …
gpshead May 8, 2022
8883172
Fix use of the default role in a news entry. (#92500)
ezio-melotti May 8, 2022
ca425ac
gh-77521: Add link to builtin module names in modules tutorial (GH-92…
miss-islington May 8, 2022
6679fdf
pdb docs: workaround for double semicolon in strings (GH-17011)
miss-islington May 8, 2022
1585796
bpo-39229: fix formatting in library/functions.rst (GH-17857)
miss-islington May 8, 2022
cd11068
bpo-38056: overhaul Error Handlers section in codecs documentation (G…
miss-islington May 9, 2022
eded103
CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (GH-92535)
miss-islington May 9, 2022
826ceab
Doc: Update py2app link. (GH-91585)
miss-islington May 9, 2022
5ed2f11
bpo-13553: Document tkinter.Tk args (GH-4786)
miss-islington May 10, 2022
7954b66
gh-92256: Improve Argument Clinic parser error messages (GH-92268)
miss-islington May 10, 2022
dd0e8a6
[3.10] gh-76773: Update docs mentioning no-longer-supported Windows v…
miss-islington May 10, 2022
9be9b58
bpo-46785: Fix race condition between os.stat() and unlink on Windows…
itaisteinherz May 10, 2022
d435ebd
gh-91966 Document where key functions are applied in the bisect modul…
miss-islington May 11, 2022
7a84ea4
[3.10] Fix typo in unittest.rst: addCleanupModule -> addModuleCleanup…
miss-islington May 11, 2022
4730b0d
[3.10] gh-91810: ElementTree: Use text file's encoding by default in …
miss-islington May 11, 2022
9f29bdd
Fix minor documentation error in bisect docs (GH-92697)
miss-islington May 11, 2022
9743524
bpo-42627: Fix incorrect parsing of Windows registry proxy settings (…
miss-islington May 12, 2022
5d62759
gh-92436: __future__ docs: add note on expectations for "from __futur…
miss-islington May 12, 2022
a24e676
[3.10] gh-92311: Let frame_setlineno jump over listcomps (GH-92717)
sweeneyde May 12, 2022
48f2d8d
Document Py_ssize_t. (GH-92512)
miss-islington May 13, 2022
597ff24
gh-92611: Link to PEP 594 sections & add key detail in doc deprecatio…
miss-islington May 13, 2022
56e9fb3
Fix typo in argparse docs. (GH-92691) (#92729)
thueringa May 13, 2022
36d42e7
Check result of utc_to_seconds and skip fold probe in pure Python (GH…
miss-islington May 14, 2022
93d9b78
gh-87670: Add web.archive redirects from effbot (GH-92816)
miss-islington May 16, 2022
cfb9248
Speedup: build docs in parallel (GH-92733) (GH-92850)
hugovk May 16, 2022
e29ce9a
gh-92530: Fix an issue that occurred after interrupting threading.Con…
miss-islington May 16, 2022
006b302
gh-80143: Add clarification for escape characters (GH-92292) (GH-92629)
miss-islington May 16, 2022
add8820
Fix NULL test in _testinternalcapi (GH-92861)
miss-islington May 17, 2022
009aeb6
bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-…
miss-islington May 18, 2022
1815d8e
gh-91755: Document Py_IncRef and Py_DecRef as C functions (GH-91805)
miss-islington May 18, 2022
94e21cf
gh-92780: Improve sqlite3.Connection.create_collation docs (GH-92790)
miss-islington May 18, 2022
ed75d21
bpo-40838: document `getdoc`, `getmodule`, `getsourcefile` in `inspec…
miss-islington May 18, 2022
17524b0
gh-92812: Align ArgumentParser.add_subparsers() docs with argument sp…
miss-islington May 18, 2022
3e534b4
Doc: amend ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 wording (GH-92634)
miss-islington May 19, 2022
56c8d7c
gh-92670: Skip test_shutil.TestCopy.test_copyfile_nonexistent_dir on …
miss-islington May 19, 2022
4e289e2
gh-92417: Update docs and examples of doctest.IGNORE_EXCEPTION_DETAIL…
miss-islington May 19, 2022
fb566ca
bpo-45393: help() on operator precedence has misleading entries (GH-3…
miss-islington May 19, 2022
ebf3f12
gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) …
miss-islington May 19, 2022
93ebac7
gh-92417: `fractions`, `decimal`: Improve docs for alternative constr…
miss-islington May 19, 2022
3d47035
gh-92417: `subprocess` docs: remove note on compatibility with Python…
miss-islington May 19, 2022
5d7f3dc
bpo-46879: Fix incorrect sphinx object names in doc (GH-31615) (GH-92…
miss-islington May 19, 2022
c146525
[3.10] bpo-28249: fix `lineno` location for empty `DocTest` instances…
ambv May 19, 2022
4952608
gh-92984: Explicitly disable incremental linking for Windows Release …
miss-islington May 19, 2022
4d363d8
Doc: add missing manpage and title references in tkinter docs (GH-29008)
miss-islington May 20, 2022
3c2a1e7
[3.10] gh-72073: Add Windows case in pathlib.rename (GH-93002) (GH-93…
miss-islington May 20, 2022
54b5e4d
gh-91362: reword pickle docs to account for nested classes (GH-92429)
miss-islington May 21, 2022
619a67c
gh-73137: Added sub-subsection headers for flags in re (GH-93000)
miss-islington May 23, 2022
936eefc
gh-92994: Clarify importlib "check" example (GH-92995)
miss-islington May 23, 2022
c8f1095
gh-89158: Add some REPL secondary prompt markers (GH-93073)
miss-islington May 23, 2022
b15b94d
gh-93010: InvalidHeaderError used but nonexistent (GH-93015)
miss-islington May 23, 2022
251104f
[3.10] gh-92859: Doc: add info about logging.debug() calling basicCon…
miss-islington May 23, 2022
c1b1249
gh-93061: Mark as artificial: backwards jump after async for (GH-93120)
sweeneyde May 23, 2022
a4bea26
gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-9…
miss-islington May 24, 2022
db2b1e1
GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93…
miss-islington May 24, 2022
502dba0
GH-89369: test_contextlib_async finalizes event loop after each test …
miss-islington May 24, 2022
2d5d01f
test.pythoninfo no longer requires socket (GH-93191)
miss-islington May 25, 2022
132ea29
[3.10] gh-83245: Raise BadZipFile instead of ValueError when reading …
miss-islington May 25, 2022
02d35fc
test_threaded_import: Fix unittest.main spelling (GH-93114)
miss-islington May 25, 2022
9369942
[3.10] gh-91924: Fix __ltrace__ for non-UTF-8 stdout encoding (#93214)
vstinner May 25, 2022
9912b3d
gh-77024: test.support: Improve documentation (GH-92513)
miss-islington May 27, 2022
550c44b
gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) (#93321)
miss-islington May 28, 2022
738c730
gh-92240 : Include release dates for "What's New In Python 3.X" (GH-9…
miss-islington May 29, 2022
561c709
test.pythoninfo logs more build info (GH-93225) (#93256)
miss-islington May 29, 2022
c649526
[3.10] gh-93217: fix some issues in man page and --help (GH-93219) (#…
merwok May 29, 2022
aa06a84
bpo-42272: fix misleading warning filter message/module docs (GH-23172)
miss-islington May 30, 2022
372afb7
Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93340)
miss-islington May 30, 2022
694455d
Remove VOC reference (93333)
miss-islington May 31, 2022
0b7aae8
Remove the execution bit to some socket-related files. (GH-93368)
miss-islington Jun 1, 2022
855be47
gh-93418: Fix an assert when an f-string expression is followed by an…
miss-islington Jun 2, 2022
9cdfd1b
test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467)
miss-islington Jun 3, 2022
b382bf5
gh-93156 - fix negative indexing into absolute `pathlib.PurePath().pa…
miss-islington Jun 3, 2022
7b3cf3a
gh-92886: Fix test that fails when running with `-O` in `test_imaplib…
miss-islington Jun 4, 2022
60adc4b
Fix missing word in sys.float_info docstring (GH-93489) (GH-93496)
miss-islington Jun 4, 2022
2f8aae3
gh-89973: Fix re.error in the fnmatch module. (GH-93072)
miss-islington Jun 5, 2022
fd247db
gh-93247: Fix assert function in asyncio locks test (GH-93248)
miss-islington Jun 6, 2022
f377153
Python 3.10.5
pablogsal Jun 6, 2022
3d19051
📝 Make sure the phrase "constant-time compare" actually appears in th…
miss-islington Jun 6, 2022
632eef7
[3.10] gh-93108: Bump sphinx to fix rendering issue. (GH-93159)
JulienPalard Jun 6, 2022
8dc8b27
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…
miss-islington Jun 6, 2022
ce057ae
gh-93372: Fix typo in os.rename documentation (GH-93401) (GH-93404)
miss-islington Jun 6, 2022
1b7996c
Post 3.10.5
pablogsal Jun 6, 2022
386babe
gh-93391: fix typo in `array` docs (GH-93392) (GH-93395)
miss-islington Jun 6, 2022
2fe016f
Merge remote-tracking branch 'upstream/3.10' into 3.10
pablogsal Jun 6, 2022
6b7b901
gh-86986: bump min sphinx version to 3.2 (GH-93337) (GH-93562)
miss-islington Jun 7, 2022
9204364
gh-92914: Round the allocated size for lists up to the even number (G…
miss-islington Jun 7, 2022
c7b5a2d
gh-88831: In docs for asyncio.create_task, explain why strong referen…
miss-islington Jun 7, 2022
b4fdd8c
gh-57539: Increase calendar test coverage (GH-93468) (GH-93565)
miss-islington Jun 7, 2022
6b91224
[3.10] Fix `PurePath.relative_to` links in the pathlib documentation …
jacksonriley Jun 7, 2022
9cc0afc
[3.10] gh-93421: Update sqlite3 cursor.rowcount only after SQLITE_DON…
erlend-aasland Jun 8, 2022
2139583
Doc: Update references and examples of old, unsupported OSes and uarc…
miss-islington Jun 9, 2022
8d8251a
gh-90763: Modernise xx template module initialisation (GH-93078)
miss-islington Jun 10, 2022
2ad51c6
gh-90549: Fix leak of global named resources using multiprocessing sp…
miss-islington Jun 10, 2022
a0c7df0
gh-90494: Reject 6th element of the __reduce__() tuple (GH-93609) (GH…
miss-islington Jun 10, 2022
5b2ad48
gh-87961: Remove outdated notes from functions that aren't in the Lim…
miss-islington Jun 10, 2022
a2695be
[3.10] Improve logging documentation with example and additional cook…
miss-islington Jun 10, 2022
9041b00
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour…
zooba Jun 10, 2022
8f36c73
[3.10] gh-93671: Avoid exponential backtracking in deeply nested sequ…
pablogsal Jun 10, 2022
a43d8dc
`importlib.abc.Traversable.name` is an attribute, not a method
warsaw Jun 10, 2022
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
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
variables:
coverage: false

trigger: ['master', '3.9', '3.8', '3.7']
trigger: ['main', '3.10', '3.9', '3.8', '3.7']

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

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

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

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

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

steps:
- template: ./posix-steps.yml
Expand All @@ -78,12 +78,12 @@ jobs:
)

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

steps:
- template: ./posix-steps.yml
Expand Down
16 changes: 8 additions & 8 deletions .azure-pipelines/pr.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
variables:
coverage: false

pr: ['master', '3.9', '3.8', '3.7']
pr: ['main', '3.10', '3.9', '3.8', '3.7']

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

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

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

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

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

steps:
- template: ./posix-steps.yml
Expand All @@ -78,12 +78,12 @@ jobs:
)

pool:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04

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

steps:
- template: ./posix-steps.yml
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,11 +40,8 @@ PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf

# Generated files
# https://github.com/github/linguist#generated-code
Modules/clinic/*.h linguist-generated=true
Objects/clinic/*.h linguist-generated=true
PC/clinic/*.h linguist-generated=true
Python/clinic/*.h linguist-generated=true
# https://github.com/github/linguist/blob/master/docs/overrides.md
**/clinic/*.h linguist-generated=true
Python/importlib.h linguist-generated=true
Python/importlib_external.h linguist-generated=true
Include/internal/pycore_ast.h linguist-generated=true
Expand Down
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Lib/ast.py @isidentical
/Lib/unittest/test/testmock/* @cjw296

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

# subprocess
/Lib/subprocess.py @gpshead
Expand Down Expand Up @@ -128,7 +128,7 @@ Lib/ast.py @isidentical

**/*idlelib* @terryjreedy

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

**/*asyncore @giampaolo
**/*asynchat @giampaolo
Expand Down
5 changes: 2 additions & 3 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ https://devguide.python.org/#status-of-python-branches
## Reporting a Vulnerability

Please read the guidelines on reporting security issues [on the
official website](
https://www.python.org/news/security/#reporting-security-issues-in-python
) for instructions on how to report a security-related problem to
official website](https://www.python.org/dev/security/) for
instructions on how to report a security-related problem to
the Python team responsibly.

To reach the response team, email `security at python dot org`.
80 changes: 64 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
push:
branches:
- master
- 3.10
- 3.9
- 3.8
- 3.7
pull_request:
branches:
- master
- 3.10
- 3.9
- 3.8
- 3.7
Expand All @@ -25,7 +27,7 @@ jobs:
run_tests: ${{ steps.check.outputs.run_tests }}
run_ssl_tests: ${{ steps.check.outputs.run_ssl_tests }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check for source changes
id: check
run: |
Expand All @@ -51,16 +53,50 @@ jobs:
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_abi:
name: 'Check if the ABI has changed'
runs-on: ubuntu-20.04
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
sudo apt-get install -yq abigail-tools
- name: Build CPython
env:
CFLAGS: -g3 -O0
run: |
# Build Python with the libpython dynamic library
./configure --enable-shared
make -j4
- name: Check for changes in the ABI
run: make check-abidump

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
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: Add ccache to PATH
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
- name: Check Autoconf version 2.69 and aclocal 1.16.3
run: |
grep "Generated by GNU Autoconf 2.69" configure
grep "aclocal 1.16.3" aclocal.m4
grep -q "runstatedir" configure
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
- name: Regenerate autoconf files
run: docker run --rm -v $(pwd):/src quay.io/tiran/cpython_autoconf:269
- name: Build CPython
run: |
# Build Python with the libpython dynamic library
Expand All @@ -71,9 +107,10 @@ jobs:
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 ;)"
if test -n "$changes"; then
echo "Generated files not up to date."
echo "Perhaps you forgot to run make regen-all or build.bat --regen. ;)"
echo "configure files must be regenerated with a specific, unpatched version of autoconf."
echo "$changes"
exit 1
fi
Expand All @@ -87,8 +124,10 @@ jobs:
runs-on: windows-latest
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
IncludeUwp: 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build CPython
run: .\PCbuild\build.bat -e -p Win32
- name: Display build info
Expand All @@ -101,8 +140,10 @@ jobs:
runs-on: windows-latest
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
IncludeUwp: 'true'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Register MSVC problem matcher
run: echo "::add-matcher::.github/problem-matchers/msvc.json"
- name: Build CPython
Expand All @@ -117,10 +158,16 @@ jobs:
runs-on: macos-latest
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Prepare homebrew environment variables
run: |
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
- name: Configure CPython
run: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev
run: ./configure --with-pydebug --prefix=/opt/python-dev
- name: Build CPython
run: make -j4
- name: Display build info
Expand All @@ -134,9 +181,10 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 1.1.1k
OPENSSL_VER: 1.1.1n
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
Expand All @@ -148,7 +196,7 @@ jobs:
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
uses: actions/cache@v3.0.2
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
Expand Down Expand Up @@ -177,14 +225,14 @@ jobs:
strategy:
fail-fast: false
matrix:
openssl_ver: [1.1.1k, 3.0.0-alpha15]
openssl_ver: [1.1.1n, 3.0.2]
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
- uses: actions/checkout@v3
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
Expand All @@ -196,7 +244,7 @@ jobs:
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
uses: actions/cache@v3.0.2
with:
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
Expand Down
Loading