forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
PEP 814: Frozendict #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
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
Co-authored-by: Hugo van Kemenade <[email protected]>
…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
…r and download_dir (pythonGH-140223)
…ization related test (pythonGH-141417)
…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]>
…t` (pythonGH-141413) Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
…ythonGH-141407) Co-authored-by: Stan Ulbrych <[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
…ss_doc for inspect.getdoc() (pythonGH-132691)
…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]>
…and `_thread.RLock` (python#141268)
….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.
…shared memory names (pythonGH-138473)
Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
…-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?
…h subinterpreters (python#140909)
…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.
* 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]>
Owner
Author
|
PR replaced with python#141508. |
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.
No description provided.