Skip to content

[3.11] GH-102456 Fix docstring and getopt options for base64 #103183

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,756 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1756 commits
Select commit Hold shift + click to select a range
07d1f99
[3.11] Update copyright years to 2023. (gh-100848) (GH-100849)
miss-islington Jan 9, 2023
074b881
[3.11] Update copyright year in README (GH-100863) (GH-100864)
miss-islington Jan 9, 2023
2d1128e
GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_…
miss-islington Jan 9, 2023
4e096ec
bpo-28356: Document os.rename() behavior on Windows for differing vol…
miss-islington Jan 9, 2023
13453a2
gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901)
miss-islington Jan 10, 2023
03732b1
gh-100893: update bpo reference in Mac README (GH-100905)
miss-islington Jan 10, 2023
ecb3be9
gh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908)
miss-islington Jan 10, 2023
1e74a12
[3.11] Fix typos in Doc folder (GH-100880). (#100914)
hugovk Jan 10, 2023
a7f9afd
[3.11] gh-100916: Convert argument to appropriate type (GH-100917) (G…
miss-islington Jan 10, 2023
1b2459d
[3.11] gh-100160: Remove any deprecation warnings in asyncio.get_even…
serhiy-storchaka Jan 10, 2023
e707671
[3.11] GH-100892: Fix race in clearing `threading.local` (GH-100922).…
kumaraditya303 Jan 11, 2023
b594f25
Skip py.exe launcher tests in full layout CI test (GH-100948)
miss-islington Jan 11, 2023
e8097d4
GH-100894: Updated the doc for `sys.winver` to clarify its usual cont…
miss-islington Jan 12, 2023
db26437
[3.11] gh-100871: Improve `copy` module tests (GH-100872) (#100976)
sobolevn Jan 12, 2023
cb6ff54
[3.11] gh-100931: Test all `pickle` protocols in `test_slice` (GH-100…
sobolevn Jan 12, 2023
7571764
Fix typo in `enum` module documentation (GH-100992)
miss-islington Jan 12, 2023
55a26de
gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and…
zooba Jan 12, 2023
2834fdc
[3.11] gh-100160: Tweak the documentation for the default asyncio pol…
serhiy-storchaka Jan 13, 2023
6492492
gh-100247: Fix py.exe launcher not using entire shebang command for f…
miss-islington Jan 13, 2023
d06315a
[3.11] GH-100573: Fix server hang caused by os.stat() on named pipe (…
miss-islington Jan 13, 2023
ba88628
[3.11] Add recipes to showcase tee(), zip*, batched, starmap, and pro…
rhettinger Jan 14, 2023
39c1f68
gh-101021: Document binary parameters as bytes (GH-101024)
miss-islington Jan 14, 2023
c7aa392
gh-100668: Clarify how sqlite3 maps parameters onto placeholders (GH-…
miss-islington Jan 14, 2023
6d98282
[3.11] Sync-up parameter name in equivalent code snippet of `enumerat…
miss-islington Jan 15, 2023
855b1a9
[3.11] GH-100942: Fix incorrect cast in property_copy(). (GH-100965).…
sobolevn Jan 15, 2023
63690e9
gh-101056: Fix memory leak in `formatfloat()` in `bytesobject.c` (GH-…
miss-islington Jan 16, 2023
87ade7e
gh-100320: Fix path calculations on Windows when python.exe is moved …
zooba Jan 16, 2023
a3510c3
gh-100247: Improve documentation for custom shebang commands in py.ex…
miss-islington Jan 16, 2023
31b82ab
[3.11] gh-101046: Fix a potential memory leak in the parser when rais…
pablogsal Jan 16, 2023
5e52778
Fix typo in `ReprEnum` documentation (GH-101079)
miss-islington Jan 17, 2023
3ef9f6b
gh-82052: Don't send partial UTF-8 sequences to the Windows API (GH-1…
miss-islington Jan 17, 2023
db65a32
Docs: improve sqlite3 placeholders example (GH-101092)
miss-islington Jan 18, 2023
1998ea6
gh-101041: Fix a misspelled name of `utctimetuple` in a doc warning (…
miss-islington Jan 20, 2023
efe3a38
[3.11] gh-101144: Allow zipfile.Path .open & .read_text encoding to b…
gpshead Jan 20, 2023
5e1c4ac
[3.11] Provided better example for logging cookbook (GH-101164) (GH-1…
miss-islington Jan 20, 2023
e039d53
[3.11] gh-101100: [Enum] Fix sphinx warnings in docs (GH-101122) (#10…
miss-islington Jan 20, 2023
0dc35e4
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-1…
miss-islington Jan 20, 2023
1798df2
[3.11] Fix minor typos in SSL documentation (GH-101158) (#101201)
miss-islington Jan 20, 2023
efc89f3
[3.11] GH-101111: Disambigaute origin of const for store_const and ap…
miss-islington Jan 20, 2023
db0eeb3
[3.11] gh-86610: Use attribute directive in docs for pathlib.PurePath…
miss-islington Jan 20, 2023
c6cfde6
gh-100750: pass encoding kwarg in lib/platform.py (GH-100751)
miss-islington Jan 21, 2023
99da75e
gh-101143: Remove references to `TimerHandle` from `asyncio.base_even…
miss-islington Jan 21, 2023
d2aaf81
[3.11] gh-101037: Fix potential memory underallocation for zeros of i…
miss-islington Jan 21, 2023
8cf8a68
Bump Azure Pipelines to ubuntu-22.04 (GH-101089)
miss-islington Jan 21, 2023
69d12d8
[3.11] GH-101097: Switch from standard interval notation to greater o…
miss-islington Jan 22, 2023
29ff9da
gh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 64…
miss-islington Jan 23, 2023
4cf4169
Added asyncio REPL example to docs. (GH-101243)
miss-islington Jan 23, 2023
5964b12
gh-100795: Don't call freeaddrinfo on failure. (GH-101252)
miss-islington Jan 23, 2023
bab7994
[docs] Mention how to get/set a bigint PyLong via the C API (GH-101270)
miss-islington Jan 24, 2023
5a8ed01
gh-101135: Add backwards compatibility to Windows launcher for older …
miss-islington Jan 24, 2023
cd0fe5b
[3.11] gh-101326: Fix regression when passing None to FutureIter.thro…
hauntsaninja Jan 25, 2023
fa7c37a
[3.11] gh-99952: fix refcount issues in ctypes.Structure from_param()…
gpshead Jan 26, 2023
1016909
[3.11] [doc] Add some notices to logging configuration documentation.…
miss-islington Jan 27, 2023
88a1e6d
[3.11] [doc] Add a section on logging handler configuration order. (G…
miss-islington Jan 27, 2023
3467991
Fix trivial typo in shebang example (GH-101385)
miss-islington Jan 29, 2023
3bcb630
gh-98240: Updated Path.rename docs, when it is atomic (GH-98245)
miss-islington Jan 30, 2023
6ec9f2d
gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH…
miss-islington Jan 30, 2023
faf8068
gh-101229: Add tests for aliases of imported names (GH-101230)
miss-islington Jan 30, 2023
6a94f4c
Fixes typo in asyncio.TaskGroup context manager code example (GH-101449)
miss-islington Jan 31, 2023
a79dd88
gh-77607: Improve accuracy of os.path.join docs (GH-101406)
miss-islington Jan 31, 2023
43af2db
Add JOBS parameter to docs Makefile (GH-101395)
miss-islington Jan 31, 2023
0c37ea9
[3.11] gh-101400: Fix incorrect lineno in exception message on contin…
corona10 Jan 31, 2023
9e4ba5c
gh-99276 - Updated Doc/faq/general.rst (GH-101396)
miss-islington Jan 31, 2023
5e49807
[3.11] gh-101440: fix json snippet error in logging-cookbook.rst (GH-…
miss-islington Jan 31, 2023
85cc5d0
gh-98657: [docs] `array.typecodes` is a module-level attribute (GH-98…
miss-islington Feb 1, 2023
c796d34
[3.11] gh-101454: fix documentation for END_ASYNC_FOR (#101455) (#101…
iritkatriel Feb 1, 2023
89442e1
gh-101498 : Fix asyncio.Timeout example in docs (GH-101499)
miss-islington Feb 1, 2023
e98fa71
gh-101467: Correct py.exe handling of prefix matches and cases when o…
miss-islington Feb 1, 2023
c2c970f
Docs: improve accuracy of sqlite3 `check_same_thread` parameter (GH-1…
miss-islington Feb 2, 2023
08f5c77
docs: Fix enum reassign `str` documentation (GH-101507)
miss-islington Feb 2, 2023
bfac5d9
gh-100925: Move array methods under class in array doc (GH-101485)
miss-islington Feb 3, 2023
2366c1a
gh-100920: Update documentation for `asyncio.StreamWriter.wait_closed…
miss-islington Feb 3, 2023
4392bf6
docs: replace PyPI description with link (GH-101506)
miss-islington Feb 3, 2023
898de13
gh-101522: Allow overriding Windows dependencies versions and paths u…
zooba Feb 3, 2023
4c76346
Add missing `versionadded` directive for `PyCode_Addr2Location` (GH-1…
miss-islington Feb 4, 2023
7cbcfbe
GH-56426: Add cross-reference to the documentation for faulthandler, …
miss-islington Feb 4, 2023
cf89c16
[3.11] gh-101266: Fix __sizeof__ for subclasses of int (GH-101394) (#…
mdickinson Feb 5, 2023
6ae8032
gh-101334: Don't force USTAR format in test_tarfile. (GH-101572)
miss-islington Feb 5, 2023
cf8973c
gh-101541: [Enum] create flag psuedo-member without calling original …
miss-islington Feb 6, 2023
9bd000c
gh-101372: Fix unicodedata.is_normalized to properly handle the UCD 3…
miss-islington Feb 6, 2023
d003bcc
gh-101543: Ensure Windows registry path is only used when stdlib can'…
miss-islington Feb 6, 2023
9e7acaf
gh-101562: typing: add tests for inheritance with NotRequired & Requi…
miss-islington Feb 6, 2023
c993ffa
GH-101616: Mention the Docs Discourse forum in the "reporting docs is…
miss-islington Feb 6, 2023
358b02d
[3.11] gh-101266: Revert fix __sizeof__ for subclasses of int (#101638)
mdickinson Feb 7, 2023
955ba28
[3.11] gh-101072: support default and kw default in PyEval_EvalCodeEx…
ambv Feb 7, 2023
878ead1
Python 3.11.2
pablogsal Feb 7, 2023
e396888
Post 3.11.2
pablogsal Feb 8, 2023
d0ff3d9
[3.11] gh-101656: Fix "conversion from Py_ssize_t to int" warning in …
sobolevn Feb 8, 2023
fa90671
[3.11] gh-97725: Fix documentation for the default file of `asyncio.T…
arhadthedev Feb 8, 2023
7240ba7
[3.11] gh-47937: Note that Popen attributes are read-only (GH-93070) …
miss-islington Feb 8, 2023
c38b4e7
[3.11] Make use of TESTFN_ASCII in test_fileio (GH-101645) (#101650)
miss-islington Feb 8, 2023
efcab38
[3.11] gh-96127: Fix `inspect.signature` call on mocks (#96335) (#101…
arhadthedev Feb 8, 2023
5f0b819
[3.11] gh-100933: Improve `check_element` helper in `test_xml_etree` …
miss-islington Feb 8, 2023
e8ce85d
gh-101614: Don't treat python3_d.dll as a Python DLL when checking ex…
miss-islington Feb 8, 2023
51b079a
Update Lib/subprocess.py
miss-islington Feb 8, 2023
4a9dff0
gh-101283: Version was just released, so should be changed in 3.11.3 …
miss-islington Feb 9, 2023
52a03a0
gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)
zooba Feb 9, 2023
4b8d2a1
gh-101759: Update macOS installer to SQLite 3.40.1 (GH-101761)
miss-islington Feb 10, 2023
b0bba7a
gh-101517: make bdb avoid looking up in linecache with lineno=None (G…
miss-islington Feb 10, 2023
7ca9da9
gh-101763: Update bundled copy of libffi to 3.4.4 on Windows (GH-101784)
miss-islington Feb 10, 2023
18313ec
Docs: use parameter list for sqlite3.Cursor.execute* (GH-101782)
miss-islington Feb 10, 2023
8360988
[3.11] gh-101759: Update Windows installer to SQLite 3.40.1 (GH-10176…
erlend-aasland Feb 10, 2023
c485f0e
[3.11] Docs: Fix getstatus() -> getcode() typos (GH-101296) (#101805)
hugovk Feb 10, 2023
91fb7c3
[3.11] gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to …
miss-islington Feb 11, 2023
c5c1238
[3.11] GH-101696: invalidate type version tag in `_PyStaticType_Deall…
erlend-aasland Feb 11, 2023
d17cc3d
gh-89792: Prevent test_tools from copying 1000M of "source" in freeze…
miss-islington Feb 12, 2023
cec99ed
gh-89792: Limit test_tools freeze test build parallelism based on the…
miss-islington Feb 12, 2023
1b73683
gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)
miss-islington Feb 12, 2023
01b21c3
Correct trivial grammar in reset_mock docs (GH-101861)
miss-islington Feb 13, 2023
fd155b9
gh-101849: Add upgrade codes for old versions of launcher that ended …
miss-islington Feb 13, 2023
4aeae28
GH-101898: Fix missing term references for hashable definition (GH-10…
miss-islington Feb 14, 2023
aedf383
gh-93573: Replace wrong example domains in configparser doc (GH-93574)
miss-islington Feb 16, 2023
559d0e8
gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (GH-10…
miss-islington Feb 17, 2023
be69ac3
gh-101992: update plistlib examples to be runnable (GH-101994)
miss-islington Feb 17, 2023
b7a49eb
gh-101739: [Enum] update docs - default boundary for Flag is CONFORM …
miss-islington Feb 17, 2023
5220c2d
[3.11] gh-85747: Active voice & suggested edits, 'running/stopping lo…
bskinn Feb 18, 2023
62db23c
Fix incorrectly documented attribute in csv docs (GH-101250)
miss-islington Feb 19, 2023
4969903
gh-99735: Use required=True in argparse subparsers example (GH-100927)
miss-islington Feb 19, 2023
95751b9
gh-101981: Build macOS as recommended by the devguide (GH-102070)
miss-islington Feb 20, 2023
1747be4
gh-101981: Apply HOMEBREW related environment variables (gh-102074)
miss-islington Feb 20, 2023
62c0327
gh-88233: zipfile: handle extras after a zip64 extra (GH-96161)
miss-islington Feb 20, 2023
d15e958
[3.11] gh-101566: Sync with zipp 3.14. (GH-102018). (GH-102090)
jaraco Feb 20, 2023
e9103e6
[3.11] gh-100210: Correct the comment link for unescaping HTML (GH-10…
miss-islington Feb 20, 2023
5bc6927
[3.11] gh-101961 fileinput.hookcompressed should not set the encoding…
miss-islington Feb 21, 2023
f94ffcf
gh-101777: Make `PriorityQueue` docs slightly clearer (GH-102026)
miss-islington Feb 21, 2023
a94f3ad
gh-100556: Improve clarity of `or` docs (GH-100589)
miss-islington Feb 21, 2023
78eee76
gh-102011: use sys.exception() instead of sys.exc_info() in docs wher…
miss-islington Feb 21, 2023
1633aea
[3.11] gh-101967: add a missing error check (GH-101968) (#102015)
miss-islington Feb 21, 2023
3bfa608
gh-102008: simplify test_except_star by using sys.exception() instead…
miss-islington Feb 21, 2023
5d47150
[3.11] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (#102121)
miss-islington Feb 22, 2023
528e91c
[3.11] gh-102135: Update turtle docs to rename wikipedia demo to rose…
miss-islington Feb 22, 2023
edbde8f
[3.11] gh-101936: Update the default value of fp from io.StringIO to …
miss-islington Feb 22, 2023
ddb65c4
[3.11] gh-97786: Fix compiler warnings in pytime.c (GH-101826) (#102062)
miss-islington Feb 22, 2023
8b5498e
GH-101777: `queue.rst`: use 2 spaces after a period to be consistent.…
miss-islington Feb 22, 2023
bf0a836
Fix syntax error in struct doc example (GH-102160)
miss-islington Feb 23, 2023
42d0ca9
[3.11] gh-100226: Clarify StreamReader.read behavior (GH-101807) (#10…
miss-islington Feb 23, 2023
61e0bbd
Fix typo in `Py_GetPythonHome` signature (GH-102168)
miss-islington Feb 23, 2023
3cc0012
gh-102151: Correctly fetch CONFIG_ARGS in Tools/freeze/test/freeze.py…
miss-islington Feb 23, 2023
5e1bbb5
gh-101981: Consolidate macOS configure steps in CI (GH-102131)
miss-islington Feb 23, 2023
dd0843a
gh-102158: Add tests for `softkwlist` (GH-102159)
miss-islington Feb 24, 2023
3b4f8fc
gh-102105 Fix wording in filterfalse/quantify/filter (GH-102189)
miss-islington Feb 24, 2023
9da3e7f
[3.11] gh-95675: fix uid and gid at test_add_dir_getmember (gh-102207…
miss-islington Feb 25, 2023
5d46122
[3.11] gh-101765: Fix SystemError / segmentation fault in iter `__red…
ionite34 Feb 25, 2023
a109ce0
gh-101100: Fix Sphinx warnings in `decimal` module (GH-102125)
miss-islington Feb 25, 2023
5775863
asyncio docs: Fix dangling hyphen (GH-102227)
miss-islington Feb 25, 2023
026faf2
[3.11] GH-102126: fix deadlock at shutdown when clearing thread state…
kumaraditya303 Feb 25, 2023
3fe7419
gh-102252: Improve coverage of test_bool.py (GH-102253)
miss-islington Feb 25, 2023
c2f42f1
gh-101100: Fix sphinx warnings in `typing` module docs (GH-102260)
miss-islington Feb 25, 2023
735ff5a
[3.11] GH-99818: improve the documentation for zipfile.Path and Trave…
hauntsaninja Feb 25, 2023
b36c498
[3.11] gh-101765: Fix refcount issues in list and unicode pickling (G…
JelleZijlstra Feb 26, 2023
7a0dc8a
gh-102259: Fix re doc issue regarding right square brackets (GH-102264)
miss-islington Feb 26, 2023
626f471
[3.11] gh-85417: Clarify behaviour on branch cuts in cmath module (GH…
miss-islington Feb 26, 2023
2c4fc87
[3.11] [doc] Improve grammar/fix missing word (GH-102060) (GH-102277)
miss-islington Feb 26, 2023
eb55659
[3.11] Add missing 'is' to `cmath.log()` docstring (GH-102049) (#102279)
mdickinson Feb 26, 2023
64d3715
gh-101765: unicodeobject: use Py_XDECREF correctly (GH-102283)
miss-islington Feb 26, 2023
bd4a709
gh-101100: Fix sphinx warnings in `types` module (GH-102274)
miss-islington Feb 27, 2023
1ef6e45
gh-102296 Document that inspect.Parameter kinds support ordering (GH-…
miss-islington Feb 27, 2023
d01cf50
IDLE: Simplify DynOptionsMenu __init__code (GH-101371)
miss-islington Feb 28, 2023
90ec292
Doc: Fix minor error in ePub (GH-100614)
methane Mar 1, 2023
3effcce
[3.11] gh-102088 Optimize iter_index itertools recipe (GH-102360) (GH…
miss-islington Mar 2, 2023
9a5f2e8
[3.11] gh-90744: Fix erroneous doc links in the sys module (GH-101319…
hugovk Mar 2, 2023
3b1201d
[3.11] Fix typos in documentation and comments (GH-102374) (#102376)
AlexWaygood Mar 2, 2023
32a738e
gh-101754: Document that Windows converts keys in `os.environ` to upp…
miss-islington Mar 3, 2023
00791f2
gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (…
miss-islington Mar 3, 2023
06a3bb8
gh-101892: Fix `SystemError` when a callable iterator call exhausts t…
miss-islington Mar 4, 2023
cc6ce90
gh-102179: Fix `os.dup2` error reporting for negative fds (GH-102180)
miss-islington Mar 4, 2023
cda1d52
[3.11] Clarify re docs for byte pattern group names (GH-99308) (#101…
Kentzo Mar 4, 2023
f96907a
gh-101992: update pstlib module documentation (GH-102133)
miss-islington Mar 5, 2023
caff048
[3.11] Move around example in to_bytes() to avoid confusion (GH-10159…
miss-islington Mar 5, 2023
63fd954
gh-102356: Add thrashcan macros to filter object dealloc (GH-102426)
miss-islington Mar 5, 2023
e748f9e
gh-101979: argparse: fix a bug where parentheses in metavar argument …
miss-islington Mar 5, 2023
c957128
Fix unused classes in a typing test (GH-102437)
miss-islington Mar 5, 2023
db8d10b
GH-102341: Improve the test function for pow (GH-102342)
miss-islington Mar 5, 2023
a7ec32e
gh-102444: Fix minor bugs in `test_typing` highlighted by pyflakes (G…
miss-islington Mar 5, 2023
58de2eb
[3.11] gh-102416: Do not memoize incorrectly loop rules in the parser…
pablogsal Mar 6, 2023
280b975
Add gettext support to tools/extensions/c_annotations.py (GH-101989)
miss-islington Mar 6, 2023
b6fd4e6
[3.11] gh-101759: Update macOS installer SQLite 3.40.1 checksum (gh-1…
miss-islington Mar 7, 2023
df3ed54
[3.11] gh-95913: Edit Faster CPython section in 3.11 WhatsNew (GH-984…
miss-islington Mar 7, 2023
8bf8e3d
Fix style in argparse.rst (GH-101733)
miss-islington Mar 8, 2023
7905ae7
GH-102397: Fix segfault from race condition in signal handling (GH-10…
miss-islington Mar 8, 2023
ffb41ea
gh-101100: Fix sphinx warnings in `zipapp` and `zipfile` modules (GH-…
miss-islington Mar 8, 2023
495cd2d
gh-86509: Add link to Lib/_threading_local.py in threading docs (GH-1…
miss-islington Mar 10, 2023
123119f
GH-102537: Handle check for PYTHONTZPATH failing in zoneinfo test (GH…
miss-islington Mar 10, 2023
e467cb3
gh-102433: Add tests for how classes with properties interact with `i…
miss-islington Mar 11, 2023
fcafc37
[3.11] gh-102493: backport unit test for PyErr_SetObject (#102602)
iritkatriel Mar 11, 2023
6829b12
[3.11] Fixes duplicated word (GH-102623) (#102624)
miss-islington Mar 12, 2023
7856026
GH-101673: Fix pdb bug where local variable changes are lost after lo…
miss-islington Mar 12, 2023
c39a1d0
gh-101100: Fix Sphinx warnings in `turtle` module (GH-102340)
miss-islington Mar 13, 2023
8a99deb
Fix broken link to MSDN (GH-102355)
miss-islington Mar 13, 2023
a4fcd06
[3.11] Fix duplicated words in the docs (#102644)
AlexWaygood Mar 13, 2023
b0e221c
[3.11] gh-102069: Fix `__weakref__` descriptor generation for custom …
miss-islington Mar 13, 2023
43f8082
gh-102627: Replace address pointing toward malicious web page (GH-102…
miss-islington Mar 13, 2023
0f46d42
doc: Remove a duplicate 'versionchanged' in library/asyncio-task (gh-…
miss-islington Mar 14, 2023
1f7eb8f
gh-100315: clarification to `__slots__` docs. (GH-102621)
miss-islington Mar 14, 2023
738dde3
[3.11] gh-102354: change python3 to python in docs examples (GH-10269…
miss-islington Mar 14, 2023
1649f3e
Rename redundant enum tests so that they run (GH-102535)
miss-islington Mar 14, 2023
a166cb4
gh-102703: Fix typo in modules tutorial documentation (GH-102707)
miss-islington Mar 15, 2023
8aa07b9
gh-101377: improving test_locale_calendar_formatweekday of calendar (…
miss-islington Mar 15, 2023
6b6c2f5
[3.11] Remove misformatted exclamation marks in docs (GH-102694) (#10…
hugovk Mar 15, 2023
7e5ba35
gh-102560 Add docstrings to asyncio.TaskGroup (GH-102565)
miss-islington Mar 15, 2023
3ddf397
gh-101100: Documenting --prefix and --exec-prefix. (GH-102695)
miss-islington Mar 15, 2023
0560fe3
gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (GH-94468)
miss-islington Mar 16, 2023
4a7faac
GH-102653: Make recipe docstring show the correct distribution (GH-10…
miss-islington Mar 16, 2023
df399a3
[3.11] Fix outdated note about 'int' rounding or truncating (GH-10273…
miss-islington Mar 16, 2023
d025b1d
Increase stack reserve size for Windows debug builds to avoid test cr…
miss-islington Mar 17, 2023
f967aee
gh-102701: Fix overflow in dictobject.c (GH-102750)
miss-islington Mar 17, 2023
045c8a1
[3.11] gh-102721: Improve coverage of `_collections_abc._CallableGene…
sobolevn Mar 17, 2023
9883356
gh-102810: Add docstrings to the public-facing methods of `asyncio.Ti…
miss-islington Mar 19, 2023
d149f15
[3.11] gh-101975: Fixed a potential SegFault on garbage collection (G…
markshannon Mar 20, 2023
e6e3b1b
[3.11] Backport itertool recipe updates (GH-102881)
rhettinger Mar 21, 2023
4c6b354
gh-98608: Fix Failure-handling in new_interpreter() (gh-102658)
miss-islington Mar 21, 2023
1eb9b24
Add link to `sys.exit` function documentation (GH-102805)
miss-islington Mar 21, 2023
a7a373e
[3.11] gh-102595: Document `PyObject_Format` c-api function (GH-10259…
miss-islington Mar 22, 2023
44782d3
Docs: improve accuracy of pdb alias example (GH-102892)
miss-islington Mar 22, 2023
9a1453b
Docs: improve the accuracy of the sqlite3.connect() timeout param (GH…
miss-islington Mar 22, 2023
592c344
Docs: improve accuracy of sqlite3.Connection.interrupt() (GH-102904)
miss-islington Mar 22, 2023
f7dea0c
gh-100989: Improve the accuracy of collections.deque docstrings (GH-1…
miss-islington Mar 22, 2023
b9304be
gh-101947: Remove size check from sqlite3 serialize test (GH-102914)
miss-islington Mar 22, 2023
4c1b4ec
gh-95913: Consolidate build requirements changes in 3.11 WhatsNew (GH…
miss-islington Mar 22, 2023
f1b9673
gh-102921: [doc] Clarify `exc` argument name in `BaseExceptionGroup` …
miss-islington Mar 22, 2023
a9ece4a
gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)
miss-islington Mar 22, 2023
f79cfb6
[doc] Fix error in tutorial example: type(exc) is the type rather tha…
miss-islington Mar 22, 2023
6ffeeb2
gh-102947: Improve traceback when calling `fields()` on a non-datacla…
miss-islington Mar 23, 2023
84ae50c
gh-102810 Improve the sphinx docs for `asyncio.Timeout` (GH-102934)
miss-islington Mar 23, 2023
1645a40
gh-88965: typing: fix type substitution of a list of types after ini…
miss-islington Mar 23, 2023
e2924c0
gh-102936: typing: document performance pitfalls of protocols decorat…
miss-islington Mar 23, 2023
202e16e
gh-98239: Document that `inspect.getsource()` can raise `TypeError` (…
miss-islington Mar 23, 2023
60b2b58
[3.11] Minor readability improvement to the factor() recipe (GH-10297…
miss-islington Mar 23, 2023
8132aef
gh-102558: [Enum] fix AttributeError during member repr() (GH-102601)
miss-islington Mar 23, 2023
a4a039c
GH-100989: Revert Improve the accuracy of collections.deque docstring…
miss-islington Mar 24, 2023
fd43fb6
GH-100989: remove annotation from docstring (GH-102991)
miss-islington Mar 24, 2023
e075631
[3.11] gh-96931: Fix incorrect results in ssl.SSLSocket.shared_cipher…
miss-islington Mar 24, 2023
6716139
[3.11] gh-102027: Fix macro name (GH-102124) (#102916)
miss-islington Mar 24, 2023
c834a4c
gh-102873: logging.LogRecord docs: improve description of `msg` param…
miss-islington Mar 24, 2023
a08b65f
gh-102980: Add tests for pdf's display, alias and where commands (GH-…
miss-islington Mar 24, 2023
85c686a
[3.11] gh-101100: Document PyObject_ClearWeakRefs, gzip's name, and a…
hugovk Mar 25, 2023
aae91fa
[3.11] gh-103025: fix a ctypes doc typo (GH-103026) (#103029)
miss-islington Mar 25, 2023
e1094c6
Update pdb docs for arguments (GH-102965)
miss-islington Mar 25, 2023
b28f919
[3.11] gh-102281: Fix potential nullptr dereference + use of uninitia…
maxbachmann Mar 25, 2023
13df5d3
[3.11] GH-95494: Fix transport EOF handling in OpenSSL 3.0 (GH-95495)…
miss-islington Mar 27, 2023
5ba5ce4
gh-102558: [Enum] better handling of non-Enum EnumType classes (GH-10…
miss-islington Mar 27, 2023
abd6e97
[3.11] GH-102711: Fix warnings found by clang (GH-102712) (#103075)
miss-islington Mar 28, 2023
766038d
gh-103054: typing: Improve `Callable` type substitution tests (GH-103…
miss-islington Mar 29, 2023
d189e2d
[3.11] gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst …
miss-islington Mar 29, 2023
cbe14c8
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)
zooba Mar 29, 2023
ae42c1d
[3.11] gh-103112: Add http.client.HTTPResponse.read docstring and fix…
miss-islington Mar 29, 2023
1b40618
gh-103099: Link mypy docs from typing.rst (GH-103100)
miss-islington Mar 30, 2023
41e3ea1
Minor docs improvements fix for `codeop` (GH-103123)
miss-islington Mar 30, 2023
4664a7c
Quote literal tokens in standard format specifier grammar (GH-102902)
miss-islington Mar 31, 2023
56e958b
GH-102456: Fix docstring and getopt options for base64 (gh-102457)
ppmfloss Apr 2, 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
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
variables:
coverage: false

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

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

pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-22.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-20.04
vmImage: ubuntu-22.04

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

pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-22.04

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

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

pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-22.04

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

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

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

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

pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-22.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-20.04
vmImage: ubuntu-22.04

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

pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-22.04

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

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

pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-22.04

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

steps:
- template: ./posix-steps.yml
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/windows-layout-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ steps:
displayName: Show layout info (${{ parameters.kind }})

- ${{ if eq(parameters.fulltest, 'true') }}:
- script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)"
- script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)" -i test_launcher
workingDirectory: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)
displayName: ${{ parameters.kind }} Tests
env:
Expand Down
7 changes: 5 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# It uses the same pattern rule for gitignore file
# https://git-scm.com/docs/gitignore#_pattern_format

# GitHub
.github/** @ezio-melotti

# asyncio
**/*asyncio* @1st1 @asvetlov

Expand Down Expand Up @@ -98,7 +101,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 @@ -130,7 +133,7 @@ Lib/ast.py @isidentical

**/*idlelib* @terryjreedy

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

**/*asyncore @giampaolo
**/*asynchat @giampaolo
Expand Down
10 changes: 5 additions & 5 deletions .github/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ Build Status

- main

+ `Stable buildbots <http://buildbot.python.org/3.x.stable/>`_
+ `Stable buildbots <https://buildbot.python.org/3.x.stable/>`_

- 3.9

+ `Stable buildbots <http://buildbot.python.org/3.9.stable/>`_
+ `Stable buildbots <https://buildbot.python.org/3.9.stable/>`_

- 3.8

+ `Stable buildbots <http://buildbot.python.org/3.8.stable/>`_
+ `Stable buildbots <https://buildbot.python.org/3.8.stable/>`_

- 3.7

+ `Stable buildbots <http://buildbot.python.org/3.7.stable/>`_
+ `Stable buildbots <https://buildbot.python.org/3.7.stable/>`_


Thank You
Expand All @@ -38,7 +38,7 @@ also suggestions on how you can most effectively help the project.

Please be aware that our workflow does deviate slightly from the typical GitHub
project. Details on how to properly submit a pull request are covered in
`Lifecycle of a Pull Request <https://devguide.python.org/pullrequest/>`_.
`Lifecycle of a Pull Request <https://devguide.python.org/getting-started/pull-request-lifecycle.html>`_.
We utilize various bots and status checks to help with this, so do follow the
comments they leave and their "Details" links, respectively. The key points of
our workflow that are not covered by a bot or status check are:
Expand Down
79 changes: 63 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,27 @@ on:
push:
branches:
- 'main'
- '3.11'
- '3.10'
- '3.9'
- '3.8'
- '3.7'
pull_request:
branches:
- 'main'
- '3.11'
- '3.10'
- '3.9'
- '3.8'
- '3.7'

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
check_source:
name: 'Check for source changes'
Expand All @@ -33,8 +42,8 @@ jobs:
id: check
run: |
if [ -z "$GITHUB_BASE_REF" ]; then
echo '::set-output name=run_tests::true'
echo '::set-output name=run_ssl_tests::true'
echo "run_tests=true" >> $GITHUB_OUTPUT
echo "run_ssl_tests=true" >> $GITHUB_OUTPUT
else
git fetch origin $GITHUB_BASE_REF --depth=1
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
Expand All @@ -50,8 +59,38 @@ jobs:
# into the PR branch anyway.
#
# 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
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE '(ssl|hashlib|hmac|^.github)' && echo "run_ssl_tests=true" >> $GITHUB_OUTPUT || 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: |
if ! make check-abidump; then
echo "Generated ABI file is not up to date."
echo "Please, add the release manager of this branch as a reviewer of this PR."
echo ""
echo "To learn more about this check, please visit: https://devguide.python.org/setup/?highlight=abi#regenerate-the-abi-dump"
echo ""
exit 1
fi

check_generated_files:
Expand All @@ -67,7 +106,7 @@ jobs:
- name: Add ccache to PATH
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
uses: hendrikmuhs/ccache-action@v1.2
- name: Check Autoconf version 2.69 and aclocal 1.16.3
run: |
grep "Generated by GNU Autoconf 2.69" configure
Expand Down Expand Up @@ -148,15 +187,23 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
HOMEBREW_NO_ANALYTICS: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- 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: Install Homebrew dependencies
run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk
- name: Configure CPython
run: ./configure --with-pydebug --prefix=/opt/python-dev
run: |
CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
LDFLAGS="-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" \
PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
./configure \
--with-pydebug \
--prefix=/opt/python-dev \
--with-openssl="$(brew --prefix openssl@1.1)"
- name: Build CPython
run: make -j4
- name: Display build info
Expand All @@ -170,7 +217,7 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 1.1.1n
OPENSSL_VER: 1.1.1t
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@v3
Expand All @@ -196,7 +243,7 @@ jobs:
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
uses: hendrikmuhs/ccache-action@v1.2
- name: Setup directory envs for out-of-tree builds
run: |
echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
Expand Down Expand Up @@ -229,7 +276,7 @@ jobs:
strategy:
fail-fast: false
matrix:
openssl_ver: [1.1.1n, 3.0.2]
openssl_ver: [1.1.1t, 3.0.8, 3.1.0-beta1]
env:
OPENSSL_VER: ${{ matrix.openssl_ver }}
MULTISSL_DIR: ${{ github.workspace }}/multissl
Expand Down Expand Up @@ -259,7 +306,7 @@ jobs:
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
uses: hendrikmuhs/ccache-action@v1.2
- name: Configure CPython
run: ./configure --with-pydebug --with-openssl=$OPENSSL_DIR
- name: Build CPython
Expand All @@ -276,7 +323,7 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 1.1.1n
OPENSSL_VER: 1.1.1t
PYTHONSTRICTEXTENSIONBUILD: 1
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
steps:
Expand All @@ -303,7 +350,7 @@ jobs:
run: |
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
- name: Configure ccache action
uses: hendrikmuhs/ccache-action@v1
uses: hendrikmuhs/ccache-action@v1.2
- name: Configure CPython
run: ./configure --with-address-sanitizer --without-pymalloc
- name: Build CPython
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/build_msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- 'main'
- '3.11'
- '3.10'
- '3.9'
- '3.8'
Expand All @@ -14,13 +15,21 @@ on:
pull_request:
branches:
- 'main'
- '3.11'
- '3.10'
- '3.9'
- '3.8'
- '3.7'
paths:
- 'Tools/msi/**'

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build_win32:
name: 'Windows (x86) Installer'
Expand Down
Loading