Skip to content

[3.9] gh-91118: Fix docstrings that do not honor --without-doc-strings (GH-31769) #91663

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,106 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2106 commits
Select commit Hold shift + click to select a range
0ae2257
[3.9] bpo-46402: Promote SQLite URI tricks in sqlite3 docs (GH-30660)…
Jan 18, 2022
0be4760
[3.9] bpo-45554: Document multiprocessing.Process.exitcode values (GH…
miss-islington Jan 18, 2022
7b694b8
[3.9] bpo-22039: [doc] clarify that there are no plans to disable del…
miss-islington Jan 19, 2022
353674f
bpo-46231: Remove invalid_* rules preceded by more tokens from the gr…
miss-islington Jan 19, 2022
331378d
[3.9] bpo-46424: [typing] cover `Annotation[arg]` invalid usage in te…
miss-islington Jan 19, 2022
0064516
[3.9] bpo-45680: Clarify documentation on ``GenericAlias`` objects (G…
Fidget-Spinner Jan 19, 2022
54fedda
docs: correct outdated MappingProxyType docstrings (GH-30281)
miss-islington Jan 19, 2022
981c1dc
doc: Clarify os.urandom return type (GH-30282)
miss-islington Jan 19, 2022
3b51926
bpo-46437: remove useless `hasattr` from `test_typing` (GH-30704)
miss-islington Jan 19, 2022
8105dd2
[3.9] bpo-46425: Fix direct invocation of multiple test modules (GH-3…
sobolevn Jan 20, 2022
e8e71c4
[3.9] Mark all clinic headers as generated (GH-30679). (GH-30728)
Jan 20, 2022
c6691a7
bpo-46080: fix argparse help generation exception in edge case (GH-30…
miss-islington Jan 20, 2022
656971e
[3.9] bpo-41857: mention timeout argument units in select.poll() and …
taleinat Jan 21, 2022
c3ad850
bpo-46434: Handle missing docstrings in pdb help (GH-30705)
miss-islington Jan 21, 2022
9e3ff82
bpo-43118: Fix bug in inspect.signature around 'base.__text_signature…
miss-islington Jan 21, 2022
b37f3e9
bpo-46463: Fixes escape4chm.py script used when building the CHM docu…
miss-islington Jan 21, 2022
e064af5
bpo-46442: improve and rename testExceptionCleanupNames (GH-30758)
miss-islington Jan 22, 2022
3e7d06a
[3.9] bpo-46383: Fix signature of zoneinfo module_free function (GH-3…
kumaraditya303 Jan 22, 2022
3c4a374
bpo-46425: fix direct invocation of `asyncio` tests (GH-30725)
miss-islington Jan 22, 2022
6ed874f
[3.9] bpo-46469: Make asyncio generic classes return GenericAlias (GH…
kumaraditya303 Jan 22, 2022
f1796f2
bpo-46417: Fix race condition on setting type __bases__ (GH-30788) (G…
miss-islington Jan 22, 2022
b408880
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-3…
miss-islington Jan 22, 2022
ba932d9
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30…
miss-islington Jan 23, 2022
d807bf2
Document optional 'task'/'asyncgen' fields in call_exception_handler …
miss-islington Jan 23, 2022
d0852c4
Update documentation in datetime module strftime-and-strptime-behavio…
miss-islington Jan 23, 2022
1514d12
[3.9] bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importl…
jaraco Jan 23, 2022
94d6434
[3.9] bpo-21987: Fix TarFile.getmember getting a dir with a trailing …
miss-islington Jan 23, 2022
1398dca
bpo-41403: Improve error message for invalid mock target (GH-30833) (…
iritkatriel Jan 23, 2022
3f1ea16
[3.9] bpo-46426: Improve tests for the dir_fd argument (GH-30668) (GH…
serhiy-storchaka Jan 24, 2022
c314e3e
bpo-46503: Prevent an assert from firing when parsing some invalid \N…
miss-islington Jan 25, 2022
98cabce
bpo-41841: update idlelib News up to 3.10.0 (GH-30871)
terryjreedy Jan 25, 2022
3178efb
[3.9] bpo-46496: Update IDLE News to 2021 Jan 24 (GH-30877)
terryjreedy Jan 25, 2022
b0b8388
bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)
miss-islington Jan 25, 2022
f9ff0bf
bpo-41682: fixed flaky test test_sendfile_close_peer_in_the_middle_of…
miss-islington Jan 25, 2022
f8a805b
bpo-41844: Update IDLE part of What's New 3.9 to 20228 (GH-30905)
miss-islington Jan 26, 2022
29eefcc
bpo-46529: increase coverage of `typing.Union.__repr__` method (GH-30…
miss-islington Jan 26, 2022
04772cd
[3.9] bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30…
tiran Jan 26, 2022
49971b2
bpo-43698: do not use `...` as argument name in docs (GH-30502)
miss-islington Jan 26, 2022
ff11eff
bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929)
miss-islington Jan 26, 2022
dafada3
[3.9] bpo-46502: Remove "How do I tell incomplete input" from FAQ (GH…
pablogsal Jan 27, 2022
bc7d96e
bpo-45296: Clarify close, quit, and exit in IDLE (GH-30936)
miss-islington Jan 27, 2022
287ceca
bpo-46496: news39 for bpo45296 (#30949)
terryjreedy Jan 27, 2022
1440dd3
bpo-23556: [doc] Fix inaccuracy in documentation for raise without ar…
miss-islington Jan 27, 2022
8e98ccc
bpo-44734: Fix floating point precision in test_turtle (GH-30910)
miss-islington Jan 27, 2022
3757703
bpo-46539: Pass status of special typeforms to forward references (GH…
miss-islington Jan 27, 2022
7c8d1f0
bpo-29844: Remove obsolete paragraph from Tools/msi/README.txt (GH-29…
miss-islington Jan 27, 2022
8cd8246
bpo-46542: test_json uses support.infinite_recursion() (GH-30972)
miss-islington Jan 28, 2022
ce5c637
bpo-46530: add `"thread_time"` to `test_time.test_get_clock_info` (GH…
miss-islington Jan 28, 2022
ad9cf2f
bpo-45925: Update Windows installer to SQLite 3.37.2 (GH-30485)
miss-islington Jan 28, 2022
3046386
bpo-46542: test_lib2to3 uses support.infinite_recursion() (GH-31035)
miss-islington Jan 31, 2022
2532b7c
[3.9] bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821…
miss-islington Feb 1, 2022
2e9f77f
[3.9] bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014…
miss-islington Feb 1, 2022
7368ca1
[3.9] bpo-46584: remove check for `py2.3` from `ctypes/test_python_ap…
miss-islington Feb 1, 2022
a22dd00
bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) (GH-310…
miss-islington Feb 1, 2022
e4a6e54
bpo-46487: Add `get_write_buffer_limits` to Write and _SSLProtocol tr…
miss-islington Feb 1, 2022
a1869e3
bpo-46591: Make About IDLE doc link label clickable (GH-30251)
miss-islington Feb 2, 2022
0371e5d
bpo-44359: Fix test_ftplib unhandled thread exceptions (GH-31069)
miss-islington Feb 2, 2022
8d239bf
[3.9] bpo-45703: Invalidate _NamespacePath cache on importlib.invalid…
encukou Feb 2, 2022
3c6173c
bpo-46616: Ensures test_importlib.test_windows cleans up registry key…
miss-islington Feb 2, 2022
fafd2da
[3.9] bpo-45975: Use walrus operator for some idlelib while loops (GH…
terryjreedy Feb 3, 2022
e825860
[3.9] [3.10] bpo-46576: bpo-46524: Disable compiler optimization with…
miss-islington Feb 3, 2022
cf7cb1a
bpo-45975: IDLE - Remove extraneous parens (GH-31107)
miss-islington Feb 3, 2022
dc315f3
bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112)
miss-islington Feb 3, 2022
663370a
bpo-46588: fix typo in test_calltip.py (GH-31119)
miss-islington Feb 4, 2022
ee3d050
Optimize images by IMGbot (GH-21348)
miss-islington Feb 4, 2022
6da4364
bpo-46629: Update classicAppCompat.sccd for new signing certificate (…
miss-islington Feb 4, 2022
459e26f
[3.9] bpo-46609: Update asyncio-task coroutine doc (GH-31132)
miss-islington Feb 4, 2022
1b8a34a
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161)
miss-islington Feb 6, 2022
0892a0e
bpo-40479: Fix undefined behavior in Modules/_hashopenssl.c (GH-31153)
miss-islington Feb 7, 2022
0d74efc
bpo-46648: Rewrite test_urllib2.test_issue16464() with a local HTTP s…
miss-islington Feb 7, 2022
76b0727
bpo-46638: Makes registry virtualisation setting stable when building…
miss-islington Feb 7, 2022
bde3765
bpo-46685: cover `TypeError` of `ForwardRef(1)` in `test_typing` (GH-…
miss-islington Feb 9, 2022
b0517a1
bpo-45863: tarfile: don't zero out header fields unnecessarily (GH-29…
miss-islington Feb 9, 2022
a65be6e
[3.9] Fix warning: asyncio.events._event_loop_policy was modified by …
asvetlov Feb 10, 2022
c23f4ab
Fix the signature of multiprocessing.set_executable (GH-31276)
miss-islington Feb 11, 2022
a7c1cc4
bpo-46483: [doc] pathlib classes no longer support parameterized gene…
miss-islington Feb 11, 2022
cc6d8f8
[3.9] bpo-45948: Remove constructor discrepancy in C version of Eleme…
jacobtylerwalls Feb 13, 2022
1d4d44c
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
miss-islington Feb 13, 2022
ebe73e6
bpo-45447: Add entry to What's new 3.9 (GH-31305)
miss-islington Feb 13, 2022
c31b8a9
bpo-46615: Don't crash when set operations mutate the sets (GH-31120)…
sweeneyde Feb 13, 2022
0b1417d
[3.9] Corrections to format precision description. (GH-31291) (GH-31321)
belm0 Feb 14, 2022
0bd2d58
Fix minor grammar error (GH-31325)
miss-islington Feb 14, 2022
1953f03
bpo-38619: Update the documentation for UUID.hex (GH-29830)
miss-islington Feb 14, 2022
502ad39
bpo-46436: Fix command-line option -d/--directory in module http.serv…
miss-islington Feb 14, 2022
5c303f3
doc: use colon for all color's rangs (GH-28998)
miss-islington Feb 14, 2022
1933238
Update the OMG link (GH-30383)
miss-islington Feb 14, 2022
ad47db3
[3.9] bpo-46728: fix docstring of combinations_with_replacement for c…
LeeDongGeon1996 Feb 15, 2022
c292118
bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327)
miss-islington Feb 15, 2022
a657bff
bpo-46762: Fix an assert failure in f-strings where > or < is the las…
miss-islington Feb 16, 2022
29ae7d3
bpo-46333: Honor `module` parameter in ForwardRef (GH-30536)
miss-islington Feb 17, 2022
d975a40
[3.9] Become a CODEOWNER for typing (GH-31374) (GH-31381)
miss-islington Feb 17, 2022
0da140d
Update html.parser.rst (GH-30678)
miss-islington Feb 17, 2022
e782890
bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31295)
miss-islington Feb 17, 2022
c11f41b
Fix mistake in barry_as_FLUFL test (GH-31392)
miss-islington Feb 18, 2022
9aca412
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397)
miss-islington Feb 18, 2022
9399dc4
[docs] Correct typos in SSLContext.sni_callback (GH-30623)
miss-islington Feb 19, 2022
cf19932
Counter doc mentions three methods, but lists four (GH-30706)
miss-islington Feb 19, 2022
a6116a9
[3.9] bpo-46672: fix `NameError` in `asyncio.gather` if type check fa…
asvetlov Feb 20, 2022
64705e6
[3.9] Raise TypeError if SSLSocket is passed to asyncio transport-bas…
asvetlov Feb 20, 2022
83eabc6
Improve discussion about how __getattr__ is invoked. (GH-31435) (GH-3…
miss-islington Feb 20, 2022
e7115d5
replace `self` param with more appropriate `cls` in classmethods (GH-…
miss-islington Feb 21, 2022
959846b
bpo-39327: Close file descriptors as soon as possible in shutil.rmtre…
miss-islington Feb 21, 2022
336a916
bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31469)
miss-islington Feb 21, 2022
8eb18d8
[3.9] bpo-46732: fix __bool__ docstring (GH-31301) (GH-31474)
miss-islington Feb 21, 2022
aa9a5c4
bpo-36557: Updated wording for using/windows (GH-31457)
miss-islington Feb 22, 2022
2387aea
[3.9] bpo-20923 : [doc] Explain ConfigParser 'valid section name' an…
miss-islington Feb 22, 2022
29e8c43
bpo-46827: pass sock.type to getaddrinfo in sock_connect (GH-31499)
miss-islington Feb 22, 2022
f3bb8fe
Inherit asyncio proactor datagram transport from asyncio.DatagramTran…
miss-islington Feb 23, 2022
87cebb1
bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487)
miss-islington Feb 23, 2022
763e23e
bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535)
miss-islington Feb 23, 2022
b7f6e8e
bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin syste…
miss-islington Feb 25, 2022
4560c7e
bpo-46756: Fix authorization check in urllib.request (GH-31353)
miss-islington Feb 25, 2022
a549cd1
bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH…
vstinner Feb 25, 2022
de2c91a
bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-3…
miss-islington Feb 25, 2022
7190617
[3.9] Minor fixes to C API docs (GH-31501) (GH-31526)
JelleZijlstra Mar 2, 2022
3ea2a8f
[3.9] bpo-43853: Expand test suite for SQLite UDF's (GH-27642) (GH-31…
Mar 2, 2022
359bc39
[3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (G…
vstinner Mar 2, 2022
cf8aff6
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
miss-islington Mar 3, 2022
1d428bb
bpo-46831: Update __build_class__ comment (GH-31522)
miss-islington Mar 3, 2022
0981986
bpo-6634: [doc] clarify that sys.exit() does not always exit the inte…
miss-islington Mar 3, 2022
6a14330
bpo-46913: Fix test_ctypes, test_hashlib, test_faulthandler on UBSan …
vstinner Mar 4, 2022
01df048
bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)
miss-islington Mar 4, 2022
7fba55f
Lib/typing.py copy edits originating from GH-31061 (GH-31684)
miss-islington Mar 5, 2022
852d9b7
[3.9] bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted…
miss-islington Mar 7, 2022
101a1be
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer corre…
zooba Mar 7, 2022
e1639f3
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-20…
zooba Mar 7, 2022
f46a044
bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736)
miss-islington Mar 7, 2022
e83f084
bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` object…
miss-islington Mar 8, 2022
0c718e0
bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)
miss-islington Mar 8, 2022
24ebaf6
docs: Don't use code formatting for emphasis (GH-30519)
miss-islington Mar 8, 2022
89c3601
Removed ambiguity in __init_subclass__ docs (GH-31540)
miss-islington Mar 8, 2022
0663ca1
bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH…
miss-islington Mar 8, 2022
653ca6c
[3.9] bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-316…
Mar 8, 2022
f8c3697
Removed confusing reference to sys (GH-31638)
miss-islington Mar 8, 2022
20e88f7
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31…
miss-islington Mar 8, 2022
f3ea249
bpo-24959: fix unittest.assertRaises bug where traceback entries are …
iritkatriel Mar 8, 2022
0c47008
[3.9] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31778)
JelleZijlstra Mar 9, 2022
f7f7838
[3.9] bpo-46198: rename duplicate tests and remove unused code (GH-30…
JelleZijlstra Mar 10, 2022
30d8021
bpo-31327: Update time documentation to reflect possible errors (GH-3…
miss-islington Mar 11, 2022
ba2b795
bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-3…
vstinner Mar 11, 2022
49ff5ed
[3.9] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31807)
JelleZijlstra Mar 12, 2022
b5140a5
[3.9] bpo-46677: Add examples of inheritance and attributes to `Typed…
CharlieZhao95 Mar 12, 2022
4f340b0
[3.9] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31850)
miss-islington Mar 13, 2022
bda64b3
bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820) (GH-31855)
ned-deily Mar 13, 2022
177be52
[3.9] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH…
jaraco Mar 13, 2022
649cc9d
[3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connect…
illia-v Mar 14, 2022
b4fd91b
[3.9] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFound…
miss-islington Mar 14, 2022
1b12392
Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (…
ned-deily Mar 14, 2022
73943ce
bpo-31415: importtime was made by Inada Naoki (GH-31875)
miss-islington Mar 14, 2022
f1a5e1b
bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)
miss-islington Mar 14, 2022
91dfa91
But Add missing newline to NEWS entry (GH-31893)
miss-islington Mar 15, 2022
64a68c3
bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)
miss-islington Mar 15, 2022
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
1c97e4b
gh-91118: Fix docstrings that do not honor --without-doc-strings (#31…
arhadthedev Apr 18, 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
  •  
  •  
  •  
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
7 changes: 4 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ 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
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