Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45925: Update Windows installer to SQLite 3.37.2 (GH-30485) | Kumar Aditya | 2022-01-28 | 4 | -3/+4 |
| | |||||
* | bpo-46072: Add simple stats for Python calls. (GH-30989) | Mark Shannon | 2022-01-28 | 4 | -0/+29 |
| | |||||
* | bpo-46417: _PyStructSequence_FiniType() updates _Py_RefTotal (GH-30988) | Victor Stinner | 2022-01-28 | 1 | -0/+3 |
| | |||||
* | bpo-46329: Split calls into precall and call instructions. (GH-30855) | Mark Shannon | 2022-01-28 | 16 | -629/+912 |
| | | | | | | | | | | | | | | * Add PRECALL_FUNCTION opcode. * Move 'call shape' varaibles into struct. * Replace CALL_NO_KW and CALL_KW with KW_NAMES and CALL instructions. * Specialize for builtin methods taking using the METH_FASTCALL | METH_KEYWORDS protocol. * Allow kwnames for specialized calls to builtin types. * Specialize calls to tuple(arg) and str(arg). | ||||
* | bpo-46449: deepfreeze get_code() now returns strong ref (GH-30987) | Kumar Aditya | 2022-01-28 | 1 | -1/+1 |
| | |||||
* | bpo-42238: [doc] Avoid hardcoding fast-moving lines in susp-ignored.csv. ↵ | Julien Palard | 2022-01-28 | 1 | -2/+2 |
| | | | | (GH-30981) | ||||
* | bpo-46530: add `"thread_time"` to `test_time.test_get_clock_info` (#30913) | Nikita Sobolev | 2022-01-28 | 1 | -12/+18 |
| | |||||
* | bpo-46407: Optimizing some modulo operations (GH-30653) | Crowthebird | 2022-01-28 | 3 | -9/+108 |
| | | | | | | | Added new internal functions to compute mod without also computing the quotient. The loops can be leaner then, which leads to modestly but reliably faster execution in contexts that know they don't need the quotient. Code by Jeremiah Vivian (Pascual). | ||||
* | bpo-46542: test_json uses support.infinite_recursion() (GH-30972) | Victor Stinner | 2022-01-28 | 2 | -6/+15 |
| | | | | Fix test_json tests checking for RecursionError: modify these tests to use support.infinite_recursion(). | ||||
* | bpo-40170: Remove PyHeapType_GET_MEMBERS() macro (GH-30942) | Victor Stinner | 2022-01-27 | 5 | -10/+19 |
| | | | | | | | | Remove the PyHeapType_GET_MEMBERS() macro. It was exposed in the public C API by mistake, it must only be used by Python internally. Use the PyTypeObject.tp_members member instead. Rename PyHeapType_GET_MEMBERS() to _PyHeapType_GET_MEMBERS() and move it to the internal C API. | ||||
* | bpo-40170: Move _Py_GetAllocatedBlocks() to pycore_pymem.h (GH-30943) | Victor Stinner | 2022-01-27 | 4 | -12/+9 |
| | | | | | Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats() declarations to pycore_pymem.h. These functions are related to memory allocators, not to the PyObject structure. | ||||
* | bpo-46417: signal: move siginfo_type to the module state (GH-30964) | Victor Stinner | 2022-01-27 | 1 | -19/+20 |
| | |||||
* | bpo-42982: update pbkdf2 example & add another link (GH-30966) | Gregory P. Smith | 2022-01-27 | 1 | -5/+7 |
| | | | Automerge-Triggered-By: GH:gpshead | ||||
* | bpo-46476: Simplify and fix _PyStaticCode_Dealloc (GH-30965) | Christian Heimes | 2022-01-27 | 3 | -7/+10 |
| | |||||
* | bpo-46541: Generate the global objects initializer. (gh-30941) | Eric Snow | 2022-01-27 | 3 | -1/+136 |
| | | | | | | | This change is a prerequisite for generating code for other global objects (like strings in gh-30928). (We borrowed some code from Tools/scripts/deepfreeze.py.) https://bugs.python.org/issue46541 | ||||
* | bpo-46098: Add test for multiline syntax error traceback (GH-30695) | Russel Webber | 2022-01-27 | 1 | -7/+41 |
| | |||||
* | bpo-44734: Fix floating point precision in test_turtle (GH-30910) | Karolina Surma | 2022-01-27 | 1 | -1/+1 |
| | |||||
* | bpo-46458: emit code for else of a try block immediately after the try body ↵ | Irit Katriel | 2022-01-27 | 5 | -75/+225 |
| | | | | (GH-30751) | ||||
* | bpo-46476: Fix memory leak in code objects generated by deepfreeze (GH-30853) | Kumar Aditya | 2022-01-27 | 8 | -0/+39 |
| | | | Add _Py_Deepfreeze_Fini() and _PyStaticCode_Dealloc() functions. | ||||
* | bpo-44791: Fix substitution of ParamSpec in Concatenate with different ↵ | Serhiy Storchaka | 2022-01-27 | 4 | -5/+65 |
| | | | | | | | | | parameter expressions (GH-27518) * Substitution with a list of types returns now a tuple of types. * Substitution with Concatenate returns now a Concatenate with concatenated lists of arguments. * Substitution with Ellipsis is not supported. | ||||
* | bpo-46544: Do not leak `x` and `uspace` in textwrap.TextWrapper (GH-30955) | Nikita Sobolev | 2022-01-27 | 2 | -4/+3 |
| | |||||
* | bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. ↵ | Kinshuk Dua | 2022-01-27 | 3 | -20/+37 |
| | | | | Improve tests for context in nested except handlers. (GH-29236) | ||||
* | bpo-40280: Use presence of msvcrt module to detect Windows (GH-30930) | Christian Heimes | 2022-01-27 | 2 | -4/+9 |
| | |||||
* | bpo-42982: Improve the text on suggested number of iterations of PBKDF2 ↵ | Illia Volochii | 2022-01-27 | 1 | -2/+7 |
| | | | | | | | (GH-24276) Less specific number wording (as there is no one right number - the old 100k is too big for some applications and woefully small for others). We now link to NIST SP 800-132 to tell people what to read in there on how to decide for their application. Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] | ||||
* | [doc]: Spotted errors while working on rstlint. (GH-30879) | Julien Palard | 2022-01-27 | 9 | -12/+20 |
| | | | | Also ignored some `make suspicious` false positives while assuring true positives were properly seen by rstlint. | ||||
* | bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) | Gregory P. Smith | 2022-01-27 | 14 | -55/+376 |
| | | | | | | | | | | Revert "bpo-45162: Remove many old deprecated unittest features (GH-28268)" This reverts commit b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b. We're deferring this change until 3.12 while upstream projects that use the legacy assertion method names are fixed. See the issue for links to the discussion. Many upstream projects now have issues and PRs filed. | ||||
* | bpo-46496: news11-10 for bpo45296 (GH-30937) | Terry Jan Reedy | 2022-01-27 | 1 | -0/+6 |
| | |||||
* | bpo-45296: Clarify close, quit, and exit in IDLE (GH-30936) | Terry Jan Reedy | 2022-01-27 | 4 | -15/+23 |
| | | | | | | In the File menu, 'Close' and 'Exit' are now 'Close Window' (the current one) and 'Exit' is now 'Exit IDLE' (by closing all windows). In Shell, 'quit()' and 'exit()' mean 'close Shell'. If there are no other windows, this also exits IDLE. | ||||
* | bpo-46539: Pass status of special typeforms to forward references (GH-30926) | Gregory Beauregard | 2022-01-27 | 3 | -3/+18 |
| | | | | | | | | | Previously this didn't matter because there weren't any valid code paths that could trigger a type check with a special form, but after the bug fix for `Annotated` wrapping special forms it's now possible to annotate something like `Annotated['ClassVar[int]', (3, 4)]`. This change would also be needed for proposed future changes, such as allowing `ClassVar` and `Final` to nest each other in dataclasses. | ||||
* | bpo-40170: Remove _Py_GetAllocatedBlocks() function (GH-30940) | Victor Stinner | 2022-01-27 | 4 | -9/+16 |
| | | | | Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats() private functions to the internal C API. | ||||
* | bpo-40170: PyType_SUPPORTS_WEAKREFS() becomes a regular function (GH-30938) | Victor Stinner | 2022-01-27 | 7 | -10/+24 |
| | | | | | | | | Convert the PyType_SUPPORTS_WEAKREFS() macro to a regular function. It no longer access the PyTypeObject.tp_weaklistoffset member directly. Add _PyType_SUPPORTS_WEAKREFS() static inline functions, used internally by Python for best performance. | ||||
* | bpo-46502: Remove "How do I tell incomplete input" from FAQ (GH-30925) | Mateusz Łoskot | 2022-01-26 | 1 | -122/+0 |
| | | | | | | | | | | | | Since, - Py_CompileString no longer allows to distinguish "incomplete input" from "invalid input" - there is no alternative solution available from the Python C API due to how the new parser works (rewritten in 3.9) - the only supported way is to manually import the codeop module from C and use its API as IDLE does, and accept its own complications it is desirable to remove this Q&A from the official FAQ. | ||||
* | make regen-all now suggests running: make autoconf (GH-30893) | Victor Stinner | 2022-01-26 | 1 | -1/+1 |
| | | | "make autoconf" also runs autoheader, whereas "autoconf" does not. | ||||
* | bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929) | Victor Stinner | 2022-01-26 | 2 | -1/+5 |
| | | | | | Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale. | ||||
* | bpo-46528: Simplify the VM's stack manipulations (GH-30902) | Brandt Bucher | 2022-01-26 | 12 | -320/+285 |
| | |||||
* | bpo-35134: Add Include/cpython/descrobject.h (GH-30923) | Victor Stinner | 2022-01-26 | 5 | -69/+78 |
| | | | | Move Include/descrobject.h non-limited API to a new Include/cpython/descrobject.h header file. | ||||
* | bpo-43853: Expand test suite for SQLite UDF's (GH-27642) | Erlend Egeberg Aasland | 2022-01-26 | 3 | -67/+78 |
| | |||||
* | bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) | Jelle Zijlstra | 2022-01-26 | 3 | -12/+55 |
| | |||||
* | Use existing unbound_local_error label in DELETE_FAST opcode (GH-30882) | Kumar Aditya | 2022-01-26 | 1 | -6/+1 |
| | |||||
* | bpo-46529: increase coverage of `typing.Union.__repr__` method (GH-30911) | Nikita Sobolev | 2022-01-26 | 1 | -0/+9 |
| | |||||
* | bpo-43698: do not use `...` as argument name in docs (GH-30502) | Nikita Sobolev | 2022-01-26 | 4 | -19/+16 |
| | |||||
* | bpo-45578: add a test case for `dis.findlabels` (GH-30058) | Nikita Sobolev | 2022-01-26 | 1 | -0/+10 |
| | |||||
* | bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30851) | Christian Heimes | 2022-01-26 | 5 | -46/+2 |
| | |||||
* | bpo-41844: Update IDLE part of What's New 3.9 to 20228 (GH-30905) | Terry Jan Reedy | 2022-01-26 | 1 | -0/+14 |
| | |||||
* | bpo-48146: Update IDLE part of What's New 3.10 to 2022 (GH-30906) | Terry Jan Reedy | 2022-01-26 | 1 | -6/+11 |
| | |||||
* | bpo-46431: use raw string for regex in test (GH-30901) | Irit Katriel | 2022-01-25 | 1 | -1/+1 |
| | |||||
* | Add skips to crashing tests under sanitizers instead of manually skipping ↵ | Pablo Galindo Salgado | 2022-01-25 | 7 | -7/+37 |
| | | | | them (GH-30897) | ||||
* | bpo-46091: Correctly calculate indentation levels for whitespace lines with ↵ | Pablo Galindo Salgado | 2022-01-25 | 5 | -16/+165 |
| | | | | continuation characters (GH-30130) | ||||
* | Refactor sanitiser skip tests into test.support (GH-30889) | Pablo Galindo Salgado | 2022-01-25 | 3 | -34/+42 |
| | | | | | | | * Refactor sanitizer skip tests into test.support * fixup! Refactor sanitizer skip tests into test.support * fixup! fixup! Refactor sanitizer skip tests into test.support | ||||
* | bpo-45382: test.pythoninfo: set wmic.exe encoding to OEM (GH-30890) | Victor Stinner | 2022-01-25 | 1 | -0/+3 |
| |