summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-103935: Use `io.open_code()` when executing code in trace and profile ↵Tian Gao2023-04-274-3/+7
| | | | modules (GH-103947)
* gh-98822: Add missing test directories to TESTSUBDIRS (#103942)Erlend E. Aasland2023-04-271-12/+45
|
* gh-87092: update CODEOWNERS for split of compile.c to 3 files (#103941)Irit Katriel2023-04-271-0/+2
|
* gh-102628: Fix sqlite3 CLI prompt for Windows console users (#103898)Erlend E. Aasland2023-04-272-1/+4
| | | | The prompt will still be incorrect in IDLE on Windows, as IDLE uses CTRL-D for EOF on all platforms.
* GH-103903: Test the minimum Sphinx version in CI (#103904)Adam Turner2023-04-274-5/+64
|
* GH-103857: Deprecate utcnow and utcfromtimestamp (#103858)Paul Ganssle2023-04-2710-34/+101
| | | | | Using `datetime.datetime.utcnow()` and `datetime.datetime.utcfromtimestamp()` will now raise a `DeprecationWarning`. We also have removed our internal uses of these functions and documented the change.
* GH-90750: Use datetime.fromisocalendar in _strptime (#103802)Paul Ganssle2023-04-273-19/+19
| | | | | | Use datetime.fromisocalendar in _strptime This unifies the ISO → Gregorian conversion logic and improves handling of invalid ISO weeks.
* gh-102765: Update ntpath.isdir/isfile/islink/exists to use ↵Finn Womack2023-04-272-118/+209
| | | | GetFileInformationByName when available (GH-103485)
* gh-103583: Isolate CJK codec modules (#103869)Erlend E. Aasland2023-04-279-226/+228
|
* gh-103092: Isolate _ctypes, part 1 (#103893)Erlend E. Aasland2023-04-277-201/+229
| | | | | | | | | Establish global state and port the following types to heap types: - DictRemover_Type - PyCArg_Type - PyCThunk_Type - PyCField_Type - StructParam_Type
* gh-103590: do not wrap a single exception raised from a try-except* (#103665)Irit Katriel2023-04-274-25/+32
|
* gh-103607: Fix `pause_reading` to work when called from `connection_made` in ↵Itayazolay2023-04-275-24/+62
| | | | | `asyncio`. (#17425) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-103880: Fix `assertRaises` usage in `test_genericalias` (GH-103916)Nikita Sobolev2023-04-271-0/+3
|
* gh-103883: Doc: Move PyUnicode_FromObject doc (#103913)Inada Naoki2023-04-271-9/+9
| | | This API is one of Unicode creator APIs.
* gh-89415: Add source-specific multicast constants to socket module (#103684)Reese Hyde2023-04-272-0/+14
| | | | | Add socket options for source-specific multicast when present as C #defines. Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-103656: Transfer f-string buffers to parser to avoid use-after-free ↵Lysandros Nikolaou2023-04-279-66/+146
| | | | | (GH-103896) Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* gh-62432: unittest runner: Exit code 5 if no tests were run (#102051)Stefano Rivera2023-04-278-22/+64
| | | | | | | | As discussed in https://discuss.python.org/t/unittest-fail-if-zero-tests-were-discovered/21498/7 It is common for test runner misconfiguration to fail to find any tests, This should be an error. Fixes: #62432
* gh-103629: Update typing.Unpack docs in compliance with PEP 692 (#103894)Franek Magiera2023-04-263-2/+58
|
* gh-60436: fix curses textbox backspace/del (#103783)Aidan Melen2023-04-263-2/+77
| | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Michael Blahay <mblahay@gmail.com>
* gh-48241: Clarify URL needs to be encoded when provided to urlopen and ↵Michael Blahay2023-04-262-3/+4
| | | | | | Request (#103855) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Update MAC_address wikipedia URL in comments (#29019)1809092023-04-261-2/+2
|
* gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889)Hugo van Kemenade2023-04-261-0/+2
|
* gh-103489: Add get/set config methods to sqlite3.Connection (#103506)Erlend E. Aasland2023-04-267-1/+329
|
* gh-103015: Add entrypoint keyword param to sqlite3.Connection.load_extension ↵Erlend E. Aasland2023-04-269-14/+104
| | | | (#103073)
* gh-101879: docs - italicize argument in smtplib.SMPT() description (#101886)Owain Davies2023-04-261-5/+5
|
* gh-91441: Clarify the docs of asyncio.loop.subprocess_exec() (#91442)July Tikhonov2023-04-261-9/+8
| | | | | | | | Clarify the docs of asyncio.loop.subprocess_exec() Clarify the documentation of stdin, stdout and stderr arguments of asyncio.loop.subprocess_exec(). Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* GH-99944: Make dis display the value of oparg of KW_NAMES (#103856)Juhi Chandalia2023-04-263-3/+27
| | | | Co-authored-by: chilaxan <chilaxan@gmail.com>
* Add willingc to CODEOWNERS for asyncio (#103885)Carol Willing2023-04-261-1/+1
|
* Docs build: Add upper bounds to transitive dependencies (#103860)Alex Waygood2023-04-262-0/+34
|
* gh-103879: Fix refleak in super specialization (#103882)Jelle Zijlstra2023-04-261-0/+2
|
* gh-101786: Clarify docs that asyncio.Server.sockets is a socket-like ↵Carol Willing2023-04-261-2/+3
| | | | | TransportSocket (#103877) Clarify that asyncio.Server.sockets is a socket-like TransportSocket
* gh-103875: Use ascii and latin1 singletons in deepfreeze (#103876)Yichen Yan2023-04-261-0/+6
|
* gh-103872: Update bundled pip version to 23.1.2 (gh-103873)Paul Moore2023-04-263-1/+2
| | | | | | | | | | | | closes: #103872 xref: https://github.com/pypa/pip/pull/12000 <!-- gh-issue-number: gh-103872 --> * Issue: gh-103872 <!-- /gh-issue-number --> --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-74940: Allow fallback to UTF-8 encoding on systems with no locales ↵Gordon Messmer2023-04-262-1/+3
| | | | | | | | installed (GH-14925) This change removes the alias of the 'C' locale to 'en_US'. Because of this alias, it is currently impossible for an application to use setlocale() to specify a UTF-8 locale on a system that has no locales installed, but which supports the C.UTF-8 locale/encoding.
* gh-103578: Fix pdb reading code with non-utf8 encoding (#103581)Tian Gao2023-04-263-1/+8
| | | `pdb` should use `io.open_code` to open code to avoid encoding issue.
* gh-99352: Ensure HTTPSConnection is available before exercising https ↵Senthil Kumaran2023-04-261-8/+12
| | | | | | | | | | tests. (#103828) gh-99352: Ensure HTTPSConnection is available before exercising https tests. This will fix the buildbot issue mentioned in https://github.com/python/cpython/pull/99353
* GH-103804: Add test for dis.findlinestarts (#103806)Juhi Chandalia2023-04-252-0/+9
|
* gh-87729: specialize LOAD_SUPER_ATTR_METHOD (#103809)Carl Meyer2023-04-2514-358/+540
|
* gh-103721: Improve cross-references for generic-alias docs (#103838)Alex Waygood2023-04-251-0/+7
| | | | | | | | | Cc. @adriangb The "stub documentation" in `types.rst` does already link to the in-depth docs in `stdtypes.rst`, but the link isn't obvious for new users. It deserves to be made more prominent. - Issue: https://github.com/python/cpython/issues/103721
* gh-51574: Make tempfile.mkdtemp() always return absolute paths (#94612)Samuel Sloniker2023-04-255-3/+19
| | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
* gh-102950: Adjust tarfile filter tests for systems that don't set the sticky ↵Petr Viktorin2023-04-251-5/+25
| | | | | | | bit (GH-103831) Also remove expilcit `type=tarfile.DIRTYPE`, the slash at the end is enough.
* gh-103726: Set up gcc-10 for ASAN (gh-103728)Dong-hee Na2023-04-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. # Pull Request title It should be in the following format: ``` gh-NNNNN: Summary of the changes made ``` Where: gh-NNNNN refers to the GitHub issue number. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. # Backport Pull Request title If this is a backport PR (PR made against branches other than `main`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `main`. --> <!-- gh-issue-number: gh-103726 --> * Issue: gh-103726 <!-- /gh-issue-number -->
* DOC: remove reference to OpenSolaris (#102671)partev2023-04-251-7/+0
|
* gh-103826: fix unused variable warning introduced in gh-102343 (#103825)sunmy20192023-04-251-2/+2
|
* gh-100227: Add a Granular Lock for _PyRuntime.imports.extensions.dict ↵Eric Snow2023-04-253-4/+16
| | | | | | (gh-103460) The lock is unnecessary as long as there's a GIL, but completely necessary with a per-interpreter GIL.
* gh-103636: add enums for days and months in calendar module (GH-103642)Prince Roshan2023-04-252-21/+40
| | | Convert day contants to a Day enum, and add a Month enum.
* gh-103718: Correctly set f-string buffers in all cases (GH-103815)Lysandros Nikolaou2023-04-251-8/+6
| | | | | | Turns out we always need to remember/restore fstring buffers in all of the stack of tokenizer modes, cause they might change to `TOK_REGULAR_MODE` and have newlines inside the braces (which is when we need to reallocate the buffer and restore the fstring ones).
* gh-82814: fix shutil access error on WSL (#103790)Allan Lago2023-04-252-1/+4
| | | | | | | gh-82814: Adds `errno.EACCES` to the list of ignored errors on `_copyxattr`. EPERM and EACCES are different constants but in general should be treated the same. News entry authored by: Gregory P. Smith <greg@krypto.org>
* Also fail DO-NOT-MERGE when "awaiting changes" or "awaiting change review" ↵Łukasz Langa2023-04-241-2/+2
| | | | | | | | present on PR (#103807) "awaiting changes" means somebody put a review that requested changes. "awaiting change review" means that the PR author published changes after a red review and then requested a re-review.
* gh-103765: Remove pkgutil.rst from .nitignore (GH-103797)Jaime Alonso Lorenzo2023-04-241-1/+0
|