Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-45635: continue refactor of print_exception() to standardize error ↵ | Irit Katriel | 2021-12-09 | 1 | -78/+105 | |
| | | | | | handling (GH-29996) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | |||||
* | bpo-46016: Fix rest syntax of GH-29993 (GH-30006) | Kumar Aditya | 2021-12-09 | 2 | -2/+2 | |
| | ||||||
* | bpo-46025: Fix a crash in the atexit module for auto-unregistering functions ↵ | Pablo Galindo Salgado | 2021-12-09 | 3 | -1/+21 | |
| | | | | (GH-30002) | |||||
* | bpo-25066: Added repr for multiprocessing.Event (GH-29749) | Kumar Aditya | 2021-12-09 | 3 | -1/+18 | |
| | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> | |||||
* | bpo-45391: mark UnionType as a class in documentation (GH-28757) | Bernát Gábor | 2021-12-09 | 1 | -1/+1 | |
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> | |||||
* | bpo-46007: Exclude PyUnicode_CHECK_INTERNED() from limited C API (GH-29987) | Victor Stinner | 2021-12-09 | 4 | -4/+13 | |
| | | | | | | | Exclude the PyUnicode_CHECK_INTERNED() macro from the limited C API, because it uses the PyASCIIObject structure which is excluded from the limited C API. Automerge-Triggered-By: GH:encukou | |||||
* | bpo-45510: Check both types when specializing subtraction (GH-29995) | Brandt Bucher | 2021-12-09 | 1 | -0/+4 | |
| | ||||||
* | Merge remote-tracking branch 'upstream/main' | Pablo Galindo | 2021-12-08 | 4 | -0/+22 | |
|\ | ||||||
| * | bpo-46016: fcntl module add FreeBSD's F_DUP2FD_CLOEXEC flag support (GH-29993) | David CARLIER | 2021-12-08 | 4 | -0/+22 | |
| | | ||||||
* | | Post 3.11.0a3 | Pablo Galindo | 2021-12-08 | 1 | -1/+1 | |
| | | ||||||
* | | Python 3.11.0a3v3.11.0a3 | Pablo Galindo | 2021-12-08 | 129 | -596/+1798 | |
| | | ||||||
* | | Fix some false positives of documentation syntax problems | Pablo Galindo | 2021-12-08 | 3 | -4/+4 | |
|/ | ||||||
* | bpo-45711: Remove unnecessary normalization of exc_info (GH-29922) | Irit Katriel | 2021-12-08 | 2 | -20/+1 | |
| | ||||||
* | bpo-46015: Fixes calculation of sys.path in a venv on Windows (GH-29992) | Steve Dower | 2021-12-08 | 6 | -12/+20 | |
| | | | Also ensures that pybuilddir.txt is written early enough in the build to be picked up by later steps. | |||||
* | bpo-45359: Support TopologicalSorter type subscript (GH-28714) | Jacob Hayes | 2021-12-08 | 3 | -0/+7 | |
| | | | | | | | | | | | | * Support TopologicalSorter type subscript * 📜🤖 Added by blurb_it. * Add TopologicalSorter to GenericAlias tests * Update Misc/NEWS.d/next/Library/2021-10-03-22-27-35.bpo-45359.LX_uxe.rst Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> | |||||
* | bpo-45635: refactor print_exception() into smaller functions (GH-29981) | Irit Katriel | 2021-12-08 | 1 | -87/+139 | |
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | |||||
* | bpo-45813: Drop redundant assertion from frame.clear() (GH-29990) | Andrew Svetlov | 2021-12-08 | 2 | -3/+15 | |
| | | | | | * bpo-45813: Drop redundant assertion from frame.clear() * Move assertion to frame_dealloc() | |||||
* | bpo-46009: Do not exhaust generator when send() method raises (GH-29986) | Mark Shannon | 2021-12-08 | 5 | -21/+30 | |
| | ||||||
* | doc: Add link issue 44010 (GH-29454) | Rafael Fontenelle | 2021-12-08 | 1 | -1/+1 | |
| | ||||||
* | bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967) | Christian Heimes | 2021-12-08 | 3 | -67/+85 | |
| | ||||||
* | Fix double-space in exception message (GH-29955) | Ned Batchelder | 2021-12-08 | 1 | -1/+1 | |
| | ||||||
* | bpo-40222: update doc entry with respect to the change in WITH_EXCEPT_START ↵ | Irit Katriel | 2021-12-08 | 1 | -1/+3 | |
| | | | | (GH-29975) | |||||
* | bpo-20751: Match variable name to the example. (GH-29980) | Raymond Hettinger | 2021-12-08 | 1 | -4/+8 | |
| | ||||||
* | bpo-45582: Write empty pybuilddir.txt on Windows to allow relocatable build ↵ | Steve Dower | 2021-12-08 | 3 | -6/+6 | |
| | | | | directories (GH-29979) | |||||
* | bpo-46008: Move Py*State init into distinct functions. (gh-29977) | Eric Snow | 2021-12-08 | 4 | -103/+299 | |
| | | | | | Previously, basic initialization of PyInterprterState happened in PyInterpreterState_New() (along with allocation and adding the new interpreter to the runtime state). This prevented us from initializing interpreter states that were allocated separately (e.g. statically or in a free list). We've addressed that here by factoring out a separate function just for initialization. We've done the same for PyThreadState. _PyRuntimeState was sorted out when we added it since _PyRuntime is statically allocated. However, here we update the existing init code to line up with the functions for PyInterpreterState and PyThreadState. https://bugs.python.org/issue46008 | |||||
* | bpo-46008: Add _PyInterpreterState_Main(). (gh-29978) | Eric Snow | 2021-12-08 | 4 | -9/+13 | |
| | | | | | PyInterpreterState_Main() is a plain function exposed in the public C-API. For internal usage we can take the more efficient approach in this PR. https://bugs.python.org/issue46008 | |||||
* | bpo-46008: Stop calling _PyThreadState_Init() in new_threadstate(). (gh-29973) | Eric Snow | 2021-12-08 | 3 | -9/+17 | |
| | | | | | This simplifies new_threadstate(). We also rename _PyThreadState_Init() to _PyThreadState_SetCurrent() to reflect what it actually does. https://bugs.python.org/issue46008 | |||||
* | bpo-46008: Use PyMem_RawCalloc() to allocate PyThreadState. (GH-29972) | Eric Snow | 2021-12-07 | 1 | -38/+2 | |
| | | | | | Doing so allows us to stop assigning various fields to `NULL` and 0. It also more closely matches the behavior of a static initializer. Automerge-Triggered-By: GH:ericsnowcurrently | |||||
* | bpo-46008: Move thread-related interpreter state into a sub-struct. (gh-29971) | Eric Snow | 2021-12-07 | 8 | -40/+42 | |
| | | | | | This parallels _PyRuntimeState.interpreters. Doing this helps make it more clear what part of PyInterpreterState relates to its threads. https://bugs.python.org/issue46008 | |||||
* | bpo-46008: Return void from _PyEval_InitState(). (gh-29970) | Eric Snow | 2021-12-07 | 3 | -10/+7 | |
| | | | | | This falls into the category of keep-allocation-and-initialization separate. It also allows us to use _PyEval_InitState() safely in functions that return void. https://bugs.python.org/issue46008 | |||||
* | bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969) | Christian Heimes | 2021-12-07 | 5 | -479/+38 | |
| | ||||||
* | bpo-45582: Fix framework path and bootstrap build (GH-29954) | Christian Heimes | 2021-12-07 | 2 | -23/+14 | |
| | | | | | | | * Check NS API return values for NULL to prevent segfault in ``_bootstrap_python``. * Set modPathInitialized to 1 so the ``decode_to_dict`` path is used. Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | Fix leak when an exception is raised during generator creation. (GH-29960) | Mark Shannon | 2021-12-07 | 1 | -20/+7 | |
| | ||||||
* | bpo-45635: standardize error handling in traceback.c (GH-29905) | Irit Katriel | 2021-12-07 | 1 | -66/+104 | |
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | |||||
* | bpo-45947: Place dict and values pointer at fixed (negative) offset just ↵ | Mark Shannon | 2021-12-07 | 19 | -281/+256 | |
| | | | | | | | | | | | | | | | | | | | before GC header. (GH-29879) * Place __dict__ immediately before GC header for plain Python objects. * Fix up lazy dict creation logic to use managed dict pointers. * Manage values pointer, placing them directly before managed dict pointers. * Convert hint-based load/store attr specialization target managed dict classes. * Specialize LOAD_METHOD for managed dict objects. * Remove unsafe _PyObject_GC_Calloc function. * Remove unsafe _PyObject_GC_Malloc() function. * Add comment explaning use of Py_TPFLAGS_MANAGED_DICT. | |||||
* | bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) | Ken Jin | 2021-12-07 | 1 | -5/+5 | |
| | ||||||
* | bpo-46004: Fix error location for loops with invalid targets (GH-29959) | Pablo Galindo Salgado | 2021-12-07 | 3 | -1/+5 | |
| | ||||||
* | Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" ↵ | Victor Stinner | 2021-12-07 | 28 | -34/+3228 | |
| | | | | | (GH-29951) This reverts commit 9bf2cbc4c498812e14f20d86acb61c53928a5a57. | |||||
* | bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) | Vinay Sajip | 2021-12-07 | 1 | -0/+9 | |
| | ||||||
* | bpo-45890: Add tests for tracing try-except-finally blocks (GH-29746) | Irit Katriel | 2021-12-07 | 2 | -2/+51 | |
| | ||||||
* | bpo-46001: Change OverflowError to RecursionError in JSON library docstrings ↵ | James Gerity | 2021-12-07 | 3 | -5/+5 | |
| | | | | (GH-29943) | |||||
* | bpo-45798: Let libmpdec decide which archs to build on macOS as done ↵ | Ned Deily | 2021-12-07 | 2 | -22/+5 | |
| | | | | previously. (GH-29949) | |||||
* | bpo-28953: Use `raise from` when raising new IncompleteRead (GH-29861) | 180909 | 2021-12-07 | 1 | -2/+2 | |
| | | | Automerge-Triggered-By: GH:asvetlov | |||||
* | bpo-45582: Ensure PYTHONHOME still overrides detected build prefixes (GH-29948) | Steve Dower | 2021-12-07 | 2 | -0/+32 | |
| | ||||||
* | bpo-23819: asyncio: Replace AssertionError with TypeError where it makes ↵ | Kumar Aditya | 2021-12-06 | 5 | -9/+15 | |
| | | | | sense (GH-29894) | |||||
* | removal of duplicated text paragraph (#29666) | Taras Sereda | 2021-12-06 | 1 | -6/+0 | |
| | ||||||
* | bpo-45847: Fix uuid detection on macOS (GH-29946) | Christian Heimes | 2021-12-06 | 2 | -3/+44 | |
| | ||||||
* | bpo-45582: framework build: modPath must not be const (GH-29944) | Christian Heimes | 2021-12-06 | 1 | -1/+1 | |
| | | | Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> | |||||
* | bpo-45582: Fix getpath_isxfile() and test_embed on Windows (GH-29930) | neonene | 2021-12-06 | 2 | -3/+11 | |
| | ||||||
* | bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936) | Christian Heimes | 2021-12-06 | 4 | -11/+21 | |
| |