Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-101819: Isolate _io#101948
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
gh-101819: Isolate _io#101948
Changes fromall commits
Commits
Show all changes
86 commits Select commitHold shift + click to select a range
6d0a37b Add tests
erlend-aaslandbd19a20 StringIO type
erlend-aasland9af73fe PyTextIOWrapper type
erlend-aasland4bd73bd Move get_io_state() to main header
erlend-aasland8d96a7a PyFileIO type
erlend-aasland97f382f Buffered* types
erlend-aaslandeeb5c48 PyBytesIO type
erlend-aasland4106c1b PyTextIOBase type
erlend-aasland3eba873 PyBufferedIOBase type
erlend-aaslandde3acf0 PyIncrementalNewlineDecoder type
erlend-aaslandbc35218 PyBytesIOBuffer type
erlend-aasland62a91e9 PyWindowsConsoleIO type
erlend-aasland23b79eb RawIOBase type
erlend-aaslandbe64029 IOBase type
erlend-aasland55234a2 Remove crud
erlend-aasland0328a34 Fixup module def init
erlend-aaslanda83cf1f WIP module state / multi-phase init
erlend-aaslande9b0a27 Pull in main
erlend-aasland4e64198 Fix state assignment
kumaraditya303bda9b43 Merge branch 'main' into isolate-io/poc
hauntsaninjaa51823a Experimental: add explicit finalizers to all types
erlend-aasland0cdd1ea Fix check readable/writable/seekable methods
erlend-aasland3a1ed0b Fix _textiowrapper_decode
erlend-aasland039b757 Revert "Experimental: add explicit finalizers to all types"
erlend-aasland17eb640 Purge old exports
erlend-aasland00d5abb Revert "Fix check readable/writable/seekable methods"
erlend-aasland916ae8c Pull in main
erlend-aaslandfe8c256 Pass state to _check* functions
erlend-aaslandd0a0d54 Windows fix (first of many)
erlend-aasland741d66b Merge branch 'main' into isolate-io/poc
kumaraditya303ce131d4 Merge branch 'main' of https://github.com/python/cpython into isolate…
kumaraditya3032e0d06d Pull in Kumar's work
erlend-aaslandd9806e5 Merge branch 'python:main' into isolate-io/poc
kumaraditya3036a813b4 fix conflict
kumaraditya3030689f21 remove duplicate declarations
kumaraditya3035e19c48 add missing methods
kumaraditya3036099d5b fix pickling
kumaraditya30318de912 Add NEWS
erlend-aaslandc363eb8 fix windows console check
kumaraditya3031099d1f Merge branch 'isolate-io/poc' of github.com:erlend-aasland/cpython in…
kumaraditya30373d581c remove locale
kumaraditya303eaf585e fix all windows checks
kumaraditya3035a5bd9a Merge branch 'main' of https://github.com/python/cpython into isolate…
kumaraditya3037a8c2be Merge branch 'main' into isolate-io/poc
kumaraditya303d836b95 Pull in main
erlend-aasland8d5b6a1 Fix merge
erlend-aaslandbe971d1 Pull in main again
erlend-aasland9083979 Merge branch 'main' into isolate-io/poc
kumaraditya303e12eb85 use _PyType_GetModuleState
kumaraditya303137fc32 Merge branch 'main' of https://github.com/python/cpython into isolate-io
kumaraditya30330b746b Pull in main
erlend-aaslandf1efcb1 Pull in main
erlend-aasland53ddde7 Pull in main
erlend-aasland4c7ca15 Pull in main again
erlend-aasland408c3b2 WIP
erlend-aasland142ac7f Pull in main
erlend-aaslandb4a89e4 Pull in main
erlend-aasland22b73a1 Visit and clear bytesio buf
erlend-aaslandb3ec63a Pull in main
erlend-aasland21470e6 Update NEWS
erlend-aaslandce82d88 Minimise diff a little bit
erlend-aasland3a9f582 Add Py_mod_multiple_interpreters mod slot
erlend-aaslandf287cd5 Pull in main
erlend-aasland13700b5 Fix pickling
erlend-aaslande8d0b57 Make cannot-pickle function less smelly
erlend-aaslandc65fcac Pull in main
erlend-aaslandf1a5de0 Style nit
erlend-aasland7bfbad0 Pull in main
erlend-aasland314137f Pull in main
erlend-aasland9ca079f Pull in main
erlend-aasland1078857 Reduce diff
erlend-aasland3dad388 Remove duplicate ADD_TYPE(PyBytesIOBuffer_Type...)
erlend-aasland8edc6cf Pull in main and reduce diff further
erlend-aasland8df2633 Remove unneeded stylic change
erlend-aasland1505872 Reduce diff further
erlend-aasland18e8c43 Pull in main
erlend-aasland626685c Pull in main
erlend-aasland6d55da9 fixes by Victor
kumaraditya303bd73ab1 Merge branch 'main' of https://github.com/python/cpython into isolate…
kumaraditya30380af518 remove unused functions
kumaraditya30302dbef7 use defining_class
kumaraditya3038518ec5 remove rawiobase_dealloc
kumaraditya303d4b6dcc Merge branch 'main' of https://github.com/python/cpython into isolate…
kumaraditya303c5a4305 fix merge
kumaraditya303ab1baf4 fix merge
kumaraditya303fe2db1b Merge branch 'main' into isolate-io/poc
kumaraditya303File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
7 changes: 5 additions & 2 deletionsLib/test/test_io.py
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
2 changes: 2 additions & 0 deletionsMisc/NEWS.d/next/Library/2023-03-14-11-20-19.gh-issue-101819.0-h0it.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Isolate the :mod:`io` extension module by applying :pep:`687`. Patch by | ||
| Kumar Aditya, Victor Stinner, and Erlend E. Aasland. |
138 changes: 41 additions & 97 deletionsModules/_io/_iomodule.c
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
15 changes: 5 additions & 10 deletionsModules/_io/_iomodule.h
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
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.