Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Docs: fix markup for `importlib.machinery.NamespaceLoader` (#112479) | Alex Waygood | 2023-11-28 | 1 | -1/+1 |
| | |||||
* | gh-112414: Add additional unit tests for calling `repr()` on a namespace ↵ | Alex Waygood | 2023-11-28 | 2 | -4/+30 |
| | | | | | package (#112475) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> | ||||
* | Correct documentation for AF_PACKET (#112339) | Eugene Toder | 2023-11-27 | 1 | -2/+1 |
| | | | | | | | Protocol in the address tuple should *not* be in the network-byte-order, because it is converted internally[1]. [1] https://github.com/python/cpython/blob/89ddea4886942b0c27a778a0ad3f0d5ac5f518f0/Modules/socketmodule.c#L2144 network byte order doesn't make sense for a python level int anyways. It's a fixed size C serialization concept. | ||||
* | gh-99367: Do not mangle sys.path[0] in pdb if safe_path is set (#111762) | Tian Gao | 2023-11-27 | 4 | -6/+39 |
| | | | | Co-authored-by: Christian Walther <cwalther@users.noreply.github.com> | ||||
* | gh-112217: Add check to call result for `do_raise()` where cause is a type. ↵ | apaz | 2023-11-27 | 3 | -0/+22 |
| | | | | (#112216) | ||||
* | gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) | Serhiy Storchaka | 2023-11-27 | 6 | -32/+204 |
| | |||||
* | gh-112387: Fix error positions for decoded strings with backwards tokenize ↵ | Pablo Galindo Salgado | 2023-11-27 | 3 | -0/+10 |
| | | | | | errors (#112409) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | ||||
* | gh-112388: Fix an error that was causing the parser to try to overwrite ↵ | Pablo Galindo Salgado | 2023-11-27 | 3 | -0/+7 |
| | | | | | tokenizer errors (#112410) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | ||||
* | bpo-41422: Visit the Pickler's and Unpickler's memo in tp_traverse (GH-21664) | kale-smoothie | 2023-11-27 | 2 | -0/+17 |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-76912: Raise OSError from any failure in getpass.getuser() (#29739) | Jacob Walls | 2023-11-27 | 5 | -7/+24 |
| | | | | * bpo-32731: Raise OSError from any failure in getpass.getuser() Previously, if the username was not set in certain environment variables, ImportError escaped on Windows systems, and it was possible for KeyError to escape on other systems if getpwuid() failed. | ||||
* | gh-111789: Use PyDict_GetItemRef() in Python/_warnings.c (gh-112080) | Serhiy Storchaka | 2023-11-27 | 1 | -4/+4 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Python/symtable.c (gh-112084) | Serhiy Storchaka | 2023-11-27 | 1 | -8/+4 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Python/codecs.c (gh-112082) | Serhiy Storchaka | 2023-11-27 | 1 | -5/+4 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Python/bltinmodule.c (gh-112081) | Serhiy Storchaka | 2023-11-27 | 1 | -6/+3 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Modules/pyexpat.c (gh-112079) | Serhiy Storchaka | 2023-11-27 | 1 | -12/+5 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Modules/_threadmodule.c (gh-112077) | Serhiy Storchaka | 2023-11-27 | 1 | -6/+4 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Modules/_struct.c (gh-112076) | Serhiy Storchaka | 2023-11-27 | 1 | -5/+4 |
| | |||||
* | gh-111789: Use PyDict_GetItemRef() in Modules/_csv.c (gh-112073) | Serhiy Storchaka | 2023-11-27 | 1 | -8/+2 |
| | |||||
* | gh-112438: Fix support of format units with the "e" prefix in nested tuples ↵ | Serhiy Storchaka | 2023-11-27 | 4 | -6/+40 |
| | | | | in PyArg_Parse (gh-112439) | ||||
* | gh-84443: SSLSocket.recv_into() now support buffer protocol with itemsize != ↵ | Zackery Spytz | 2023-11-27 | 3 | -4/+32 |
| | | | | | | | 1 (GH-20310) It is also no longer use __len__(). Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-111874: Call `__set_name__` on objects that define the method inside a ↵ | Alex Waygood | 2023-11-27 | 3 | -3/+99 |
| | | | | | `typing.NamedTuple` class dictionary as part of the creation of that class (#111876) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | GH-101100: Fix reference warnings for ``socket`` methods (#110114) | Adam Turner | 2023-11-27 | 3 | -17/+17 |
| | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | Move What's New In Python 3.12 entries to the right section (#112447) | Victor Stinner | 2023-11-27 | 1 | -7/+8 |
| | | | Jython and ctypes removals are unrelated to C API Removals. | ||||
* | gh-111147: Fix `test_set_of_sets_reprs` in `test_pprint` (GH-111148) | Nikita Sobolev | 2023-11-27 | 1 | -197/+95 |
| | | | | Make it stable and not depending on implementation details. | ||||
* | Docs: fix typo in doc for sqlite3.Cursor.execute (#112442) | Tom Levy | 2023-11-27 | 1 | -1/+1 |
| | |||||
* | gh-112414: Fix `AttributeError` when calling `repr()` on a namespace package ↵ | Alex Waygood | 2023-11-27 | 4 | -3/+16 |
| | | | | imported with a custom loader (#112425) | ||||
* | gh-63284: Add support for TLS-PSK (pre-shared key) to the ssl module (#103181) | Grant Ramsay | 2023-11-27 | 10 | -1/+561 |
| | | | | | | | | Add support for TLS-PSK (pre-shared key) to the ssl module. --------- Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org> | ||||
* | gh-99606: Make code generated for an empty f-string identical to that of a ↵ | Irit Katriel | 2023-11-26 | 3 | -2/+18 |
| | | | | normal empty string (#112407) | ||||
* | gh-112405: Optimise `pathlib.Path.relative_to` (#112406) | Alex Waygood | 2023-11-26 | 2 | -1/+3 |
| | |||||
* | gh-112358: Fix Python 3.12 regression with subclassing struct.Struct. (#112424) | Mark Dickinson | 2023-11-26 | 4 | -48/+52 |
| | | | | | | Revert commit c8c0afc7137ab9f22bf59d591084948ca967c97c (PR #94532), which moved `struct.Struct` initialisation from `Struct.__init__` to `Struct.__new__`. This caused issues with code in the wild that subclasses `struct.Struct`. | ||||
* | gh-101100: Fix Sphinx reference warnings (GH-112416) | Hugo van Kemenade | 2023-11-25 | 8 | -17/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | * Fix Sphinx warning in library/xml.rst Direct use of the pyexpat module is deprecated, but this is how to check the version for security purposes * Fix Sphinx warning in library/importlib.resources.rst * Use italics for parameters * Link to the exception * Fix Sphinx warning in library/gzip.rst * Document message and header defect base classes to fix Sphinx warning in library/email.headerregistry.rst * Restore feed_eof() doc to fix Sphinx warning in library/asyncio-stream.rst * Fix Sphinx warning in extending/newtypes.rst * Fix Sphinx warning in c-api/set.rst On stdtypes.rst, set and frozenset are documented together and the frozenset has the working refs | ||||
* | gh-112331: Fix reference manual description of attribute lookup mechanics ↵ | Raymond Hettinger | 2023-11-25 | 1 | -6/+12 |
| | | | | (gh-112375) | ||||
* | Descriptor HowTo: Sync the error-messages with the C code. Add tests. ↵ | Raymond Hettinger | 2023-11-25 | 1 | -3/+40 |
| | | | | (gh-112403) | ||||
* | gh-101100 : Fix Sphinx warnings in `library/doctest.rst` (#112399) | Hugo van Kemenade | 2023-11-25 | 3 | -21/+29 |
| | | | | | | | | | | | | | | | | | | | * Fix Sphinx warnings in library/doctest.rst * Don't link to self, and wrap a line Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Link to load_tests protocol * Link to option flags * Wrap line Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | GH-77621: Delay some imports from pathlib (#112244) | Barney Gale | 2023-11-25 | 2 | -5/+11 |
| | | | | | Import `contextlib`, `glob` and `re` only as required. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-94722: fix DocTest.__eq__ for case of no line number on one side (#112385) | Irit Katriel | 2023-11-25 | 3 | -2/+23 |
| | |||||
* | GH-112361: Speed up pathlib by removing some temporary objects. (#112362) | Barney Gale | 2023-11-25 | 3 | -22/+14 |
| | | | | | Construct only one new list object (using `list.copy()`) when creating a new path object with a modified tail. This slightly speeds up `with_name()` and `with_suffix()` | ||||
* | gh-101100: Define `_tkinter` module to fix references (#112382) | Hugo van Kemenade | 2023-11-25 | 1 | -0/+3 |
| | | | Define _tkinter module to fix references | ||||
* | gh-101100: Define `test.regrtest` module to fix references (#112381) | Hugo van Kemenade | 2023-11-25 | 1 | -0/+3 |
| | | | Define test.regrtest module to fix references | ||||
* | gh-112355: fix calculation of jump target of ENTER_EXECUTOR in dis (#112377) | Irit Katriel | 2023-11-24 | 1 | -1/+6 |
| | |||||
* | gh-59254: mention in open() doc that line buffering is for writing (#112318) | Irit Katriel | 2023-11-24 | 1 | -1/+1 |
| | |||||
* | gh-112213: Add missing declaration of target_critical_section (gh-112374) | Donghee Na | 2023-11-24 | 1 | -2/+4 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-112345: `typing.Protocol`: Let failed subclasscheck show non-method ↵ | Randolf Scholz | 2023-11-24 | 3 | -1/+25 |
| | | | | | members (#112344) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | Remove bogus annotations from the descriptor howto guide (#112349) | Raymond Hettinger | 2023-11-23 | 1 | -3/+3 |
| | |||||
* | Add extra tests for `random.binomialvariate` (gh-112325) | Tian Gao | 2023-11-23 | 2 | -0/+5 |
| | |||||
* | gh-112137: change dis output to show no-lineno as -- instead of None (#112335) | Irit Katriel | 2023-11-23 | 3 | -16/+18 |
| | |||||
* | gh-76785: Return an "excinfo" Object From Interpreter.run() (gh-111573) | Eric Snow | 2023-11-23 | 9 | -243/+418 |
| | |||||
* | gh-111809: Fix `test_deep_repr` from `test_userdict` on WASI (GH-112229) | Nikita Sobolev | 2023-11-22 | 1 | -1/+6 |
| | |||||
* | gh-112137: change dis output to display labels instead of offsets (#112138) | Irit Katriel | 2023-11-22 | 5 | -815/+838 |
| | |||||
* | gh-76785: Add _PyType_GetModuleName() to the Internal C-API (gh-112323) | Eric Snow | 2023-11-22 | 5 | -0/+43 |
| | | | The new function corresponds to the existing (public) PyType_GetName() and PyType_GetQualName(). |