summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-89047: Fix msecs computation so you never end up with 1000 msecs. (GH-96340)Vinay Sajip2022-08-272-1/+9
|
* gh-92007: Handle elevation errors in NTEventLogHandler more grace… (GH-96322)Vinay Sajip2022-08-271-1/+10
|
* fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (#96327)Ansab Gillani2022-08-271-1/+1
|
* fix threading.Event.isSet() docstring (#96297)Daniel Giger2022-08-271-1/+1
| | | fixes gh-96296
* Docs: Fix count of bullets in asyncio-task.rst (#96307)zhanpon2022-08-271-1/+1
|
* gh-95973: Add a new --with-dsymutil option to link debug information in ↵Pablo Galindo Salgado2022-08-275-8/+160
| | | | | macOS (GH-95974) Automerge-Triggered-By: GH:pablogsal
* gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324)Vinay Sajip2022-08-261-0/+82
|
* gh-96280: suppress deprecation warning in test_importlib (GH-96281)Irit Katriel2022-08-261-1/+3
|
* Fix documentation typo for pathlib.Path.walk (GH-96301)Ansab Gillani2022-08-261-1/+1
|
* gh-95994: Clarify escaped newlines. (#96066)Ezio Melotti2022-08-261-11/+22
| | | | | | | | | | | | | * gh-95994: clarify escaped newlines. * Rephrase ambiguous sentence. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Use `<newline>` in escape sequences table. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-96172 fix unicodedata.east_asian_width being wrong on unassigned code ↵Carl Friedrich Bolz-Tereick2022-08-264-548/+614
| | | | points (#96207)
* bpo-33587: inspect.getsource: reorder stat on file in linecache (GH-6805)Pankaj Pandey2022-08-261-3/+3
| | | | | | | | | | * inspect.getsource: avoid stat on file in linecache The check for os.path.exists() on source file is postponed in inspect.getsourcefile() until needed avoiding an expensive filesystem stat call and PEP 302 module loader check is moved last for performance since it is an uncommon case.
* 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
|