summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix EncodingWarning in libregrtest (GH-31654)Inada Naoki2022-03-031-1/+1
|
* bpo-46831: Update __build_class__ comment (#31522)Shantanu2022-03-031-3/+2
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* dict: Fix refleak (GH-31650)Inada Naoki2022-03-031-4/+8
|
* bpo-46643: fix NEWS entry (GH-31651)Jelle Zijlstra2022-03-031-1/+3
|
* bpo-40116: dict: Add regression test for iteration order. (GH-31550)Inada Naoki2022-03-033-1/+20
|
* bpo-21910: Clarify docs for codecs writelines method (GH-31245)slateny2022-03-031-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 Beauregard2022-03-033-1/+15
|
* bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593)Brett Cannon2022-03-023-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 ↵slateny2022-03-021-2/+3
| | | | (GH-31456)
* bpo-46848: Move _PyBytes_Find() to internal C API (GH-31642)Victor Stinner2022-03-024-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 Naoki2022-03-021-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 Sobolev2022-03-024-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 Sweeney2022-03-024-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 Naoki2022-03-019-477/+870
|
* bpo-46712: Let generate_global_objects.py Run on Earlier Python Versions ↵Eric Snow2022-03-012-2/+2
| | | | | (gh-31637) https://bugs.python.org/issue46712
* bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618)Mark Shannon2022-03-0111-39/+76
|
* bpo-46541: remove usage of _Py_IDENTIFIER from _ssl module (GH-31599)Kumar Aditya2022-03-012-10/+37
|
* bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632)Victor Stinner2022-03-017-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 Na2022-03-012-25/+103
|
* bpo-46311: Clean up PyLong_FromLong and PyLong_FromLongLong (GH-30496)Mark Dickinson2022-03-012-41/+34
|
* bpo-46841: Use inline caching for `COMPARE_OP` (GH-31622)Brandt Bucher2022-03-019-163/+179
|
* compiler: Merge except_table and cnotab (GH-31614)Inada Naoki2022-03-011-0/+6
|
* Add missing "to" to two tp_flags notes (GH-31624)Brandt Bucher2022-03-011-2/+2
|
* bpo-46771: Remove two controversial lines from Task.cancel() (GH-31623)Guido van Rossum2022-02-283-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 Snow2022-02-288-199/+213
| | | https://bugs.python.org/issue46753
* Statistics internals: Make fewer calls to _coerce() when data types are ↵Raymond Hettinger2022-02-281-4/+9
| | | | mixed (GH-31619)
* bpo-45431: Rename CFrame to _PyCFrame in the C API (GH-31584)Victor Stinner2022-02-283-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 Shannon2022-02-2810-232/+284
|
* bpo-46567: Add Tcl/Tk build for Windows ARM64 (GH-31574)Steve Dower2022-02-2816-24/+63
|
* bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591)Brandt Bucher2022-02-287-29/+39
|
* bpo-46541: Remove unneeded visits from sqlite3 (GH-31609)Erlend Egeberg Aasland2022-02-281-7/+0
|
* bpo-46541: Remove unnecessary Py_VISIT (GH-31608)Dong-hee Na2022-02-282-6/+0
|
* bpo-46786: Make ElementTree write the HTML tags embed, source, track, wbr as ↵Jannis Vajen2022-02-273-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 Stinner2022-02-271-3/+11
|
* bpo-46857: Fix refleak in OSError INIT_ALIAS() (GH-31594)Victor Stinner2022-02-263-18/+7
| | | _Py_GetRefTotal() no longer decrements _PySet_Dummy refcount.
* bpo-46748: Fix ctypes test_frozentable() (GH-31600)Kumar Aditya2022-02-261-1/+1
|
* bpo-46606: os.getgroups() doesn't overallocate (GH-31569)Victor Stinner2022-02-261-32/+25
|
* [doc] Add a note in howto/logging.rst about "do not log to root logger in ↵Yuxin Wu2022-02-261-0/+7
| | | | libraries" (GH-31271)
* Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596)Kumar Aditya2022-02-267-13/+25
|
* Taskgroup tweaks (GH-31559)Tin Tvrtković2022-02-262-34/+42
| | | Now uses .cancel()/.uncancel(), for even fewer broken edge cases.
* bpo-44011: Document ssl_shutdown_timeout added by revisited asyncio SSL ↵Kumar Aditya2022-02-261-5/+55
| | | | implementation (GH-31597)
* bpo-38415: Remove redundant AsyncContextDecorator.__call__ override from ↵Thomas Grainger2022-02-261-8/+0
| | | | _AsyncGeneratorContextManager (GH-30233)
* bpo-45735: Promise the long-time truth that `args=list` works (GH-30982)Charlie Zhao2022-02-266-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 Stinner2022-02-257-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 Iarygin2022-02-252-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 Aditya2022-02-253-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 Stinner2022-02-251-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 Aditya2022-02-251-14/+16
|
* bpo-46836: Rename InterpreterFrame to _PyInterpreterFrame (GH-31583)Victor Stinner2022-02-2515-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 Stinner2022-02-254-3/+3
| | | | Move the private unexported _PyArg_Fini() function to the internal C API: to the pycore_pylifecycle.h header file.