Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-129027: Raise DeprecationWarning for sys._clear_type_cache#129043
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
Changes from1 commit
Commits
Show all changes
13 commits Select commitHold shift + click to select a range
bac8a24
gh-129027: Raise DeprecationWarning for sys._clear_type_cache
srinivasreddy3d2bca7
Update Doc/whatsnew/3.14.rst
srinivasreddy4b45930
Update Doc/deprecations/pending-removal-in-future.rst
srinivasreddy8366a2d
Update Misc/NEWS.d/next/Library/2025-01-21-11-48-19.gh-issue-129027.w…
srinivasreddy0310eb2
Update Python/sysmodule.c
srinivasreddyc98e6dc
Update Lib/test/test_type_cache.py
srinivasreddyda4c9c1
Update Lib/test/test_sys.py
srinivasreddybc1844e
Fix merge conflicts
srinivasreddybb4d5e4
Remove the introduced spaces
srinivasreddy160f0f7
Address review comments
srinivasreddyaa1cc67
Merge branch 'main' into gh-129027
srinivasreddya19ea6b
Update pending-removal-in-future.rst
srinivasreddyedb99cf
Merge branch 'main' into gh-129027
hugovkFile 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
Update Lib/test/test_type_cache.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitc98e6dc6c7152672933c7f4bd1136df9a857e90b
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -24,6 +24,7 @@ | ||
@support.cpython_only | ||
@unittest.skipIf(_clear_type_cache is None, "requires sys._clear_type_cache") | ||
class TypeCacheTests(unittest.TestCase): | ||
@ignore_deprecation | ||
srinivasreddy marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
def test_tp_version_tag_unique(self): | ||
"""tp_version_tag should be unique assuming no overflow, even after | ||
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.