summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* gh-106909: Use role :const: for referencing module constants (GH-106910)Serhiy Storchaka2023-07-2122-46/+46
|
* gh-106892: Use roles :data: and :const: for referencing module variables ↵Serhiy Storchaka2023-07-213-4/+4
| | | | (GH-106894)
* gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920)Serhiy Storchaka2023-07-218-18/+18
|
* gh-106669: Revert "gh-102988: Detect email address parsing errors ... ↵Gregory P. Smith2023-07-211-4/+4
| | | | | | | | (#105127)" (#106733) This reverts commit 18dfbd035775c15533d13a98e56b1d2bf5c65f00. Adds a regression test from the issue. See https://github.com/python/cpython/issues/106669.
* GH-104584: Miscellaneous fixes for -Xuops (GH-106908)Brandt Bucher2023-07-201-0/+3
|
* Fix typo in 3.11.4 changelog: urllib.request.Requst -> Request (#106830)Zach Brantmeier2023-07-201-1/+1
|
* gh-106751: Optimize _PolllikeSelector for many iteration case (gh-106884)Pieter Eendebak2023-07-201-0/+1
|
* GH-100502: Add `pathlib.PurePath.pathmod` attribute (GH-106533)Barney Gale2023-07-191-0/+3
| | | | This instance attribute stores the implementation of `os.path` used for low-level path operations: either `posixpath` or `ntpath`.
* gh-104090: Fix unittest collectedDurations resources leak (#106795)Yonatan Bitton2023-07-191-0/+1
|
* gh-106751: Optimize SelectSelector.select() for many iteration case (gh-106879)Dong-hee Na2023-07-191-0/+2
|
* gh-106751: Optimize KqueueSelector.select() for many iteration case (gh-106864)Dong-hee Na2023-07-191-0/+2
|
* gh-106727: Make `inspect.getsource` smarter for class for same name ↵Tian Gao2023-07-181-0/+1
| | | | definitions (#106815)
* gh-105481: Generate the opcode lists in dis from data extracted from ↵Irit Katriel2023-07-181-0/+1
| | | | bytecodes.c (#106758)
* gh-106751: selectors: optimize EpollSelector.select() (#106754)J. Nick Koston2023-07-181-0/+1
| | | Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
* bpo-42327: C API: Add PyModule_Add() function (GH-23443)Serhiy Storchaka2023-07-182-0/+3
| | | | | It is a fixed implementation of PyModule_AddObject() which consistently steals reference both on success and on failure.
* gh-106719: Fix __annotations__ getter and setter in the type and module ↵Serhiy Storchaka2023-07-181-0/+2
| | | | | types (GH-106720) No longer suppress arbitrary errors. Simplify the code.
* gh-106831: Fix NULL check of d2i_SSL_SESSION() result in _ssl.c (#106832)Nikita Sobolev2023-07-171-0/+2
|
* gh-106789: avoid importing pprint from sysconfig (#106790)Irit Katriel2023-07-171-0/+1
|
* gh-105726: Add `__slots__` to `AbstractContextManager` and ↵Grigoriev Semyon2023-07-161-0/+3
| | | | | `AbstractAsyncContextManager` (#106771) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* gh-106706: Streamline family syntax in cases generator DSL (#106716)Kevin Diem2023-07-161-0/+3
| | | | From `family(opname, STRUCTSIZE) = OPNAME + SPEC1 + ... + SPECn;` to `family(OPNAME, STRUCTSIZE) = SPEC1 + ... + SPECn;`
* gh-106752: Sync with zipp 3.16.2 (#106757)Jason R. Coombs2023-07-151-0/+5
| | | | | * gh-106752: Sync with zipp 3.16.2 * Add blurb
* gh-81283: compiler: remove indent from docstring (#106411)Inada Naoki2023-07-151-0/+3
| | | Co-authored-by: Éric <merwok@netwok.org>
* gh-106752: Move zipfile._path into its own package (#106753)Jason R. Coombs2023-07-141-0/+2
| | | | | * gh-106752: Move zipfile._path into its own package so it may have supplementary behavior. * Add blurb
* gh-106554: replace `_BaseSelectorImpl._key_from_fd` with `dict.get` (#106555)J. Nick Koston2023-07-141-0/+1
|
* gh-105481: expose opcode metadata via the _opcode module (#106688)Irit Katriel2023-07-141-0/+1
|
* gh-106531: Remove importlib.resources._legacy (#106532)Jason R. Coombs2023-07-141-0/+3
| | | | | | | * gh-106531: Remove importlib.resources._legacy Syncs with importlib_resources 6.0. * Remove documentation for removed functionality.
* gh-105293: Do not call SSL_CTX_set_session_id_context on client side SSL ↵Grant Ramsay2023-07-141-0/+2
| | | | | | | | | | context (#105295) * gh-105293: Do not call SSL_CTX_set_session_id_context on client side SSL context Openssl states this is a "server side only" operation. Calling this on a client side socket can result in unexpected behavior * Add news entry on SSL "set session id context" changes
* gh-105626: Change the default return value of ↵Nikita Sobolev2023-07-141-0/+3
| | | | `HTTPConnection.get_proxy_response_headers` (#105628)
* gh-106664: selectors: add get() method to _SelectorMapping (#106665)J. Nick Koston2023-07-131-0/+1
| | | | | It can be used to avoid raising and catching KeyError twice via __getitem__. Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* gh-106690: Add a .coveragerc file to the CPython repository (#8150)Ammar Askar2023-07-131-0/+1
| | | | | | | | The added file is the coverage default at some point in time + checking branches both ways + IDLE additions, labelled as such and somewhat designed to be unlikely to affect other files. Located in the CPython repository directory, it can be used where it is or copied elsewhere, depending on how one runs coverage. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* GH-104909: Split `LOAD_ATTR_INSTANCE_VALUE` into micro-ops (GH-106678)Mark Shannon2023-07-131-0/+1
|
* gh-106309: Deprecate typing.no_type_check_decorator (#106312)Alex Waygood2023-07-131-0/+2
|
* gh-106634: Corrected minor asyncio doc issues (#106671)Chris Brett2023-07-131-0/+1
|
* gh-106628: email parsing speedup (gh-106629)CF Bolz-Tereick2023-07-131-0/+2
|
* gh-89427: Set VIRTUAL_ENV_PROMPT even when VIRTUAL_ENV_DISABLE_PROMPT… ↵Jim Porter2023-07-131-0/+2
| | | | (GH-106643)
* gh-105235: Prevent reading outside buffer during mmap.find() (#105252)Dennis Sweeney2023-07-131-0/+1
| | | | | | | * Add a special case for s[-m:] == p in _PyBytes_Find * Add tests for _PyBytes_Find * Make sure that start <= end in mmap.find
* gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106666)Prince Roshan2023-07-121-0/+1
|
* gh-106236: Replace `assert` with `raise RuntimeError` in `threading.py` ↵Nikita Sobolev2023-07-121-0/+2
| | | | | (#106237) Replace `assert` with `raise ` in `threading.py` so that -OO does not alter _DummyThread behavior.
* GH-104909: Break LOAD_GLOBAL specializations in micro-ops. (GH-106677)Mark Shannon2023-07-121-0/+1
|
* gh-99079: Update Windows build to use OpenSSL 3.0.9 (GH-106649)Steve Dower2023-07-121-0/+1
|
* gh-103186: In test_tools.freeze, fetch CONFIG_ARGS from original source ↵Ijtaba Hussain2023-07-111-0/+2
| | | | | | | | | directory (#103213) Fetch CONFIG_ARGS from the original source directory, instead of from the copied source tree. When "make clean" is executed in the copied source tree, the build directory is cleared and the configure argument lookup fails. However, the original source directory still contains this information.
* gh-106307: C API: Add PyMapping_GetOptionalItem() function (GH-106308)Serhiy Storchaka2023-07-112-0/+5
| | | | Also add PyMapping_GetOptionalItemString() function.
* gh-106597: Add debugging struct with offsets for out-of-process tools (#106598)Pablo Galindo Salgado2023-07-111-0/+5
|
* gh-106521: Add PyObject_GetOptionalAttr() function (GH-106522)Serhiy Storchaka2023-07-112-0/+5
| | | | | | It is a new name of former _PyObject_LookupAttr(). Add also PyObject_GetOptionalAttrString().
* gh-106403: Restore weakref support for TypeVar and friends (#106418)Jelle Zijlstra2023-07-111-0/+4
|
* gh-106498: Revert incorrect colorsys.rgb_to_hls change (#106627)Terry Jan Reedy2023-07-111-0/+2
| | | | | | gh-86618 assumed a-b-c = a-(b+c) = a-d where d = b+d. For floats 2.0, 1.0, and 0.9999999999999999, this assumption is false. The net change of 1.1102230246251565e-16 to 0.0 results in division by 0. Revert the replacement. Add test.
* gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (#106468)Ethan Furman2023-07-111-0/+1
| | | | | | | | | | | For example: class Flag(enum.Flag): A = 0x01 B = 0x02 MASK = 0xff ~Flag.MASK is Flag(0)
* gh-106572: Convert PyObject_DelAttr() to a function (#106611)Victor Stinner2023-07-112-0/+6
| | | | | | | | * Convert PyObject_DelAttr() and PyObject_DelAttrString() macros to functions. * Add PyObject_DelAttr() and PyObject_DelAttrString() functions to the stable ABI. * Replace PyObject_SetAttr(obj, name, NULL) with PyObject_DelAttr(obj, name).
* gh-102988: Detect email address parsing errors and return empty tuple to ↵Thomas Dwyer2023-07-101-0/+4
| | | | | | | | | indicate the parsing error (old API) (#105127) Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). This fixes or at least ameliorates CVE-2023-27043. --------- Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-94777: Fix deadlock in ProcessPoolExecutor (#94784)Louis Paulot2023-07-101-0/+1
| | | Fixes a hang in multiprocessing process pool executor when a child process crashes and code could otherwise block on writing to the pipe. See GH-94777 for more details.