summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-103553: Improve `test_inspect`: add more assertions, remove unused (#103554)Nikita Sobolev2023-04-151-15/+9
|
* GH-103517: Improve tests for `pathlib.Path.walk()` (GH-103518)Barney Gale2023-04-151-32/+45
|
* gh-102114: Make dis print more concise tracebacks for syntax errors in str ↵chgnrdv2023-04-153-3/+11
| | | | inputs (#102115)
* GH-78079: Fix UNC device path root normalization in pathlib (GH-102003)Barney Gale2023-04-144-3/+43
| | | | | | | We no longer add a root to device paths such as `//./PhysicalDrive0`, `//?/BootPartition` and `//./c:` while normalizing. We also avoid adding a root to incomplete UNC share paths, like `//`, `//a` and `//a/`. Co-authored-by: Eryk Sun <eryksun@gmail.com>
* gh-101517: Add regression test for a lineno bug in try/except* impacting pdb ↵Tian Gao2023-04-141-0/+20
| | | | (#103547)
* gh-103527: Add make deps for _codecs_* and _multibytecodec (#103528)Erlend E. Aasland2023-04-141-0/+7
|
* gh-103532: Fix reST syntax in NEWS entry (GH-103544)Zachary Ware2023-04-141-1/+1
|
* gh-103532: Add NEWS entry (#103542)Zachary Ware2023-04-141-0/+4
|
* gh-103532: Remove TKINTER_PROTECT_LOADTK code (GH-103535)Christopher Chavez2023-04-143-79/+0
| | | | This was only needed for Tk 8.4.13 and older, but Tkinter already requires at least 8.5.12.
* gh-103180: Add CI timeouts to all GitHub Actions jobs (#103437)Nikita Sobolev2023-04-148-3/+17
|
* Remove double space in import error message (#103458)Ned Batchelder2023-04-141-1/+1
|
* ipaddress: Remove non-existent ip_str param from docstring (#103461)Sergii Dymchenko2023-04-141-3/+0
|
* Fix syntax typo in isolating extensions doc (#103516)AN Long2023-04-141-3/+3
|
* gh-103406: Modernize pos-only arguments usage in `test_signature` (#103407)Nikita Sobolev2023-04-141-20/+11
|
* Proofread howto/perf_profiling.rst (#103530)Boris Verkhovskiy2023-04-141-10/+10
|
* Fix unused functions warnings in instrumentation.c (GH-103515)Benjamin Peterson2023-04-131-0/+4
|
* gh-103479: [Enum] require __new__ to be considered a data type (GH-103495)Ethan Furman2023-04-133-10/+14
| | | a mixin must either have a __new__ method, or be a dataclass, to be interpreted as a data-type
* gh-103365: [Enum] STRICT boundary corrections (GH-103494)Ethan Furman2023-04-134-38/+82
| | | | | | STRICT boundary: - fix bitwise operations - make default for Flag
* GH-103488: Use return-offset, not yield-offset. (GH-103502)Mark Shannon2023-04-136-414/+455
| | | | * Use return-offset, not yield-offset, so that instruction pointer is correct when sending to a generator or coroutine.
* gh-103088: Fix test_venv error message to avoid bytes/str warning (GH-103500)Stanislav Syekirin2023-04-131-2/+3
|
* GH-103082: Turn on branch events for FOR_ITER instructions. (#103507)Mark Shannon2023-04-132-0/+73
| | | Turn on branch events for FOR_ITER instructions.
* gh-102978: Fix mock.patch function signatures for class and staticmethod ↵Tomas R2023-04-135-0/+58
| | | | | | | decorators (#103228) Fixes unittest.mock.patch not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.
* gh-103462: Ensure SelectorSocketTransport.writelines registers a writer when ↵Ali-Akber Saifee2023-04-133-0/+49
| | | | data is still pending (#103463)
* gh-95299: Rework test_cppext.py to not invoke setup.py directly (#103316)Pradyun Gedam2023-04-134-16/+20
| | | | | | | | | | | | | | | | | * gh-95299: Rework test_cppext.py to not invoke setup.py directly * Add tests/cppextdata data to `TESTSUBDIRS` * Revert "Add tests/cppextdata data to `TESTSUBDIRS`" This reverts commit 635492e53954fb0fc2a2875c8961bde99266c48d. * Revert "gh-95299: Rework test_cppext.py to not invoke setup.py directly" This reverts commit 41c5a667b5de7070bbde5780f1c124f96863c91d. * Build and install the extension in a temporary directory instead * Pull in wheels for setuptools and wheel for testing extension builds
* gh-67230: document new csv quoting modes in whatsnew (gh-103491)Skip Montanaro2023-04-131-0/+7
|
* gh-67230: add quoting rules to csv module (GH-29469)Skip Montanaro2023-04-125-3/+43
| | | | | | Add two quoting styles for csv dialects. They will help to work with certain databases in particular. Automerge-Triggered-By: GH:merwok
* gh-103088: Fix virtual environment activate script not working in Cygwin ↵Stanislav Syekirin2023-04-123-0/+19
| | | | (GH-103470)
* gh-103326: Remove `Python/importlib.h` (GH-103331)Nikita Sobolev2023-04-126-1793/+2
| | | | Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-103092: Isolate `_collections` (#103093)Erlend E. Aasland2023-04-125-283/+287
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython ↵Mark Shannon2023-04-1244-1617/+6021
| | | | | | | | | | (GH-103083) * The majority of the monitoring code is in instrumentation.c * The new instrumentation bytecodes are in bytecodes.c * legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs
* gh-103092: Isolate msvcrt (#103248)AN Long2023-04-122-28/+26
|
* gh-103417: use time.monotonic in the example for sched.scheduler (#103418)Nick Burns2023-04-121-1/+1
|
* GH-83893: Cross reference env. vars and -X command line options (GH-103414)Furkan Onder2023-04-121-6/+12
| | | Co-authored-by: Erlend E. Aasland
* gh-103357: Add logging.Formatter defaults support to logging.config ↵Bar Harel2023-04-124-5/+137
| | | | fileConfig and dictConfig (GH-103359)
* gh-103237: Polish pdb docs (#103238)Tian Gao2023-04-121-38/+100
|
* gh-103143: Polish pdb help messages and doc strings (GH-103144)Tian Gao2023-04-113-10/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made all the command part of the docstring match the official documentation * Always have a space between the command and the description in docstring * Added a helper function to format the help message Before: ``` (Pdb) h a a(rgs) Print the argument list of the current function. (Pdb) h commands commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` After ``` (Pdb) h a Usage: a(rgs) Print the argument list of the current function. (Pdb) h commands Usage: (Pdb) commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact Usage: interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` Automerge-Triggered-By: GH:brandtbucher
* Remove redundant words from interpreter_definition.md. (GH-103455)Benjamin Peterson2023-04-111-3/+3
|
* gh-87092: fix refleak in peepholer test harness (#103448)Irit Katriel2023-04-111-4/+0
|
* gh-103088: Sanitize venv paths when using MSYS or Cygwin Bash (GH-103325)Stanislav Syekirin2023-04-113-3/+11
|
* GH-103220: Fix `ntpath.join()` of partial UNC drive with trailing slash ↵Barney Gale2023-04-113-1/+8
| | | | (GH-103221)
* gh-87864: Use correct function definition syntax in the docs (#103312)Nikita Sobolev2023-04-114-7/+7
|
* gh-77757: replace exception wrapping by PEP-678 notes in typeobject's ↵Irit Katriel2023-04-118-41/+55
| | | | __set_name__ (#103402)
* gh-103373: `__mro_entries__` docs: improve cross references (#103398)Alex Waygood2023-04-112-7/+12
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-91276: remove unused _PyOpcode_RelativeJump (#103156)Irit Katriel2023-04-114-42/+12
|
* gh-87092: move assembler related code from compile.c to assemble.c (#103277)Irit Katriel2023-04-1110-749/+851
|
* gh-103176: sys._current_exceptions() returns mapping to exception instances ↵Irit Katriel2023-04-115-10/+23
| | | | instead of exc_info tuples (#103177)
* gh-102828: set stacklevel on deprecation warning (#103422)Irit Katriel2023-04-111-1/+1
|
* gh-99553: add tests for ExceptionGroup wrapping (#99615)Zac Hatfield-Dodds2023-04-111-0/+14
|
* Docs: don't render files in includes/, they're for embedding only (#103313)Hugo van Kemenade2023-04-111-1/+3
|
* Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 ↵C.A.M. Gerlach2023-04-111-1/+3
| | | | (#103421)