Skip to content

Conversation

@vstinner
Copy link
Owner

No description provided.

encukou and others added 30 commits November 11, 2025 13:52
…ythonGH-140187)

* chore: test_exec_set_nomemory_hang from 3.13

Signed-off-by: yihong0618 <[email protected]>

* fix: apply comments

Signed-off-by: yihong0618 <[email protected]>

* Update Lib/test/test_exceptions.py

Co-authored-by: Peter Bierma <[email protected]>

* Update Lib/test/test_exceptions.py

Co-authored-by: Peter Bierma <[email protected]>

* fix: windows too long name 60 times is enough

Signed-off-by: yihong0618 <[email protected]>

---------

Signed-off-by: yihong0618 <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>
…o doc (pythonGH-139534)

pythongh-139533: fix refs to code without proper markups on turtledemo documentation
…SMTP{_SSL} initialization (python#137340)

This also documents the previously undocumented default_port parameter.

Co-authored-by: Stan Ulbrych <[email protected]>
…ng (python#140440)

Avoids critical section in `PySet_Add` when adding items to newly created frozensets.

Co-authored-by: Kumar Aditya <[email protected]>
…dalone carriage return (pythonGH-141331)

The assertion was checking wrong variable (skip_back vs skip_bytes).
…ythonGH-139623)

* Cease caching config.cache in GH Actions\
* Remove ccache action
…tion report which child process terminated (pythonGH-139486)

Report which process terminated as cause of BPE
…ent (pythonGH-121011)

Handling of arbitrary large int-like argument is now consistent with
handling arbitrary large int arguments.
… signal (pythonGH-138776)

* fix: handle  stdin correct with EOF single.
* fix: flollow the comments when pipe stdin use buffer
* Apply suggestions from code review
* fix: apply review comments in Lib/base64.py
* fix: address comments
* Reword comment and NEWS entry.

---------

Signed-off-by: yihong0618 <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
… the actual off-by-onish behavior (pythonGH-137953)

* checks 21, not 20
* Say "header" instead of "first row" to disambiguate per review.

---------

Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Maurycy Pawłowski-Wieroński <[email protected]>
…iffer (pythonGH-138622)

* Increase test coverage for csv.DictReader and csv.Sniffer

Previously there were no tests for the DictReader fieldnames
setter, the case where a StopIteration was encountered when trying
to determine the fieldnames from the content or the case where
Sniffer could not find a delimiter.

* Revert whitespace change to comment

* Add a test that csv.Sniffer.has_header checks up to 20 rows

* Replace name and age with letter and offset

Co-authored-by: Bénédikt Tran <[email protected]>

* Address review comment

---------

Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
…heap (pythonGH-137929)

remove redundant size check, malloc does it

---------

Co-authored-by: Gregory P. Smith <[email protected]>
…GEN (pythonGH-137619)

* Require Python 3.11 to Python 3.15 for PYTHON_FOR_REGEN

* NEWS

* keep allowing python 3.10

---------

Co-authored-by: Gregory P. Smith <[email protected]>
….lock` and `_thread.RLock` (python#141448)

Revert "pythonGH-116946: eliminate the need for the GC in the `_thread.lock` and `_thread.RLock` (python#141268)"

This reverts commit fbebca2.
…n#141214)

io.UnsupportedOperation is a subclass of OSError and recommended by
io.IOBase for this case; matches other read methods on io.FileIO.
lincolnj1 and others added 16 commits November 12, 2025 10:07
…-141428)

The endpoint used for demonstrating reading URLs is no longer
stable. This change substitutes a target over which we have more
control.
Xcode concatenates the test argument array, losing quoting in the process.
…141438)

* pythongh-137109: refactor warning about threads when forking

This splits the OS API specific functionality to get the number of threads out
from the fallback Python method and warning raising code itself.  This way the
OS APIs can be queried before we've run
`os.register_at_fork(after_in_parent=...)` registered functions which
themselves may (re)start threads that would otherwise be detected.

This is best effort.  If the OS APIs are either unavailable or fail, the
warning generating code still falls back to looking at the Python threading
state after the CPython interpreter world has been restarted and the
after_in_parent calls have been made.  The common case for most Linux and macOS
environments should work today.

This also lines up with the existing TODO refactoring, we may choose to expose
this API to get the number of OS threads in the `os` module in the future.

* NEWS entry

* avoid "function-prototype" compiler warning?
@vstinner vstinner changed the title Frozendict PEP 814: Frozendict Nov 13, 2025
ashm-dev and others added 3 commits November 13, 2025 16:31
…139652)

Many functions related to compiling or parsing Python code, such as
compile(), ast.parse(), symtable.symtable(),
and importlib.abc.InspectLoader.source_to_code() now allow to pass
the module name used when filtering syntax warnings.
)

Split existing tests on smaller methods and move them to separate class.
Rename variable "content" to "it".
Use BytesIO instead of StringIO.
Add few more tests.
* Basic tests
* Bare minimum documentation
* Support frozendict in marshal, pickle, json
* Replace dict with frozendict in many stdlib modules

Co-Authored-by: Donghee Na <[email protected]>
Co-Authored-by: Marco Sulla <[email protected]>
@vstinner
Copy link
Owner Author

PR replaced with python#141508.

@vstinner vstinner closed this Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.