Repository navigation
Conversation
…ython#155796) Fix typo in `annotationlib` documentation (pythonGH-155776) (cherry picked from commit 6611f4d) Co-authored-by: Victorien <[email protected]>
…155517) (python#155697) Co-authored-by: Neil Schemenauer <[email protected]>
…lendar.formatmonthpage (pythonGH-153159) (python#155932) Co-authored-by: tonghuaroot (童话) <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…) (python#155900) Co-authored-by: hu-jeff <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
…H-155524) (python#155840) Co-authored-by: Saki <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
… are sentinels (pythonGH-155919) (python#155927) Co-authored-by: Sanghun Lee <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…utside RFC 3454 (pythonGH-155293) (python#156017) pythongh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (pythonGH-155293) Due to a bug, some Unicode codepoint attributes were considered for characters not yet defined in Unicode 3.2.0 or attributes which changed in later Unicode versions. RFC 3454 (StringPrep) requires using Unicode 3.2.0 strictly. (cherry picked from commit 7e109d0) Co-authored-by: Seth Larson <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
…me (pythonGH-155696) (python#155968) Co-authored-by: Łukasz <[email protected]>
…ifiers (pythonGH-21069) (python#155652) Co-authored-by: Batuhan Taskaya <[email protected]>
…-155689) (python#155707) Co-authored-by: dr-carlos <[email protected]>
…pythonGH-155703) (python#155765) Co-authored-by: Serhiy Storchaka <[email protected]>
…tive size (pythonGH-155783) (python#155791) Co-authored-by: Victor Stinner <[email protected]>
…3372) (python#155803) Co-authored-by: stratakis <[email protected]>
…ythonGH-155370) (python#155821) Co-authored-by: Neil Schemenauer <[email protected]>
…nGH-155872) (python#155874) Co-authored-by: Łukasz <[email protected]>
…155522) (python#155893) Co-authored-by: Neil Schemenauer <[email protected]>
…o constant tuples/frozensets (pythonGH-149016) (python#155897) Co-authored-by: Kirill Podoprigora <[email protected]> Co-authored-by: Irit Katriel <[email protected]>
…-155929) (python#155933) Co-authored-by: Sanghun Lee <[email protected]>
…pythonGH-155401) (python#155822) Co-authored-by: Neil Schemenauer <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
…lved lazy imports (pythonGH-154688) (python#155899)
…te_debugging.get_child_pids()` on macOS (pythonGH-156061) (python#156069)
…nGH-155736) (python#156085) pythongh-148216: Fix hyphenation in tutorial/stdlib.rst (pythonGH-155736) (cherry picked from commit 5be8020) Co-authored-by: Michele Angrisano <[email protected]>
…ythonGH-143138) (python#156142) pythongh-128326: Normalize self-references to "documentation" (pythonGH-143138) (cherry picked from commit 9721f8f) Co-authored-by: Aniket <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
…ailure (pythongh-155365) (python#155579) Co-authored-by: Neil Schemenauer <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
pythonGH-155068) (python#155679) Co-authored-by: Serhiy Storchaka <[email protected]>
…nGH-156179) (python#156268) pythongh-131885: Use real signatures in the `zlib` docs (pythonGH-156179) (cherry picked from commit d5e560e) Co-authored-by: Stan Ulbrych <[email protected]>
pythonGH-156198) (python#156236) pythongh-156111: Clarify wording in glossary entry "expression" (pythonGH-156198) (cherry picked from commit 6f42535) Co-authored-by: Aniket <[email protected]>
…etation (pythonGH-156227) (python#156297) pythongh-156226: Fix doubled-word typos in the `difflib` documetation (pythonGH-156227) (cherry picked from commit e7468d1) Co-authored-by: Zaveshaa <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
hetaozdh
requested review from
brandtbucher,
markshannon and
savannahostrowski
as code owners
October 1, 2026 04:50
hetaozdh
requested review from
a team,
DinoV,
Eclips4,
Fidget-Spinner,
JacobCoffee,
Yhg1s,
ZeroIntensity,
brettcannon,
carljm,
diegorusso,
ericsnowcurrently,
freakboy3742,
iritkatriel,
isidentical,
itamaro,
methane,
mhsmith,
ncoghlan,
sethmlarson and
webknjaz
as code owners
October 1, 2026 04:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes gh-158540.
When a script is executed with
python -m profiling.sampling run script.pyfrom another directory, the script cannot import modules placed next to it:
_sync_coordinator._execute_script()runs it with the working directory(added by
_setup_environment()for the-mcase) assys.path[0]instead of the script's own directory.
This change adds the script's directory to
sys.pathin_execute_script(),matching the behavior of
python script.py.Added a regression test in
Lib/test/test_profiling/test_sampling_profiler/test_sync_coordinator.pythat runs the coordinator on a script importing a sibling module, plus a
Misc/NEWS.dentry.Tests:
./python -m test test_profiling./python Tools/patchcheck/patchcheck.py