-
Notifications
You must be signed in to change notification settings - Fork 1.4k
add support for os.fork and related functions #4877
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
c5ff3f5
add support for os fork
c2dd77d
WIP: add stub functions for registring callbacks
bd25a54
fill stubs
2efe9bd
make things functional
3ee4da8
make args as kwargs for register at fork
c6da379
change error text as per as cpython
d51daaf
add skip test for os.fork on windows
9fc8952
chore! fix clippy errors
137fd29
skip fork functions in windows
f98c005
Merge branch 'main' of github.com:itsankitkp/RustPython into add-fork…
a58e429
skip unsupported function calls
cb5166f
remove un-needed skip decorators
ddcae23
Update Lib/test/test_socketserver.py
itsankitkp 63a881c
remove un-needed decorator
abce797
fix lint
7aa1311
add todo items
5779c89
remove un-needed comment
37b73f3
fix test case getting stuck
eaa3e63
Update Lib/test/test_httpservers.py
itsankitkp e041cbd
fix test case getting stuck
itsankitkp ae634d2
skip failures due to missing module
itsankitkp e0a2228
Merge branch 'add-fork-in-os' of github.com:itsankitkp/RustPython int…
itsankitkp f54f715
Update Lib/test/test_threading.py
itsankitkp e27e9e9
Update Lib/test/test_threading.py
itsankitkp 6199f76
Update Lib/test/test_threading.py
itsankitkp 9ebdf0b
Update Lib/test/test_threading.py
itsankitkp 9c525af
Update Lib/test/test_threading.py
itsankitkp 84fda43
Update Lib/test/test_threading.py
itsankitkp 8918617
Update Lib/test/test_threading.py
itsankitkp 123bc2d
Update Lib/test/test_threading.py
itsankitkp 844365e
Merge branch 'main' of github.com:itsankitkp/RustPython into add-fork…
itsankitkp d69426b
Merge branch 'main' of github.com:itsankitkp/RustPython into add-fork…
itsankitkp 20f5abf
skip cases which needs _at_fork_reinit support
itsankitkp 3bfe8c8
add type error if arg is not callable
itsankitkp e2e6844
reverse function calls for before forkers as per as cpython implement…
itsankitkp e5d9bb5
handle non callable args
itsankitkp 0fd1a9f
skip test cases which has dependencies on Lock._at_fork_reinit
itsankitkp 47f13b2
skip test case
itsankitkp 35f23be
remove un-needed expected failure decorator as test is passing
itsankitkp e19c8fd
debug test failure
itsankitkp c79e2fd
increase verbosity
itsankitkp f237e5e
print more lines for debug
itsankitkp 870ef53
disable assertion failure to check error
itsankitkp fdaefd0
more debugging
itsankitkp eb01160
minor change
itsankitkp 669ff59
add logs
itsankitkp 76b89ce
more experimentations to get error
itsankitkp 68a78e4
last shot to find issue
itsankitkp a854bb6
remove debug logs
itsankitkp 110fc33
skip test_input_no_stdout_fileno for macos
youknowone 0a2c6fd
Add todo item
itsankitkp af28311
Add todo item
itsankitkp dc087c3
not to remove it when update to next CPython version
itsankitkp 511a448
add todo item
itsankitkp e4aacf9
handle optional args for register at fork
itsankitkp 72b53a9
add ignore kwargs
itsankitkp f8b966d
remove clone
itsankitkp 9963280
chore! add ignorable kwargs
itsankitkp 6cd534b
add cfg to unix only structs
itsankitkp 0b8f237
Update Lib/test/test_pty.py
itsankitkp a85ac15
Update vm/src/stdlib/os.rs
itsankitkp 68fc959
use cleaner way of param validation and remove take on state
itsankitkp 90b472b
add skip cfg
itsankitkp 7b52282
Update Lib/test/test_os.py
itsankitkp 898e084
Update Lib/test/test_fcntl.py
youknowone 5ab1706
relocate fork to posix
youknowone 0b61077
simplify fork functoins
youknowone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove un-needed decorator
- Loading branch information
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.