-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-117398: Add datetime C-API type check test for subinterpreters #119604
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 39 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0db4a81
Update _testmultiphase.c
neonene 593f05a
Update test_misc.py
neonene d85c8bc
ingore import error on subinterp with GIL disabled
neonene 9b667d7
revert
neonene 6a67b45
Update Modules/_testcapi/datetime.c
neonene f21ef4a
revert
neonene ac9ad4b
add test for subinterpreters
neonene e4f6cc1
Merge branch 'main' into capi_type_check
neonene f0654f5
restore _testmultiphase check for WASI?
neonene 17cb0c1
use test_datetime_capi() instead of PyDateTime_IMPORT
neonene fdfe135
remove redundant PyDateTimeAPI check
neonene c7d9de4
add Py_MOD_GIL_NOT_USED
neonene b89801c
ignore dlopen error on WASI
neonene cb5d65b
Merge branch 'main' into capi_type_check
neonene dc9c5e3
edit comment
neonene 76695c7
Merge branch 'main' into capi_type_check
neonene 6d57d33
rely on support module to run subinterps
neonene 4a04542
nit
neonene ba08b04
add blank lines
neonene 8c26d7e
simplify WASI check
neonene 0360151
use _interpreters.new_config()
neonene b2c1e70
do not run_in_subinterp()
neonene 23909a8
use @requires_subinterpreters instead of builtin _testcapi check
neonene daac381
do not use function to create module
neonene bf4d78a
do not copy config dict
neonene 8c53a58
Merge branch 'main' into capi_type_check
neonene b3460b4
add test for all OSes
neonene aab36c3
_datetime does now multi-phase init
neonene 378b1fd
remove test for all OSes
neonene df4c43e
remove duplicate test for main interpreter
neonene 5ce05a4
reuse existing PyMethodDef
neonene ba41ef1
use expected config of InterpreterConfigTests instead
neonene 272f25f
move static type assertions to test_datetime_capi()
neonene 0d82c3c
Merge branch 'main' into capi_type_check
neonene 17615ef
WASI support (only on legacy subinterp)
neonene 9c46fe0
use _interpreters.new_config()
neonene 0c40fc8
move test to datetimetester.py
neonene 55beee7
Merge branch 'main' into capi_type_check
neonene b861bd3
rename test case
neonene a1421dd
simplify conditions in support.run_in_subinterp_with_config()
neonene 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
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
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
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.
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.