summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* faq/library: remove outdated section (#105996)Mathieu Dupuy2023-07-151-35/+0
|
* Add more examples to the recipe docs (GH-106782)Raymond Hettinger2023-07-151-0/+2
| | | Demonstrate that factor() works for large composites and large primes.
* gh-106752: Sync with zipp 3.16.2 (#106757)Jason R. Coombs2023-07-156-27/+204
| | | | | * gh-106752: Sync with zipp 3.16.2 * Add blurb
* gh-81283: compiler: remove indent from docstring (#106411)Inada Naoki2023-07-159-30/+246
| | | Co-authored-by: Éric <merwok@netwok.org>
* gh-104050: Argument Clinic: Annotate BlockParser (#106750)Erlend E. Aasland2023-07-151-11/+19
|
* gh-106368: Increase Argument Clinic BlockParser test coverage (#106759)Erlend E. Aasland2023-07-151-4/+96
|
* gh-106529: Fix subtle Tier 2 edge case with list iterator (#106756)Guido van Rossum2023-07-154-4/+38
| | | | | | | | | | | | The Tier 2 opcode _IS_ITER_EXHAUSTED_LIST (and _TUPLE) didn't set it->it_seq to NULL, causing a subtle bug that resulted in test_exhausted_iterator in list_tests.py to fail when running all tests with -Xuops. The bug was introduced in gh-106696. Added this as an explicit test. Also fixed the dependencies for ceval.o -- it depends on executor_cases.c.h.
* gh-106752: Move zipfile._path into its own package (#106753)Jason R. Coombs2023-07-1411-2/+5
| | | | | * gh-106752: Move zipfile._path into its own package so it may have supplementary behavior. * Add blurb
* gh-102799: replace internal sys.exc_info() call by sys.exception() (#106746)Irit Katriel2023-07-141-5/+5
|
* gh-106745: typing docs: Clarify that removal of PEP-585 aliases is not ↵Alex Waygood2023-07-141-25/+45
| | | | currently planned (#106748)
* gh-106554: replace `_BaseSelectorImpl._key_from_fd` with `dict.get` (#106555)J. Nick Koston2023-07-142-17/+5
|
* gh-105481: expose opcode metadata via the _opcode module (#106688)Irit Katriel2023-07-149-21/+558
|
* gh-106531: Remove importlib.resources._legacy (#106532)Jason R. Coombs2023-07-144-295/+3
| | | | | | | * gh-106531: Remove importlib.resources._legacy Syncs with importlib_resources 6.0. * Remove documentation for removed functionality.
* gh-104050: Argument Clinic: Annotate `output_templates()` (#106732)Erlend E. Aasland2023-07-141-6/+12
| | | Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
* gh-106446: Fix failed doctest in stdtypes (#106447)Charlie Zhao2023-07-141-17/+20
| | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-105293: Do not call SSL_CTX_set_session_id_context on client side SSL ↵Grant Ramsay2023-07-142-5/+11
| | | | | | | | | | 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-144-4/+19
| | | | `HTTPConnection.get_proxy_response_headers` (#105628)
* gh-106529: Split FOR_ITER_{LIST,TUPLE} into uops (#106696)Guido van Rossum2023-07-146-111/+378
| | | | Also rename `_ITER_EXHAUSTED_XXX` to `_IS_ITER_EXHAUSTED_XXX` to make it clear this is a test.
* gh-104683: Argument clinic: use an enum to describe the different kinds of ↵Alex Waygood2023-07-131-25/+44
| | | | | functions (#106721) Argument clinic: use an enum to describe the different kinds of functions
* gh-106368: Increase Argument Clinic test coverage (#106728)Erlend E. Aasland2023-07-132-0/+590
| | | | - improve output_parameter() coverage - improve coverage for Function.kind
* docs: clarify Path.suffix (GH-106650)Ned Batchelder2023-07-132-4/+6
|
* gh-106664: selectors: add get() method to _SelectorMapping (#106665)J. Nick Koston2023-07-133-5/+16
| | | | | It can be used to avoid raising and catching KeyError twice via __getitem__. Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* gh-106701: Move the hand-written Tier 2 uops to bytecodes.c (#106702)Guido van Rossum2023-07-135-94/+124
| | | | | | | This moves EXIT_TRACE, SAVE_IP, JUMP_TO_TOP, and _POP_JUMP_IF_{FALSE,TRUE} from ceval.c to bytecodes.c. They are no less special than before, but this way they are discoverable o the copy-and-patch tooling.
* gh-106690: Add a .coveragerc file to the CPython repository (#8150)Ammar Askar2023-07-132-0/+20
| | | | | | | | 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-136-46/+87
|
* gh-106309: Deprecate typing.no_type_check_decorator (#106312)Alex Waygood2023-07-135-19/+36
|
* gh-106634: Corrected minor asyncio doc issues (#106671)Chris Brett2023-07-133-2/+3
|
* gh-106628: email parsing speedup (gh-106629)CF Bolz-Tereick2023-07-132-6/+11
|
* gh-89427: Set VIRTUAL_ENV_PROMPT even when VIRTUAL_ENV_DISABLE_PROMPT… ↵Jim Porter2023-07-135-5/+9
| | | | (GH-106643)
* gh-105235: Prevent reading outside buffer during mmap.find() (#105252)Dennis Sweeney2023-07-135-3/+161
| | | | | | | * 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-104050: Argument Clinic: Annotate nested function parser_body() in the ↵Erlend E. Aasland2023-07-121-8/+10
| | | | CLanguage class (#106699)
* gh-104683: Argument clinic: modernise `cpp.Monitor` (#106698)Alex Waygood2023-07-121-13/+14
|
* gh-104050: Argument clinic: Annotate the `Destination` class (#106655)Alex Waygood2023-07-121-17/+22
| | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106666)Prince Roshan2023-07-123-0/+15
|
* gh-106236: Replace `assert` with `raise RuntimeError` in `threading.py` ↵Nikita Sobolev2023-07-123-3/+14
| | | | | (#106237) Replace `assert` with `raise ` in `threading.py` so that -OO does not alter _DummyThread behavior.
* gh-106529: Split FOR_ITER_RANGE into uops (#106638)Guido van Rossum2023-07-126-28/+146
| | | | For an example of what this does for Tier 1 and Tier 2, see https://github.com/python/cpython/issues/106529#issuecomment-1631649920
* gh-106656: Remove --emit-line-directives from regen-cases (#106657)Guido van Rossum2023-07-123-863/+2
| | | | | | | If you prefer to see `#line` directives in generated_cases.c.h, run ``` make regen-cases CASESFLAG=-l ``` But please don't commit the result.
* GH-104909: Break LOAD_GLOBAL specializations in micro-ops. (GH-106677)Mark Shannon2023-07-126-502/+586
|
* gh-99079: Update Windows build to use OpenSSL 3.0.9 (GH-106649)Steve Dower2023-07-126-8/+10
|
* gh-105481: move Python/opcode_metadata.h to ↵Irit Katriel2023-07-129-16/+16
| | | | Include/internal/pycore_opcode_metadata.h (#106673)
* gh-105373: Elaborate Pending Removal in What's New in Python 3.13 (#106675)Victor Stinner2023-07-121-2/+9
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-106521: Remove _PyObject_LookupAttr() function (GH-106642)Serhiy Storchaka2023-07-1245-352/+351
|
* Add Plausible for docs metrics (#106644)Hugo van Kemenade2023-07-121-0/+1
|
* gh-104683: Argument clinic: Minor readability improvements for ↵Alex Waygood2023-07-111-5/+8
| | | | `Destination.__init__` (#106652)
* gh-103186: In test_tools.freeze, fetch CONFIG_ARGS from original source ↵Ijtaba Hussain2023-07-112-1/+3
| | | | | | | | | 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-106529: Implement JUMP_FORWARD in uops (with test) (#106651)Guido van Rossum2023-07-112-0/+32
| | | | Note that this may generate two SAVE_IP uops in a row. Removing unneeded SAVE_IP uops is the optimizer's job.
* gh-104050: Argument Clinic: Annotate the `Block` class (#106519)Alex Waygood2023-07-111-15/+17
|
* gh-104584: readability improvements in optimizer.c (#106641)Irit Katriel2023-07-111-18/+19
|
* gh-96165: Clarify passing ":memory:" in sqlite3.connect() (#106451)Mariusz Felisiak2023-07-111-2/+3
|
* gh-96165: Clarify omitting the FROM clause in SQLite queries (#106513)Mariusz Felisiak2023-07-111-0/+7
|