summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Port regression test for issue GH-93592 (GH-96208)Kristján Valur Jónsson2022-08-261-0/+24
|
* gh-96269: Fix build dependency on AIX (GH-96304)Christian Heimes2022-08-263-1/+6
|
* gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242)Dong-hee Na2022-08-261-0/+2
|
* gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)Dong-hee Na2022-08-261-1/+1
|
* gh-90110: Update the c-analyzer Tool (gh-96255)Eric Snow2022-08-254-1534/+84
| | | Here we automatically ignore uses of _PyArg_Parser, "kwlist" arrays, and module/type defs. That way new uses don't trigger false positives in the c-analyzer check script.
* gh-96276: suppress SyntaxWarning in test_compile (GH-96277)Irit Katriel2022-08-251-1/+4
|
* bpo-46744: Support "-Win32" and make platform flags case insensitive in ↵conioh2022-08-252-30/+32
| | | | Windows build scripts. (GH-31803)
* gh-96272: Replace `test_source_encoding`'s `test_pep263` with ↵Michael Droettboom2022-08-252-15/+10
| | | | | | | | | | | | `test_import_encoded_module` from `test_imp` (GH-96275) Editors don't agree that `test_source_encoding.py` was valid koi8-r, making it hard to edit that file without the editor breaking it in some way (see gh-96272). Only one test actually relied on the koi8-r encoding and it was a duplicate of a test from the deprecated `imp` module's `test_imp`, so here we replace `test_pep263` with `test_import_encoded_module` stolen from `test_imp` and set `test_source_encoding.py`'s encoding to utf-8 to make editing it easier going forward.
* Clarify API stability of PyTypeObject in relation to static types. (GH-96217)ov2k2022-08-251-3/+3
| | | | | | | Fixes: https://github.com/python/cpython/issues/95300 Related: https://github.com/python/cpython/issues/91271
* gh-92445 Improve interaction between nargs="*" and choices() (GH-92565)Harry2022-08-253-1/+13
|
* gh-76728: Coerce DictReader and DictWriter fieldnames argument to a list ↵Sam Ezeh2022-08-254-0/+37
| | | | (GH-32225)
* GH-96237: Allow non-functions as reference-holder in frames. (GH-96238)Mark Shannon2022-08-256-13/+26
|
* gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803)Vinay Sajip2022-08-251-0/+6
|
* gh-95243: Mitigate the race condition in testSockName (#96173)Ross Burton2022-08-252-2/+16
| | | | | | | | find_unused_port() has an inherent race condition, but we can't use bind_port() as that uses .getsockname() which this test is exercising. Try binding to unused ports a few times before failing. Signed-off-by: Ross Burton <ross.burton@arm.com>
* GH-93503: Add thread-specific APIs to set profiling and tracing functions in ↵Pablo Galindo Salgado2022-08-2410-4/+271
| | | | | | | | | | | | | | | | | the C-API (#93504) * gh-93503: Add APIs to set profiling and tracing functions in all threads in the C-API * Use a separate API * Fix NEWS entry * Add locks around the loop * Document ignoring exceptions * Use the new APIs in the sys module * Update docs
* Add gvanrossum to asyncio experts (#96248)Guido van Rossum2022-08-241-1/+1
|
* gh-87092: use basicblock_last_instr consistently in the compiler (GH-96243)Irit Katriel2022-08-241-29/+32
|
* GH-96179: Fix misleading example on the bisect documentation (GH-96228)prego2022-08-242-1/+2
| | | | The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960.
* gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost ↵Dong-hee Na2022-08-241-0/+2
| | | | (gh-96231)
* GH-96177: Move GIL and eval breaker code out of ceval.c into ceval_gil.c. ↵Mark Shannon2022-08-2412-985/+1005
| | | | (GH-96204)
* gh-96021: Explicitly close the IsolatedAsyncioTestCase runner in tests ↵Serhiy Storchaka2022-08-241-2/+7
| | | | | | | | | (GH-96135) Tests for IsolatedAsyncioTestCase.debug() rely on the runner be closed in __del__. It makes tests depending on the GC an unreliable on other implementations. It is better to close the runner explicitly even if currently there is no a public API for this.
* gh-93678: add _testinternalcapi.optimize_cfg() and test utils for compiler ↵Irit Katriel2022-08-249-49/+496
| | | | optimization unit tests (GH-96007)
* gh-94635: Frame sqlite3 how-to headings as such & move default adapters to ↵C.A.M. Gerlach2022-08-241-48/+48
| | | | | | reference (#96136) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* GH-96145: Add AttrDict to JSON module for use with object_hook (#96146)Raymond Hettinger2022-08-235-1/+241
|
* gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190)Michael Droettboom2022-08-231-43/+43
| | | | | | | | | The clearing of the temporary directory is not working on some platforms and leaving behind files. This has been updated to use the pattern in test_cmd_line.py [1] using the special TESTFN rather than a test directory. [1] https://github.com/python/cpython/blob/main/Lib/test/test_cmd_line.py#L559
* Drop myself from owners of genobject (#96216)Yury Selivanov2022-08-231-1/+1
|
* gh-96175: add missing self._localName assignment in `xml.dom.minidom.Attr` ↵Kevin Kirsche2022-08-233-1/+18
| | | | | | | (#96176) X-Ref: https://github.com/python/typeshed/pull/8590#discussion_r951473977 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* GH-96068: Document object layout (GH-96069)Mark Shannon2022-08-235-0/+157
|
* GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes ↵Pablo Galindo Salgado2022-08-232-1/+3
| | | | (GH-96188)
* gh-96197: Add `del sys.breakpointhook` behavior test (gh-96198)Jeong YunWon2022-08-231-0/+5
|
* gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (#96134)C.A.M. Gerlach2022-08-231-4/+14
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-95432: Add doctest for sqlite3 tutorial (#96193)Erlend E. Aasland2022-08-231-16/+47
|
* gh-96159: Fix significant performance degradation in logging.TimedRotat… ↵Duncan Grisby2022-08-232-3/+8
| | | | (GH-96182)
* GH-96075: move interned dict under runtime state (GH-96077)Kumar Aditya2022-08-222-14/+27
|
* GH-96071: add regression test for #96071 (GH-96137)Kumar Aditya2022-08-221-0/+15
| | | Automerge-Triggered-By: GH:ericsnowcurrently
* gh-96076: Change test_launcher to use non-admin location for py.ini (GH-96091)Terry Jan Reedy2022-08-221-3/+5
| | | Patch authored by Eryksun.
* gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (#96122)Erlend E. Aasland2022-08-222-70/+18
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-96046: Initialize ht_cached_keys in PyType_Ready() (GH-96047)Christian Heimes2022-08-222-9/+30
|
* small grammatical change (GH-96138)sand80892022-08-211-1/+1
| | | changed a to an under An example that uses most of the list methods
* GH-95880: Clarify StringIO append/overwrite behavior. (GH-96104)Raymond Hettinger2022-08-211-2/+6
|
* Add polynomial_from_roots() to the itertools recipes (#96102)Raymond Hettinger2022-08-211-0/+19
|
* GH-93179: Document the thread safety of functools.lru_cache (GH-96101)Raymond Hettinger2022-08-210-0/+0
|
* gh-96098: Clearly link concurrent.futures from threading & multiprocessing ↵Nick Coghlan2022-08-213-1/+26
| | | | | | | docs (GH-96112) Clearly link concurrent.futures from threading & multiprocessing docs Also link directly to asyncio from the beginning of the threading docs.
* gh-90536: Fix link syntax to LLVM-BOLT repository (gh-96141)Dong-hee Na2022-08-201-1/+1
|
* GH-96071: fix deadlock in PyGILState_Ensure (GH-96124)Kumar Aditya2022-08-192-11/+17
| | | Alternative of #96107
* gh-96125: Fix sys.thread_info.name on pthread platforms (GH-96126)Christian Heimes2022-08-193-1/+11
| | | Automerge-Triggered-By: GH:tiran
* GH-90997: Wrap yield from/await in a virtual try/except StopIteration (GH-96010)Brandt Bucher2022-08-1911-106/+142
|
* gh-96019: Fix caching of decompositions in makeunicodedata (GH-96020)Carl Friedrich Bolz-Tereick2022-08-193-1452/+1291
|
* Docs: Fix markup of module name in sqlite3 docs (#96115)Erlend E. Aasland2022-08-191-3/+3
|
* Doc: Use consistent markup for example Point class in sqlite3 (#96095)C.A.M. Gerlach2022-08-191-3/+3
|