Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix EncodingWarning in libregrtest (GH-31654) | Inada Naoki | 2022-03-03 | 1 | -1/+1 |
| | |||||
* | bpo-46831: Update __build_class__ comment (#31522) | Shantanu | 2022-03-03 | 1 | -3/+2 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | dict: Fix refleak (GH-31650) | Inada Naoki | 2022-03-03 | 1 | -4/+8 |
| | |||||
* | bpo-46643: fix NEWS entry (GH-31651) | Jelle Zijlstra | 2022-03-03 | 1 | -1/+3 |
| | |||||
* | bpo-40116: dict: Add regression test for iteration order. (GH-31550) | Inada Naoki | 2022-03-03 | 3 | -1/+20 |
| | |||||
* | bpo-21910: Clarify docs for codecs writelines method (GH-31245) | slateny | 2022-03-03 | 1 | -2/+3 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | bpo-46643: Fix stringized P.args/P.kwargs with get_type_hints (GH-31238) | Gregory Beauregard | 2022-03-03 | 3 | -1/+15 |
| | |||||
* | bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593) | Brett Cannon | 2022-03-02 | 3 | -2/+3 |
| | | | Previously, case-insensitive file systems were forced to use `.exe` as the file suffix no matter what `--with-suffix` was set to. | ||||
* | bpo-45492: Corrected documentation for co_names in inspect library doc ↵ | slateny | 2022-03-02 | 1 | -2/+3 |
| | | | | (GH-31456) | ||||
* | bpo-46848: Move _PyBytes_Find() to internal C API (GH-31642) | Victor Stinner | 2022-03-02 | 4 | -19/+21 |
| | | | | | | Move _PyBytes_Find() and _PyBytes_ReverseFind() functions to the internal C API. bytesobject.c now includes pycore_bytesobject.h. | ||||
* | dict: Internal cleanup (GH-31641) | Inada Naoki | 2022-03-02 | 1 | -66/+44 |
| | | | | * Make empty_key from split table to combined table. * Use unicode_get_hash() when possible. | ||||
* | bpo-46195: Do not add `Optional` in `get_type_hints` (GH-30304) | Nikita Sobolev | 2022-03-02 | 4 | -34/+26 |
| | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | bpo-46848: Use stringlib/fastsearch in mmap (GH-31625) | Dennis Sweeney | 2022-03-02 | 4 | -19/+53 |
| | | | Speed up mmap.find(). Add _PyBytes_Find() and _PyBytes_ReverseFind(). | ||||
* | bpo-46845: Reduce dict size when all keys are Unicode (GH-31564) | Inada Naoki | 2022-03-01 | 9 | -477/+870 |
| | |||||
* | bpo-46712: Let generate_global_objects.py Run on Earlier Python Versions ↵ | Eric Snow | 2022-03-01 | 2 | -2/+2 |
| | | | | | (gh-31637) https://bugs.python.org/issue46712 | ||||
* | bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618) | Mark Shannon | 2022-03-01 | 11 | -39/+76 |
| | |||||
* | bpo-46541: remove usage of _Py_IDENTIFIER from _ssl module (GH-31599) | Kumar Aditya | 2022-03-01 | 2 | -10/+37 |
| | |||||
* | bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) | Victor Stinner | 2022-03-01 | 7 | -24/+40 |
| | | | | | | | | | | | | Skip tests on ASAN and/or MSAN builds: * multiprocessing tests * test___all__ * test_concurrent_futures * test_decimal * test_peg_generator * test_tools The ASAN job of GitHub Actions no longer excludes these tests. | ||||
* | bpo-46541: Remove usage of _Py_IDENTIFIER from multibytecodec (GH-31475) | Dong-hee Na | 2022-03-01 | 2 | -25/+103 |
| | |||||
* | bpo-46311: Clean up PyLong_FromLong and PyLong_FromLongLong (GH-30496) | Mark Dickinson | 2022-03-01 | 2 | -41/+34 |
| | |||||
* | bpo-46841: Use inline caching for `COMPARE_OP` (GH-31622) | Brandt Bucher | 2022-03-01 | 9 | -163/+179 |
| | |||||
* | compiler: Merge except_table and cnotab (GH-31614) | Inada Naoki | 2022-03-01 | 1 | -0/+6 |
| | |||||
* | Add missing "to" to two tp_flags notes (GH-31624) | Brandt Bucher | 2022-03-01 | 1 | -2/+2 |
| | |||||
* | bpo-46771: Remove two controversial lines from Task.cancel() (GH-31623) | Guido van Rossum | 2022-02-28 | 3 | -6/+17 |
| | | | | | | | | | | | | | | | Also from the _asyncio C accelerator module, and adjust one test that the change caused to fail. For more discussion see the discussion starting here: https://github.com/python/cpython/pull/31394#issuecomment-1053545331 (Basically, @asvetlov proposed to return False from cancel() when there is already a pending cancellation, and I went along, even though it wasn't necessary for the task group implementation, and @agronholm has come up with a counterexample that fails because of this change. So now I'm changing it back to the old semantics (but still bumping the counter) until we can have a proper discussion about this.) | ||||
* | bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. (gh-31345) | Eric Snow | 2022-02-28 | 8 | -199/+213 |
| | | | https://bugs.python.org/issue46753 | ||||
* | Statistics internals: Make fewer calls to _coerce() when data types are ↵ | Raymond Hettinger | 2022-02-28 | 1 | -4/+9 |
| | | | | mixed (GH-31619) | ||||
* | bpo-45431: Rename CFrame to _PyCFrame in the C API (GH-31584) | Victor Stinner | 2022-02-28 | 3 | -10/+12 |
| | | | | | | Rename also struct _cframe to struct _PyCFrame. Add a comment suggesting using public functions rather than using directly the private _PyCFrame structure. | ||||
* | bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575) | Mark Shannon | 2022-02-28 | 10 | -232/+284 |
| | |||||
* | bpo-46567: Add Tcl/Tk build for Windows ARM64 (GH-31574) | Steve Dower | 2022-02-28 | 16 | -24/+63 |
| | |||||
* | bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591) | Brandt Bucher | 2022-02-28 | 7 | -29/+39 |
| | |||||
* | bpo-46541: Remove unneeded visits from sqlite3 (GH-31609) | Erlend Egeberg Aasland | 2022-02-28 | 1 | -7/+0 |
| | |||||
* | bpo-46541: Remove unnecessary Py_VISIT (GH-31608) | Dong-hee Na | 2022-02-28 | 2 | -6/+0 |
| | |||||
* | bpo-46786: Make ElementTree write the HTML tags embed, source, track, wbr as ↵ | Jannis Vajen | 2022-02-27 | 3 | -9/+8 |
| | | | | | | empty tags (GH-31406) See https://html.spec.whatwg.org/multipage/syntax.html#void-elements for reference. | ||||
* | bpo-46852: Restore test_getformat() test (GH-31601) | Victor Stinner | 2022-02-27 | 1 | -3/+11 |
| | |||||
* | bpo-46857: Fix refleak in OSError INIT_ALIAS() (GH-31594) | Victor Stinner | 2022-02-26 | 3 | -18/+7 |
| | | | _Py_GetRefTotal() no longer decrements _PySet_Dummy refcount. | ||||
* | bpo-46748: Fix ctypes test_frozentable() (GH-31600) | Kumar Aditya | 2022-02-26 | 1 | -1/+1 |
| | |||||
* | bpo-46606: os.getgroups() doesn't overallocate (GH-31569) | Victor Stinner | 2022-02-26 | 1 | -32/+25 |
| | |||||
* | [doc] Add a note in howto/logging.rst about "do not log to root logger in ↵ | Yuxin Wu | 2022-02-26 | 1 | -0/+7 |
| | | | | libraries" (GH-31271) | ||||
* | Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596) | Kumar Aditya | 2022-02-26 | 7 | -13/+25 |
| | |||||
* | Taskgroup tweaks (GH-31559) | Tin Tvrtković | 2022-02-26 | 2 | -34/+42 |
| | | | Now uses .cancel()/.uncancel(), for even fewer broken edge cases. | ||||
* | bpo-44011: Document ssl_shutdown_timeout added by revisited asyncio SSL ↵ | Kumar Aditya | 2022-02-26 | 1 | -5/+55 |
| | | | | implementation (GH-31597) | ||||
* | bpo-38415: Remove redundant AsyncContextDecorator.__call__ override from ↵ | Thomas Grainger | 2022-02-26 | 1 | -8/+0 |
| | | | | _AsyncGeneratorContextManager (GH-30233) | ||||
* | bpo-45735: Promise the long-time truth that `args=list` works (GH-30982) | Charlie Zhao | 2022-02-26 | 6 | -3/+82 |
| | | | | | | For threads, and for multiprocessing, it's always been the case that ``args=list`` works fine when passed to ``Process()`` or ``Thread()``, and such code is common in the wild. But, according to the docs, only a tuple can be used. This brings the docs into synch with reality. Doc changes by Charlie Zhao. Co-authored-by: Tim Peters <tim.peters@gmail.com> | ||||
* | bpo-46852: Remove the float.__set_format__() method (GH-31585) | Victor Stinner | 2022-02-25 | 7 | -214/+15 |
| | | | | | | Remove the undocumented private float.__set_format__() method, previously known as float.__set_format__() in Python 3.7. Its docstring said: "You probably don't want to use this function. It exists mainly to be used in Python's test suite." | ||||
* | bpo-46816: Remove declarations for non-__STDC__ compilers (GH-31466) | Oleg Iarygin | 2022-02-25 | 2 | -15/+0 |
| | | | | After Python switched to C11, there is a guarantee that every compiler conforms to ISO C so checks of __STDC__ have no sense. | ||||
* | bpo-46712: Share global string identifiers in deepfreeze (GH-31261) | Kumar Aditya | 2022-02-25 | 3 | -6/+14 |
| | | | Where appropriate, deepfreeze.c now uses `&_Py_ID(blah)` references instead of locally defining constants. This saves some space. | ||||
* | bpo-46857: Fix test_embed.test_no_memleak() on Windows (GH-31589) | Victor Stinner | 2022-02-25 | 1 | -4/+10 |
| | | | Tolerate a leak of 1 reference and 1 memory block until it's fixed. | ||||
* | bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231) | Kumar Aditya | 2022-02-25 | 1 | -14/+16 |
| | |||||
* | bpo-46836: Rename InterpreterFrame to _PyInterpreterFrame (GH-31583) | Victor Stinner | 2022-02-25 | 15 | -138/+138 |
| | | | | | Rename also struct _interpreter_frame to struct _PyInterpreterFrame. Reduce risk of name conflicts if a project includes pycore_frame.h. | ||||
* | bpo-45316: Move _PyArg_Fini() to internal C API (GH-31580) | Victor Stinner | 2022-02-25 | 4 | -3/+3 |
| | | | | Move the private unexported _PyArg_Fini() function to the internal C API: to the pycore_pylifecycle.h header file. |