summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GH-103475: cache() and lru_cache() do not have a "call once" guarantee ↵Raymond Hettinger2023-04-221-4/+14
| | | | (GH-103669)
* Descriptor HowTo: Update to include attributes added in Python 3.10 ↵Raymond Hettinger2023-04-221-8/+90
| | | | (GH-103666)
* gh-103559: Update bundled pip version to 23.1.1 (gh-103560)Paul Moore2023-04-223-1/+2
| | | | * Update bundled pip version to 23.1 * Update to pip 23.1.1
* gh-103556: [inspect.Signature] disallow pos-or-kw params without default ↵Nikita Sobolev2023-04-223-12/+41
| | | | after pos-only with default (#103557)
* Minor improvements to the functools docs (#103672)Raymond Hettinger2023-04-221-3/+2
| | | | | * Use an f-string for improved readability * Put version notes in chronological order
* GH-103415: Document itertools.batched() in whatsnew.3.12 (#103670)Raymond Hettinger2023-04-221-0/+7
|
* gh-103661: Skip failing test on Windows. (#103662)Jason R. Coombs2023-04-211-1/+12
|
* gh-103082: Fix shifted field initialization in `instrumentation.c` (GH-103561)Oleg Iarygin2023-04-211-4/+4
| | | Fix shifted field initialization in instrumentation.c
* Sync with importlib_metadata 6.5 (GH-103584)Jason R. Coombs2023-04-2110-72/+531
|
* gh-99352: Respect `http.client.HTTPConnection.debuglevel` in ↵Wheeler Law2023-04-213-18/+57
| | | | | | | | | | | | | | | | | | | | | `urllib.request.AbstractHTTPHandler` (#99353) * bugfix: let the HTTP- and HTTPSHandlers respect the value of http.client.HTTPConnection.debuglevel * add tests * add news * ReSTify NEWS and reword a bit. * Address Review Comments. * Use mock.patch.object instead of settting the module level value. * Used test values to assert the debuglevel. --------- Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Senthil Kumaran <senthil@python.org>
* gh-98641: Document difference between task group and gather (#103644)Adrien2023-04-201-5/+10
| | | The purpose of the comments is to rule out the implication that asyncio.TaskGroup is a drop-in replacement / better alternative to asyncio.gather().
* gh-98040: Move the Single-Phase Init Tests Out of test_imp (gh-102561)Eric Snow2023-04-192-843/+865
| | | I recently added some tests to test_imp, but @warsaw is removing that file in gh-98573. The tests are worth keeping so here I'm moving them to test_import.
* gh-83861: Fix datetime.astimezone() method (GH-101545)Alexander Belopolsky2023-04-194-2/+29
|
* gh-102856: Clean some of the PEP 701 tokenizer implementation (#103634)Pablo Galindo Salgado2023-04-192-74/+67
|
* gh-102856: Skip test_mismatched_parens in WASI builds (#103633)Pablo Galindo Salgado2023-04-191-0/+2
|
* gh-102856: Initial implementation of PEP 701 (#102855)Pablo Galindo Salgado2023-04-1927-3751/+6037
| | | | | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> Co-authored-by: Marta Gómez Macías <mgmacias@google.com> Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
* gh-103583: Add ref. dependency between multibytecodec modules (#103589)Erlend E. Aasland2023-04-193-14/+58
|
* gh-83004: Harden msvcrt further (#103420)Erlend E. Aasland2023-04-191-62/+53
|
* GH-88342: clarify that `asyncio.as_completed` accepts generators yielding ↵Kumar Aditya2023-04-192-1/+5
| | | | tasks (#103626)
* gh-102778: IDLE - make sys.last_exc available in Shell after traceback (#103314)Irit Katriel2023-04-192-0/+2
| | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-103582: Remove last references to `argparse.REMAINDER` from docs (#103586)Nikita Sobolev2023-04-191-2/+2
|
* gh-103583: Always pass multibyte codec structs as const (#103588)Erlend E. Aasland2023-04-192-7/+7
|
* gh-103617: Fix compiler warning in _iomodule.c (#103618)Erlend E. Aasland2023-04-191-2/+3
|
* gh-103596: [Enum] do not shadow mixed-in methods/attributes (GH-103600)Ethan Furman2023-04-185-41/+85
| | | | | | | | | | | | | | | | | | For example: class Book(StrEnum): title = auto() author = auto() desc = auto() Book.author.desc is Book.desc but Book.author.title() == 'Author' is commonly expected. Using upper-case member names avoids this confusion and possible performance impacts. Co-authored-by: samypr100 <3933065+samypr100@users.noreply.github.com>
* GH-100530: Change the error message for non-class class patterns (GH-103576)Nikita Sobolev2023-04-182-1/+2
|
* gh-95299: Remove lingering setuptools reference in installer scripts (GH-103613)Steve Dower2023-04-181-1/+0
|
* [Doc] Fix a typo in optparse.rst (#103504)zyckk42023-04-181-1/+1
|
* gh-101100: Fix broken reference `__format__` in `string.rst` (#103531)yuki2023-04-181-2/+2
|
* gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039)Pradyun Gedam2023-04-1813-48/+57
| | | | | | | Remove the bundled setuptools wheel from ensurepip, and stop installing setuptools in environments created by venv. Co-Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* GH-103484: Docs: add linkcheck allowed redirects entries for most cases ↵Rafael Fontenelle2023-04-181-3/+8
| | | | | | (#103569) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-67230: update whatsnew note for csv changes (#103598)Skip Montanaro2023-04-181-1/+1
|
* gh-103449: Fix a bug in dataclass docstring generation (#103454)Nikita Sobolev2023-04-173-2/+21
|
* gh-103092: Isolate winreg (#103250)AN Long2023-04-175-152/+196
|
* gh-103088: Ensure POSIX venv scripts always use LF line endings (GH-103591)Steve Dower2023-04-174-2/+4
| | | Also touches the affected files in meaningless ways to ensure they get updated when pulling
* gh-101525: Fix make test if the --enable-bolt enabled (gh-103574)Dong-hee Na2023-04-173-7/+128
|
* Remove `expert-*` from `project-updater` GH workflow (#103579)Ezio Melotti2023-04-171-2/+0
|
* gh-103583: Add codecs and maps to _codecs_* module state (#103540)Erlend E. Aasland2023-04-179-96/+161
|
* gh-48330: address review comments to PR-12271 (#103209)Giampaolo Rodola2023-04-163-11/+11
| | | | | address review comments to PR-12271 Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
* gh-103527: Add multibytecodec.h as make dep for _codecs_* (#103567)Erlend E. Aasland2023-04-161-6/+8
|
* gh-103553: Improve `test_inspect`: add more assertions, remove unused (#103554)Nikita Sobolev2023-04-151-15/+9
|
* GH-103517: Improve tests for `pathlib.Path.walk()` (GH-103518)Barney Gale2023-04-151-32/+45
|
* gh-102114: Make dis print more concise tracebacks for syntax errors in str ↵chgnrdv2023-04-153-3/+11
| | | | inputs (#102115)
* GH-78079: Fix UNC device path root normalization in pathlib (GH-102003)Barney Gale2023-04-144-3/+43
| | | | | | | We no longer add a root to device paths such as `//./PhysicalDrive0`, `//?/BootPartition` and `//./c:` while normalizing. We also avoid adding a root to incomplete UNC share paths, like `//`, `//a` and `//a/`. Co-authored-by: Eryk Sun <eryksun@gmail.com>
* gh-101517: Add regression test for a lineno bug in try/except* impacting pdb ↵Tian Gao2023-04-141-0/+20
| | | | (#103547)
* gh-103527: Add make deps for _codecs_* and _multibytecodec (#103528)Erlend E. Aasland2023-04-141-0/+7
|
* gh-103532: Fix reST syntax in NEWS entry (GH-103544)Zachary Ware2023-04-141-1/+1
|
* gh-103532: Add NEWS entry (#103542)Zachary Ware2023-04-141-0/+4
|
* gh-103532: Remove TKINTER_PROTECT_LOADTK code (GH-103535)Christopher Chavez2023-04-143-79/+0
| | | | This was only needed for Tk 8.4.13 and older, but Tkinter already requires at least 8.5.12.
* gh-103180: Add CI timeouts to all GitHub Actions jobs (#103437)Nikita Sobolev2023-04-148-3/+17
|
* Remove double space in import error message (#103458)Ned Batchelder2023-04-141-1/+1
|