summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix regeneration of global objects through the Windows build files (GH-96394)Kumar Aditya2022-08-301-1/+8
|
* gh-95987: Fix `repr` of `Any` type subclasses (#96412)Nikita Sobolev2022-08-303-1/+10
|
* gh-96143: Allow Linux perf profiler to see Python calls (GH-96123)Pablo Galindo Salgado2022-08-3024-2/+1412
| | | | | | | :warning: :warning: Note for reviewers, hackers and fellow systems/low-level/compiler engineers :warning: :warning: If you have a lot of experience with this kind of shenanigans and want to improve the **first** version, **please make a PR against my branch** or **reach out by email** or **suggest code changes directly on GitHub**. If you have any **refinements or optimizations** please, wait until the first version is merged before starting hacking or proposing those so we can keep this PR productive.
* GH-95245: Document use of `MANAGED` flags instead of offsets. (GH-96044)Mark Shannon2022-08-304-79/+78
|
* gh-95337: update TypeVarTuple example (#95338)Adrian Garcia Badaracco2022-08-301-8/+13
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-96349: fix minor performance regression initializing threading.Event ↵Daniel Giger2022-08-302-9/+4
| | | | (gh-96350)
* gh-95413: Remove references to deprecated CGI library (#95414)partev2022-08-302-3/+3
|
* Docs: Improve clarity for bytes.hex() (#95257)Tim Burke2022-08-301-3/+4
|
* Doc: Update Py_TPFLAGS_HAVE_FINALIZE in docs (GH-96273)da-woods2022-08-301-3/+6
| | | It is now deprecated and the docs should reflect that.
* gh-96385: Correctly raise error on `[*T, *V]` substitution (GH-96386)Nikita Sobolev2022-08-303-1/+7
|
* gh-46845: clean up unused DK_IXSIZE (GH-96405)Matthias Görgens2022-08-301-9/+0
|
* gh-95853: Improve WASM build script (GH-96389)Christian Heimes2022-08-302-14/+195
| | | | | | | - pre-build Emscripten ports and system libraries - check for broken EMSDK versions - use EMSDK's node for wasm32-emscripten - warn when PKG_CONFIG_PATH is set - add support level information
* gh-96320: WASI socket fixes (#96388)Christian Heimes2022-08-303-3/+7
| | | | | | | | * gh-96320: WASI socket fixes - ignore missing functions in ``socket.__repr__`` - bundle network files with assets * blurb
* Docs: normalize SQL style in sqlite3 docs (#96403)Erlend E. Aasland2022-08-291-7/+7
|
* gh-91305: Add a note about DatagramHandler and DNS latency. (GH-96380)Vinay Sajip2022-08-291-0/+7
|
* GH-74116: Allow multiple drain waiters for asyncio.StreamWriter (GH-94705)Kumar Aditya2022-08-293-19/+36
|
* Improve accuracy for Spearman's rank correlation coefficient. (#96392)Raymond Hettinger2022-08-291-3/+4
|
* gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Christian Heimes2022-08-299-20/+27
|
* ast.parse: check `feature_version` common case first (GH-94640)Anthony Sottile2022-08-291-3/+3
|
* Fix Py_INCREF() statistics in limited C API 3.10 (#96120)Victor Stinner2022-08-291-1/+1
| | | | | In the limited C API with a debug build, Py_INCREF() is implemented by calling _Py_IncRef() which calls Py_INCREF(). Only call _Py_INCREF_STAT_INC() once.
* gh-90814: Correct NEWS wording re. optional C11 features (GH-96309)Petr Viktorin2022-08-292-2/+4
| | | | | | | | | | | The previous wording of this entry suggests that CPython won't work if optional compiler features are enabled. That's not the case. The change is that we require C11 rather than C89. Note that PEP 7 does say "Python 3.11 and newer versions use C11 without optional features." It is correct there: that's not a guide for users who compile Python, but for CPython devs who must avoid the features.
* gh-95432: Add doctests for the sqlite3 docs (#96225)Erlend E. Aasland2022-08-291-64/+125
| | | | | | | As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces
* gh-96191: Update the configure file to use GitHub issue (gh-96211)Dong-hee Na2022-08-292-17/+17
|
* Prepare private _rank() function to be made public. (#96372)Raymond Hettinger2022-08-291-5/+15
|
* gh-96357: Improve `typing.get_overloads` coverage (#96358)Nikita Sobolev2022-08-291-0/+3
|
* gh-95950: Add a test for both `csv.Dialect` and `kwargs` (#95951)Nikita Sobolev2022-08-291-0/+28
|
* GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)Jonathan Oberländer2022-08-281-1/+1
|
* gh-69142: add %:z strftime format code (gh-95983)TW2022-08-285-55/+92
| | | | | | | | | | | | | | | | datetime.isoformat generates the tzoffset with colons, but there was no format code to make strftime output the same format. for simplicity and consistency the %:z formatting behaves mostly as %z, with the exception of adding colons. this includes the dynamic behaviour of adding seconds and microseconds only when needed (when not 0). this fixes the still open "generate" part of this issue: https://github.com/python/cpython/issues/69142 Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-90467: StreamReaderProtocol - add strong reference to created task (#96323)Kirill2022-08-273-1/+7
|
* 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