Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-44934: Add optional feature AppendPath to Windows MSI installer (GH-27889) | bneuburg | 2022-01-18 | 11 | -6/+107 |
| | | | The option must be enabled from the command line | ||||
* | Restore MSIX signing and ensure expired certificates are not selected (GH-30649) | Steve Dower | 2022-01-17 | 2 | -4/+6 |
| | | | Reverts the change in d6c6e6b and applies a better fix. | ||||
* | bpo-46418: [Enum] simplify `MODULE` declaration in tests (GH-30647) | Nikita Sobolev | 2022-01-17 | 1 | -1/+1 |
| | |||||
* | Skip signing side-loadable MSIX for Windows (GH-30644) | Steve Dower | 2022-01-17 | 1 | -1/+3 |
| | | | | We currently do not release these files, and so there's nothing lost by signing them. Our code signing certificate is somehow incompatible with signing MSIX files. We may be able to re-enable this when we next renew, or if Microsoft updates their signing tool to work with our certificate. | ||||
* | bpo-46161: Fix bug in starunpack_helper in compile.c (GH-30235) | zq1997 | 2022-01-17 | 3 | -1/+23 |
| | |||||
* | bpo-40066: [Enum] fix tests (GH-30643) | Ethan Furman | 2022-01-17 | 3 | -11/+11 |
| | | | | | - skip doctest that changes depending on target system - skip doctest that only fails on CI - substitute in values that change depending on target system | ||||
* | bpo-46405: fix msvc compiler warnings (GH-30627) | Kumar Aditya | 2022-01-17 | 1 | -1/+1 |
| | |||||
* | bpo-40066: [Enum] skip failing doc test (GH-30637) | Kumar Aditya | 2022-01-17 | 14 | -2004/+2070 |
| | |||||
* | bpo-44133: Skip PyThread_get_thread_native_id() if not available (GH-30636) | Victor Stinner | 2022-01-17 | 1 | -1/+7 |
| | | | | | | test_capi.test_export_symbols() doesn't check if Python exports the "PyThread_get_thread_native_id" symbol if the _thread.get_native_id() function is not available (if the PY_HAVE_THREAD_NATIVE_ID macro is not defined). | ||||
* | bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631) | Victor Stinner | 2022-01-17 | 2 | -2/+17 |
| | | | | | | | | | | Skip test_builtin PTY tests on non-ASCII characters if the readline module is loaded. The readline module changes input() behavior, but test_builtin is not intented to test the readline module. When the readline module is loaded, PyOS_Readline() uses the readline implementation. In some cases, the Python readline callback rlhandler() is called by readline with a string without non-ASCII characters. | ||||
* | Revert "bpo-40066: [Enum] update str() and format() output (GH-30582)" ↵ | Victor Stinner | 2022-01-17 | 14 | -2070/+2004 |
| | | | | | (GH-30632) This reverts commit acf7403f9baea3ae1119fc6b4a3298522188bf96. | ||||
* | bpo-40280: Change subprocess imports for cleaner error on wasm32 (GH-30620) | Christian Heimes | 2022-01-17 | 2 | -8/+11 |
| | |||||
* | bpo-40280: Add requires_fork test helper (GH-30622) | Christian Heimes | 2022-01-16 | 10 | -18/+34 |
| | |||||
* | bpo-46361: Fix "small" `int` caching (GH-30583) | Brandt Bucher | 2022-01-16 | 5 | -1/+24 |
| | |||||
* | bpo-46386: improve `test_typing:test_immutability_by_copy_and_pickle` (GH-30613) | Nikita Sobolev | 2022-01-16 | 1 | -8/+16 |
| | |||||
* | bpo-40066: [Enum] update str() and format() output (GH-30582) | Ethan Furman | 2022-01-16 | 14 | -2004/+2070 |
| | | | | | | | | | | | | | | | Undo rejected PEP-663 changes: - restore `repr()` to its 3.10 status - restore `str()` to its 3.10 status New changes: - `IntEnum` and `IntFlag` now leave `__str__` as the original `int.__str__` so that str() and format() return the same result - zero-valued flags without a name have a slightly changed repr(), e.g. `repr(Color(0)) == '<Color: 0>'` - update `dir()` for mixed-in types to return all the methods and attributes of the mixed-in type - added `_numeric_repr_` to `Flag` to control display of unnamed values - enums without doc strings have a more comprehensive doc string added - `ReprEnum` added -- inheriting from this makes it so only `__repr__` is replaced, not `__str__` nor `__format__`; `IntEnum`, `IntFlag`, and `StrEnum` all inherit from `ReprEnum` | ||||
* | bpo-46387: test all pickle protos in `test_field_descriptor` in ↵ | Nikita Sobolev | 2022-01-16 | 1 | -6/+8 |
| | | | | `test_collections` (GH-30614) | ||||
* | bpo-46388: Test NotImplemented code path for functools.total_ordering (GH-30616) | Russel Webber | 2022-01-15 | 1 | -0/+67 |
| | |||||
* | bpo-46258: Streamline isqrt fast path (#30333) | Mark Dickinson | 2022-01-15 | 2 | -14/+45 |
| | |||||
* | bpo-46383: Fix signature of zoneinfo module_free function (GH-30607) | Christian Heimes | 2022-01-15 | 2 | -1/+3 |
| | |||||
* | bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a ↵ | Hugo van Kemenade | 2022-01-14 | 1 | -7/+6 |
| | | | | pre-existing footnote (GH-30354) | ||||
* | bpo-46242: [Enum] better error message for extending `Enum` with members ↵ | Nikita Sobolev | 2022-01-14 | 3 | -5/+7 |
| | | | | (GH-30357) | ||||
* | Merge remote-tracking branch 'upstream/main' | Pablo Galindo | 2022-01-14 | 33 | -732/+918 |
|\ | |||||
| * | bpo-46380: Apply tests to both C and Python version (GH-30606) | Nikita Sobolev | 2022-01-14 | 1 | -3/+3 |
| | | |||||
| * | bpo-45569: Change PYLONG_BITS_IN_DIGIT default to 30 (GH-30497) | Mark Dickinson | 2022-01-14 | 6 | -16/+22 |
| | | |||||
| * | bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601) | Christian Heimes | 2022-01-14 | 1 | -3/+9 |
| | | |||||
| * | bpo-23183: Document the timeit output (GH-30359) | Hugo van Kemenade | 2022-01-14 | 1 | -0/+7 |
| | | | | | | | | Co-authored-by: Robert Collins <robertc@robertcollins.net> | ||||
| * | bpo-46362: Ensure abspath() tests pass through environment variables to ↵ | neonene | 2022-01-14 | 1 | -1/+2 |
| | | | | | | | | subprocess (GH-30595) | ||||
| * | bpo-40280: Build WASM stdlib bundle and more modules for node (GH-30597) | Christian Heimes | 2022-01-14 | 3 | -24/+55 |
| | | |||||
| * | bpo-46280: Fix tracemalloc_copy_domain() (GH-30591) | Victor Stinner | 2022-01-14 | 1 | -0/+3 |
| | | | | | | | | Test if tracemalloc_copy_traces() failed to allocated memory in tracemalloc_copy_domain(). | ||||
| * | bpo-45953: Statically initialize all the non-object PyInterpreterState ↵ | Eric Snow | 2022-01-14 | 5 | -26/+40 |
| | | | | | | | | | | fields we can. (gh-30589) https://bugs.python.org/issue45953 | ||||
| * | bpo-45953: Statically initialize all the PyThreadState fields we can. (gh-30590) | Eric Snow | 2022-01-14 | 5 | -24/+41 |
| | | | | | | https://bugs.python.org/issue45953 | ||||
| * | bpo-46362: Ensure ntpath.abspath() uses the Windows API correctly (GH-30571) | neonene | 2022-01-13 | 8 | -42/+114 |
| | | | | | | This makes ntpath.abspath()/getpath_abspath() follow normpath(), since some WinAPIs such as PathCchSkipRoot() require backslashed paths. | ||||
| * | Statically initialize _PyRuntimeState fields. (gh-30588) | Eric Snow | 2022-01-13 | 2 | -10/+11 |
| | | | | | | https://bugs.python.org/issue45953 | ||||
| * | bpo-46370: Move the static initializer for _PyRuntime to its own header ↵ | Eric Snow | 2022-01-13 | 9 | -583/+611 |
| | | | | | | | | | | file. (gh-30587) https://bugs.python.org/issue46370 | ||||
| * | bpo-40479: Fix typo, flag must be set for OpenSSL < 3.0.0 (GH-30584) | Christian Heimes | 2022-01-13 | 1 | -1/+1 |
| | | |||||
* | | Post 3.11.0a4 | Pablo Galindo | 2022-01-14 | 1 | -1/+1 |
| | | |||||
* | | Python 3.11.0a4v3.11.0a4 | Pablo Galindo | 2022-01-13 | 119 | -308/+1339 |
|/ | |||||
* | bpo-46070: _PyGC_Fini() untracks objects (GH-30577) | Victor Stinner | 2022-01-13 | 2 | -0/+29 |
| | | | | | | | Py_EndInterpreter() now explicitly untracks all objects currently tracked by the GC. Previously, if an object was used later by another interpreter, calling PyObject_GC_UnTrack() on the object crashed if the previous or the next object of the PyGC_Head structure became a dangling pointer. | ||||
* | bpo-44133: Link Python executable with object files (GH-30556) | Victor Stinner | 2022-01-13 | 6 | -85/+131 |
| | | | | | | | | | | | | | | When Python is built without --enable-shared, the "python" program is now linked to object files, rather than being linked to the Python library (libpython.a), to make sure that all symbols are exported. Previously, the linker omitted some symbols like the Py_FrozenMain() function. When Python is configured with --without-static-libpython, the Python static library (libpython.a) is no longer built. * Check --without-static-libpython earlier in configure.ac * Add LINK_PYTHON_OBJS and LINK_PYTHON_DEPS variables to Makefile. * test_capi now ensures that the "Py_FrozenMain" symbol is exported. | ||||
* | bpo-46355: Document PyFrameObject and PyThreadState changes (GH-30558) | Victor Stinner | 2022-01-13 | 1 | -0/+104 |
| | | | | Document PyFrameObject and PyThreadState changes in What's New in Python 3.11 and explain how to port code. | ||||
* | bpo-46358: modernize `test_asyncio` (GH-30562) | Nikita Sobolev | 2022-01-13 | 3 | -39/+17 |
| | |||||
* | bpo-46359: Modernize `test_typing` by removing checks for EOL Python ↵ | Nikita Sobolev | 2022-01-13 | 1 | -20/+9 |
| | | | | | versions (GH-30563) Also removes unused tests meant for older versions of Python. | ||||
* | bpo-46328: Add sys.exception() (GH-30514) | Irit Katriel | 2022-01-13 | 7 | -18/+146 |
| | |||||
* | bpo-46344: Fix trace bug in else of try and try-star blocks (GH-30544) | Irit Katriel | 2022-01-13 | 3 | -32/+56 |
| | |||||
* | bpo-40479: Fix hashlib's usedforsecurity for OpenSSL 3.0.0 (GH-30455) | Christian Heimes | 2022-01-13 | 9 | -249/+358 |
| | |||||
* | bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507) | Christian Heimes | 2022-01-13 | 14 | -14/+90 |
| | |||||
* | bpo-46345: Add a test case for implicit `Optional` class attribute (GH-30535) | Nikita Sobolev | 2022-01-12 | 1 | -0/+6 |
| | |||||
* | bpo-45953: Statically allocate the main interpreter (and initial thread ↵ | Eric Snow | 2022-01-12 | 8 | -34/+115 |
| | | | | | | | | | state). (gh-29883) Previously, the main interpreter was allocated on the heap during runtime initialization. Here we instead embed it into _PyRuntimeState, which means it is statically allocated as part of the _PyRuntime global. The same goes for the initial thread state (of each interpreter, including the main one). Consequently there are fewer allocations during runtime/interpreter init, fewer possible failures, and better memory locality. FYI, this also helps efforts to consolidate globals, which in turns helps work on subinterpreter isolation. https://bugs.python.org/issue45953 | ||||
* | bpo-46342: make @typing.final introspectable (GH-30530) | Jelle Zijlstra | 2022-01-12 | 4 | -1/+93 |
| | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> |