Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-101408: PyObject_GC_Resize should calculate preheader size. (gh-101741) | Dong-hee Na | 2023-04-23 | 2 | -6/+9 |
| | |||||
* | GH-103699: Add `__orig_bases__` to various typing classes (#103698) | Adrian Garcia Badaracco | 2023-04-23 | 3 | -2/+70 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-81403: Fix for CacheFTPHandler in urllib (#13951) | Dan Hemberger | 2023-04-23 | 2 | -0/+8 |
| | | | | | | | | | | | | | | bpo-37222: Fix for CacheFTPHandler in urllib A call to FTP.ntransfercmd must be followed by FTP.voidresp to clear the "end transfer" message. Without this, the client and server get out of sync, which will result in an error if the FTP instance is reused to open a second URL. This scenario occurs for even the most basic usage of CacheFTPHandler. Reverts the patch merged as a resolution to bpo-16270 and adds a test case for the CacheFTPHandler in test_urllib2net.py. Co-authored-by: Senthil Kumaran <senthil@python.org> | ||||
* | gh-102310: Change error range for invalid bytes literals (#103663) | Nikita Sobolev | 2023-04-23 | 3 | -1/+27 |
| | |||||
* | gh-68654: Clarify subdirectories used by pkgutil.extend_path (#103701) | Randy | 2023-04-22 | 2 | -7/+7 |
| | | | Clarify sub directories used by pkgutil.extend_path in the docs and the docstring | ||||
* | Revert "Avoid error lexing multiprocessing docs code block on Pygments ↵ | Hugo van Kemenade | 2023-04-22 | 1 | -3/+1 |
| | | | | | 2.15.0" (#103616) This reverts commit ace51dcdb781b0608b1273d246ebaee849561435. | ||||
* | gh-84436: Implement Immortal Objects (gh-19474) | Eddie Elizondo | 2023-04-22 | 35 | -171/+483 |
| | | | | | | | | | This is the implementation of PEP683 Motivation: The PR introduces the ability to immortalize instances in CPython which bypasses reference counting. Tagging objects as immortal allows up to skip certain operations when we know that the object will be around for the entire execution of the runtime. Note that this by itself will bring a performance regression to the runtime due to the extra reference count checks. However, this brings the ability of having truly immutable objects that are useful in other contexts such as immutable data sharing between sub-interpreters. | ||||
* | gh-103661: Apply bugfix from importlib_metadata 6.5.1 and restore test. ↵ | Jason R. Coombs | 2023-04-22 | 2 | -24/+15 |
| | | | | (#103681) | ||||
* | gh-83791: Raise TypeError for len(memoryview_0d) (#18463) | Eric Wieser | 2023-04-22 | 5 | -22/+31 |
| | | | Changes the behaviour of `len` on a zero-dimensional `memoryview` to raise `TypeError`. Previously, `len` would return `1`. | ||||
* | GH-103484: Fix broken links reported by linkcheck (#103608) | Rafael Fontenelle | 2023-04-22 | 15 | -30/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Doc: Fix broken links reported by linkcheck * Apply suggestions from code review - Remove extra diff line in faq/library.rst (merwok) - Use HTTPS to link Unicode 15.0.0 to solve a redirect (hugovk) - Use wayback machine link for openssl 1.1.0 instead of linking 1.1.1, "as this text mentions a feature from 1.1.0" (hugovk) Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Doc: Make mark-up code as literal * Doc: Alphabetize items in linkcheck_ignore Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Doc: Improve comment in sphinx conf Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --------- Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | GH-103475: cache() and lru_cache() do not have a "call once" guarantee ↵ | Raymond Hettinger | 2023-04-22 | 1 | -4/+14 |
| | | | | (GH-103669) | ||||
* | Descriptor HowTo: Update to include attributes added in Python 3.10 ↵ | Raymond Hettinger | 2023-04-22 | 1 | -8/+90 |
| | | | | (GH-103666) | ||||
* | gh-103559: Update bundled pip version to 23.1.1 (gh-103560) | Paul Moore | 2023-04-22 | 3 | -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 Sobolev | 2023-04-22 | 3 | -12/+41 |
| | | | | after pos-only with default (#103557) | ||||
* | Minor improvements to the functools docs (#103672) | Raymond Hettinger | 2023-04-22 | 1 | -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 Hettinger | 2023-04-22 | 1 | -0/+7 |
| | |||||
* | gh-103661: Skip failing test on Windows. (#103662) | Jason R. Coombs | 2023-04-21 | 1 | -1/+12 |
| | |||||
* | gh-103082: Fix shifted field initialization in `instrumentation.c` (GH-103561) | Oleg Iarygin | 2023-04-21 | 1 | -4/+4 |
| | | | Fix shifted field initialization in instrumentation.c | ||||
* | Sync with importlib_metadata 6.5 (GH-103584) | Jason R. Coombs | 2023-04-21 | 10 | -72/+531 |
| | |||||
* | gh-99352: Respect `http.client.HTTPConnection.debuglevel` in ↵ | Wheeler Law | 2023-04-21 | 3 | -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) | Adrien | 2023-04-20 | 1 | -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 Snow | 2023-04-19 | 2 | -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 Belopolsky | 2023-04-19 | 4 | -2/+29 |
| | |||||
* | gh-102856: Clean some of the PEP 701 tokenizer implementation (#103634) | Pablo Galindo Salgado | 2023-04-19 | 2 | -74/+67 |
| | |||||
* | gh-102856: Skip test_mismatched_parens in WASI builds (#103633) | Pablo Galindo Salgado | 2023-04-19 | 1 | -0/+2 |
| | |||||
* | gh-102856: Initial implementation of PEP 701 (#102855) | Pablo Galindo Salgado | 2023-04-19 | 27 | -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. Aasland | 2023-04-19 | 3 | -14/+58 |
| | |||||
* | gh-83004: Harden msvcrt further (#103420) | Erlend E. Aasland | 2023-04-19 | 1 | -62/+53 |
| | |||||
* | GH-88342: clarify that `asyncio.as_completed` accepts generators yielding ↵ | Kumar Aditya | 2023-04-19 | 2 | -1/+5 |
| | | | | tasks (#103626) | ||||
* | gh-102778: IDLE - make sys.last_exc available in Shell after traceback (#103314) | Irit Katriel | 2023-04-19 | 2 | -0/+2 |
| | | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | gh-103582: Remove last references to `argparse.REMAINDER` from docs (#103586) | Nikita Sobolev | 2023-04-19 | 1 | -2/+2 |
| | |||||
* | gh-103583: Always pass multibyte codec structs as const (#103588) | Erlend E. Aasland | 2023-04-19 | 2 | -7/+7 |
| | |||||
* | gh-103617: Fix compiler warning in _iomodule.c (#103618) | Erlend E. Aasland | 2023-04-19 | 1 | -2/+3 |
| | |||||
* | gh-103596: [Enum] do not shadow mixed-in methods/attributes (GH-103600) | Ethan Furman | 2023-04-18 | 5 | -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 Sobolev | 2023-04-18 | 2 | -1/+2 |
| | |||||
* | gh-95299: Remove lingering setuptools reference in installer scripts (GH-103613) | Steve Dower | 2023-04-18 | 1 | -1/+0 |
| | |||||
* | [Doc] Fix a typo in optparse.rst (#103504) | zyckk4 | 2023-04-18 | 1 | -1/+1 |
| | |||||
* | gh-101100: Fix broken reference `__format__` in `string.rst` (#103531) | yuki | 2023-04-18 | 1 | -2/+2 |
| | |||||
* | gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039) | Pradyun Gedam | 2023-04-18 | 13 | -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 Fontenelle | 2023-04-18 | 1 | -3/+8 |
| | | | | | | (#103569) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-67230: update whatsnew note for csv changes (#103598) | Skip Montanaro | 2023-04-18 | 1 | -1/+1 |
| | |||||
* | gh-103449: Fix a bug in dataclass docstring generation (#103454) | Nikita Sobolev | 2023-04-17 | 3 | -2/+21 |
| | |||||
* | gh-103092: Isolate winreg (#103250) | AN Long | 2023-04-17 | 5 | -152/+196 |
| | |||||
* | gh-103088: Ensure POSIX venv scripts always use LF line endings (GH-103591) | Steve Dower | 2023-04-17 | 4 | -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 Na | 2023-04-17 | 3 | -7/+128 |
| | |||||
* | Remove `expert-*` from `project-updater` GH workflow (#103579) | Ezio Melotti | 2023-04-17 | 1 | -2/+0 |
| | |||||
* | gh-103583: Add codecs and maps to _codecs_* module state (#103540) | Erlend E. Aasland | 2023-04-17 | 9 | -96/+161 |
| | |||||
* | gh-48330: address review comments to PR-12271 (#103209) | Giampaolo Rodola | 2023-04-16 | 3 | -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. Aasland | 2023-04-16 | 1 | -6/+8 |
| | |||||
* | gh-103553: Improve `test_inspect`: add more assertions, remove unused (#103554) | Nikita Sobolev | 2023-04-15 | 1 | -15/+9 |
| |