Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-89047: Fix msecs computation so you never end up with 1000 msecs. (GH-96340) | Vinay Sajip | 2022-08-27 | 2 | -1/+9 |
| | |||||
* | gh-92007: Handle elevation errors in NTEventLogHandler more grace… (GH-96322) | Vinay Sajip | 2022-08-27 | 1 | -1/+10 |
| | |||||
* | fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (#96327) | Ansab Gillani | 2022-08-27 | 1 | -1/+1 |
| | |||||
* | fix threading.Event.isSet() docstring (#96297) | Daniel Giger | 2022-08-27 | 1 | -1/+1 |
| | | | fixes gh-96296 | ||||
* | Docs: Fix count of bullets in asyncio-task.rst (#96307) | zhanpon | 2022-08-27 | 1 | -1/+1 |
| | |||||
* | gh-95973: Add a new --with-dsymutil option to link debug information in ↵ | Pablo Galindo Salgado | 2022-08-27 | 5 | -8/+160 |
| | | | | | macOS (GH-95974) Automerge-Triggered-By: GH:pablogsal | ||||
* | gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) | Vinay Sajip | 2022-08-26 | 1 | -0/+82 |
| | |||||
* | gh-96280: suppress deprecation warning in test_importlib (GH-96281) | Irit Katriel | 2022-08-26 | 1 | -1/+3 |
| | |||||
* | Fix documentation typo for pathlib.Path.walk (GH-96301) | Ansab Gillani | 2022-08-26 | 1 | -1/+1 |
| | |||||
* | gh-95994: Clarify escaped newlines. (#96066) | Ezio Melotti | 2022-08-26 | 1 | -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-Tereick | 2022-08-26 | 4 | -548/+614 |
| | | | | points (#96207) | ||||
* | bpo-33587: inspect.getsource: reorder stat on file in linecache (GH-6805) | Pankaj Pandey | 2022-08-26 | 1 | -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ónsson | 2022-08-26 | 1 | -0/+24 |
| | |||||
* | gh-96269: Fix build dependency on AIX (GH-96304) | Christian Heimes | 2022-08-26 | 3 | -1/+6 |
| | |||||
* | gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242) | Dong-hee Na | 2022-08-26 | 1 | -0/+2 |
| | |||||
* | gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) | Dong-hee Na | 2022-08-26 | 1 | -1/+1 |
| | |||||
* | gh-90110: Update the c-analyzer Tool (gh-96255) | Eric Snow | 2022-08-25 | 4 | -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 Katriel | 2022-08-25 | 1 | -1/+4 |
| | |||||
* | bpo-46744: Support "-Win32" and make platform flags case insensitive in ↵ | conioh | 2022-08-25 | 2 | -30/+32 |
| | | | | Windows build scripts. (GH-31803) | ||||
* | gh-96272: Replace `test_source_encoding`'s `test_pep263` with ↵ | Michael Droettboom | 2022-08-25 | 2 | -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) | ov2k | 2022-08-25 | 1 | -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) | Harry | 2022-08-25 | 3 | -1/+13 |
| | |||||
* | gh-76728: Coerce DictReader and DictWriter fieldnames argument to a list ↵ | Sam Ezeh | 2022-08-25 | 4 | -0/+37 |
| | | | | (GH-32225) | ||||
* | GH-96237: Allow non-functions as reference-holder in frames. (GH-96238) | Mark Shannon | 2022-08-25 | 6 | -13/+26 |
| | |||||
* | gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803) | Vinay Sajip | 2022-08-25 | 1 | -0/+6 |
| | |||||
* | gh-95243: Mitigate the race condition in testSockName (#96173) | Ross Burton | 2022-08-25 | 2 | -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 Salgado | 2022-08-24 | 10 | -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 Rossum | 2022-08-24 | 1 | -1/+1 |
| | |||||
* | gh-87092: use basicblock_last_instr consistently in the compiler (GH-96243) | Irit Katriel | 2022-08-24 | 1 | -29/+32 |
| | |||||
* | GH-96179: Fix misleading example on the bisect documentation (GH-96228) | prego | 2022-08-24 | 2 | -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 Na | 2022-08-24 | 1 | -0/+2 |
| | | | | (gh-96231) | ||||
* | GH-96177: Move GIL and eval breaker code out of ceval.c into ceval_gil.c. ↵ | Mark Shannon | 2022-08-24 | 12 | -985/+1005 |
| | | | | (GH-96204) | ||||
* | gh-96021: Explicitly close the IsolatedAsyncioTestCase runner in tests ↵ | Serhiy Storchaka | 2022-08-24 | 1 | -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 Katriel | 2022-08-24 | 9 | -49/+496 |
| | | | | optimization unit tests (GH-96007) | ||||
* | gh-94635: Frame sqlite3 how-to headings as such & move default adapters to ↵ | C.A.M. Gerlach | 2022-08-24 | 1 | -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 Hettinger | 2022-08-23 | 5 | -1/+241 |
| | |||||
* | gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190) | Michael Droettboom | 2022-08-23 | 1 | -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 Selivanov | 2022-08-23 | 1 | -1/+1 |
| | |||||
* | gh-96175: add missing self._localName assignment in `xml.dom.minidom.Attr` ↵ | Kevin Kirsche | 2022-08-23 | 3 | -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 Shannon | 2022-08-23 | 5 | -0/+157 |
| | |||||
* | GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes ↵ | Pablo Galindo Salgado | 2022-08-23 | 2 | -1/+3 |
| | | | | (GH-96188) | ||||
* | gh-96197: Add `del sys.breakpointhook` behavior test (gh-96198) | Jeong YunWon | 2022-08-23 | 1 | -0/+5 |
| | |||||
* | gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (#96134) | C.A.M. Gerlach | 2022-08-23 | 1 | -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. Aasland | 2022-08-23 | 1 | -16/+47 |
| | |||||
* | gh-96159: Fix significant performance degradation in logging.TimedRotat… ↵ | Duncan Grisby | 2022-08-23 | 2 | -3/+8 |
| | | | | (GH-96182) | ||||
* | GH-96075: move interned dict under runtime state (GH-96077) | Kumar Aditya | 2022-08-22 | 2 | -14/+27 |
| | |||||
* | GH-96071: add regression test for #96071 (GH-96137) | Kumar Aditya | 2022-08-22 | 1 | -0/+15 |
| | | | Automerge-Triggered-By: GH:ericsnowcurrently | ||||
* | gh-96076: Change test_launcher to use non-admin location for py.ini (GH-96091) | Terry Jan Reedy | 2022-08-22 | 1 | -3/+5 |
| | | | Patch authored by Eryksun. | ||||
* | gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (#96122) | Erlend E. Aasland | 2022-08-22 | 2 | -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 Heimes | 2022-08-22 | 2 | -9/+30 |
| |