Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-101849: Add upgrade codes for old versions of launcher that ended up with ↵ | Steve Dower | 2023-02-13 | 2 | -1/+22 |
| | | | | later version numbers (GH-101877) | ||||
* | gh-89792: Limit test_tools freeze test build parallelism based on the number ↵ | Gregory P. Smith | 2023-02-12 | 1 | -3/+12 |
| | | | | | of cores (#101841) unhardcode freeze test build parallelism. base it on the number of cpus, don't use more than max(2, os.cpu_count()/3). | ||||
* | gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test ↵ | Gregory P. Smith | 2023-02-12 | 1 | -1/+13 |
| | | | | | | | | | (#101837) Prevent test_tools from copying 1000M of "source" It doesn't need a git repo, just the checkout. We skip .git metadata, Doc/build, Doc/venv, and `__pycache__` subdirs, that developers often have in their clients to reduce the size of the source tree copy ten-fold. This should significantly reduce IO and presumably time on buildbots during this long test. | ||||
* | gh-101277: Finalise isolating itertools (GH-101305) | Erlend E. Aasland | 2023-02-10 | 1 | -22/+0 |
| | | | | | Add repeat, islice, chain, tee, teedataobject, and batched types to module state. Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) | Gregory P. Smith | 2023-02-09 | 1 | -2/+2 |
| | | | | Fixes CVE-2023-0286 (High) and a couple of Medium security issues. https://www.openssl.org/news/secadv/20230207.txt | ||||
* | gh-98831: Use opcode metadata for stack_effect() (#101704) | Guido van Rossum | 2023-02-09 | 1 | -19/+25 |
| | | | | | | | | | | * Write output and metadata in a single run This halves the time to run the cases generator (most of the time goes into parsing the input). * Declare or define opcode metadata based on NEED_OPCODE_TABLES * Use generated metadata for stack_effect() * compile.o depends on opcode_metadata.h * Return -1 from _PyOpcode_num_popped/pushed for unknown opcode | ||||
* | gh-98831: Modernize CALL and family (#101508) | Guido van Rossum | 2023-02-08 | 1 | -5/+16 |
| | | | Includes a slight improvement to `DECREF_INPUTS()`. | ||||
* | gh-98831: Modernize CALL_FUNCTION_EX (#101627) | Guido van Rossum | 2023-02-08 | 2 | -5/+19 |
| | | | New generator feature: Move CHECK_EVAL_BREAKER() call to just before DISPATCH(). | ||||
* | gh-98831: Modernize FORMAT_VALUE (#101628) | Guido van Rossum | 2023-02-08 | 2 | -5/+12 |
| | | | Generator update: support balanced parentheses and brackets in conditions and size expressions. | ||||
* | gh-98831: Finish the UNPACK_SEQUENCE family (#101666) | Guido van Rossum | 2023-02-07 | 2 | -18/+26 |
| | | | New generator feature: Generate useful glue for output arrays, so you can just write values to the output array (no bounds checking). Rewrote UNPACK_SEQUENCE_TWO_TUPLE to use this, and also UNPACK_SEQUENCE_{TUPLE,LIST}. | ||||
* | gh-98831: Move DSL documentation here from ideas repo (#101629) | Guido van Rossum | 2023-02-07 | 2 | -3/+415 |
| | |||||
* | gh-101524: Split Up the _xxsubinterpreters Module (gh-101526) | Eric Snow | 2023-02-04 | 1 | -0/+1 |
| | | | | | This is step 1 in potentially dropping all the "channel"-related code. Channels have already been removed from PEP 554. https://github.com/python/cpython/issues/101524 | ||||
* | gh-98831: rewrite PUSH_EXC_INFO and conditional jumps in the instruction ↵ | Irit Katriel | 2023-02-01 | 1 | -1/+1 |
| | | | | definition DSL (#101481) | ||||
* | gh-101409: Improve generated clinic code for self type checks (#101411) | Erlend E. Aasland | 2023-01-31 | 1 | -10/+12 |
| | |||||
* | gh-98831: Clean up and add cache size static_assert to macro (#101442) | Guido van Rossum | 2023-01-31 | 2 | -4/+24 |
| | |||||
* | GH-101369: Allow macros as family members (#101399) | Guido van Rossum | 2023-01-30 | 2 | -36/+93 |
| | | | | Also check for instructions straddling families (this includes macro parts). | ||||
* | GH-101291: Refactor the `PyLongObject` struct into object header and ↵ | Mark Shannon | 2023-01-30 | 1 | -1/+1 |
| | | | | PyLongValue struct. (GH-101292) | ||||
* | gh-98831: Support conditional effects; use for LOAD_ATTR (#101333) | Guido van Rossum | 2023-01-30 | 3 | -69/+159 |
| | |||||
* | gh-99834: Update bundled copy of Tcl/Tk to 8.6.13.0 on Windows (GH-101307) | Steve Dower | 2023-01-26 | 1 | -0/+3 |
| | |||||
* | gh-98831: Fix two bugs in case generator (#101349) | Guido van Rossum | 2023-01-26 | 2 | -5/+8 |
| | | | | | | Fix two bugs in case generator - UndefinedLocalError when generating metadata for an 'op' - Accidental newline inserted in test_generator.py | ||||
* | gh-98831: rewrite RAISE_VARARGS in the instruction definition DSL (#101306) | Irit Katriel | 2023-01-25 | 1 | -2/+4 |
| | |||||
* | gh-98831: add variable stack effect support to cases generator (#101309) | Irit Katriel | 2023-01-25 | 1 | -18/+60 |
| | |||||
* | Add advice how to freeze fewer modules (#101298) | Guido van Rossum | 2023-01-25 | 1 | -1/+6 |
| | | | (And fix a bug that only occurs when you follow the advice.) | ||||
* | GH-98831: Elaborate some cases_generator tests (#101299) | Guido van Rossum | 2023-01-25 | 1 | -13/+41 |
| | | | | * Make macro test more elaborate * Add test for 'register inst()' | ||||
* | gh-98831: rewrite pattern matching opcodes in the instruction definition DSL ↵ | Irit Katriel | 2023-01-24 | 2 | -4/+18 |
| | | | | (#101287) | ||||
* | GH-91375: Purge `asyncio` static variables from globals-to-fix list (#101288) | Erlend E. Aasland | 2023-01-24 | 1 | -23/+0 |
| | |||||
* | GH-92123: Move _elementtree heap types to module state (#101187) | Erlend E. Aasland | 2023-01-21 | 1 | -4/+0 |
| | |||||
* | gh-98831: register instructions have 0 pushes and pops (#101163) | Irit Katriel | 2023-01-19 | 1 | -0/+1 |
| | |||||
* | gh-100712: make it possible to disable specialization (for debugging) (#100713) | Irit Katriel | 2023-01-19 | 1 | -0/+5 |
| | |||||
* | gh-100340: Allows -Wno-int-conversion for wasm (#100341) | Kushal Das | 2023-01-18 | 1 | -0/+3 |
| | | | Fixes #100340 allows -Wno-int-conversion for wasm | ||||
* | Fix typo and old link in wasm readme (#101096) | Zac Hatfield-Dodds | 2023-01-18 | 1 | -2/+2 |
| | |||||
* | GH-98831: Implement array support in cases generator (#100912) | Guido van Rossum | 2023-01-17 | 3 | -56/+303 |
| | | | | | | | | You can now write things like this: ``` inst(BUILD_STRING, (pieces[oparg] -- str)) { ... } inst(LIST_APPEND, (list, unused[oparg-1], v -- list, unused[oparg-1])) { ... } ``` Note that array output effects are only partially supported (they must be named `unused` or correspond to an input effect). | ||||
* | gh-101046: Fix a potential memory leak in the parser when raising ↵ | Pablo Galindo Salgado | 2023-01-16 | 1 | -1/+1 |
| | | | | MemoryError (#101051) | ||||
* | GH-100982: Add `COMPARE_AND_BRANCH` instruction (GH-100983) | Mark Shannon | 2023-01-16 | 1 | -0/+2 |
| | |||||
* | GH-98831: Identify instructions that don't use oparg (#100957) | Guido van Rossum | 2023-01-14 | 2 | -3/+13 |
| | | | | | | | For these the instr_format field uses IX instead of IB. Register instructions use IX, IB, IBBX, IBBB, etc. Also: Include the closing '}' in Block.tokens, for completeness | ||||
* | Don't double count misses. (GH-100984) | Mark Shannon | 2023-01-13 | 1 | -0/+3 |
| | |||||
* | GH-100997: Implement Multi-Phase Init for the _testinternalcapi Module ↵ | Eric Snow | 2023-01-12 | 2 | -3/+0 |
| | | | | | | | (gh-100998) _testinternalcapi is an internal module used for testing. https://github.com/python/cpython/issues/100997 | ||||
* | GH-98831: Refactor instr format code and change to enum (#100895) | Guido van Rossum | 2023-01-09 | 1 | -51/+53 |
| | |||||
* | GH-98831: Add some tests for generate_cases.py (#100763) | Guido van Rossum | 2023-01-06 | 1 | -0/+310 |
| | | | | | | - This doesn't cover everything (far from it) but it's a start. - This uses pytest, which isn't ideal, but was quickest to get started. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | ||||
* | GH-98831: Update generate_cases.py: register inst, opcode_metadata.h (#100735) | Guido van Rossum | 2023-01-05 | 2 | -36/+231 |
| | | | | | | | | (These aren't used yet, but may be coming soon, and it's easier to keep this tool the same between branches.) Added a sanity check for all this to compile.c. Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> | ||||
* | GH-100719: Remove the `co_nplaincellvars` field from code objects. (GH-100721) | Mark Shannon | 2023-01-04 | 1 | -6/+2 |
| | |||||
* | gh-100720: refactor calculation of number of frame slots for a code object ↵ | Irit Katriel | 2023-01-04 | 1 | -0/+1 |
| | | | | into the new function _PyFrame_NumSlotsForCodeObject (#100722) | ||||
* | gh-89419: gdb: fix bug causing `AttributeError` in py-locals when no frame ↵ | Eli Schwartz | 2023-01-03 | 1 | -0/+1 |
| | | | | is available (#100611) | ||||
* | gh-100540: Remove obsolete Modules/_ctypes/darwin/ dlfcn shim (GH-100541) | Zachary Ware | 2022-12-29 | 1 | -1/+0 |
| | | | As far as I can tell, this hasn't been actually used since Mac OS X 10.2. | ||||
* | gh-100540: Remove unused Modules/_ctypes/libffi_osx/ (GH-100543) | Zachary Ware | 2022-12-28 | 2 | -6/+5 |
| | | | | It was an ancient, modified copy of libffi that has not been in use since GH-22855. | ||||
* | Fix copy-paste error in `Tools/clinic.py` (#100560) | Nikita Sobolev | 2022-12-28 | 1 | -1/+1 |
| | |||||
* | GH-100342: check for allocation failure in AC `*args` parsing (#100343) | Kumar Aditya | 2022-12-28 | 1 | -0/+4 |
| | |||||
* | GH-98831: Modernize a ton of simpler instructions (#100545) | Guido van Rossum | 2022-12-28 | 1 | -7/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * load_const and load_fast aren't families for now * Don't decref unmoved names * Modernize GET_ANEXT * Modernize GET_AWAITABLE * Modernize ASYNC_GEN_WRAP * Modernize YIELD_VALUE * Modernize POP_EXCEPT (in more than one way) * Modernize PREP_RERAISE_STAR * Modernize LOAD_ASSERTION_ERROR * Modernize LOAD_BUILD_CLASS * Modernize STORE_NAME * Modernize LOAD_NAME * Modernize LOAD_CLASSDEREF * Modernize LOAD_DEREF * Modernize STORE_DEREF * Modernize COPY_FREE_VARS (mark it as done) * Modernize LIST_TO_TUPLE * Modernize LIST_EXTEND * Modernize SET_UPDATE * Modernize SETUP_ANNOTATIONS * Modernize DICT_UPDATE * Modernize DICT_MERGE * Modernize MAP_ADD * Modernize IS_OP * Modernize CONTAINS_OP * Modernize CHECK_EXC_MATCH * Modernize IMPORT_NAME * Modernize IMPORT_STAR * Modernize IMPORT_FROM * Modernize JUMP_FORWARD (mark it as done) * Modernize JUMP_BACKWARD (mark it as done) | ||||
* | Remove `NoneType` redefinition from `clinic.py` (#100551) | Nikita Sobolev | 2022-12-27 | 1 | -2/+0 |
| | |||||
* | gh-100454: Start running SSL tests with OpenSSL 3.1.0-beta1 (#100456) | Illia Volochii | 2022-12-24 | 1 | -4/+4 |
| |