-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-71587: Isolate _datetime
#102995
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
gh-71587: Isolate _datetime
#102995
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
00c0ef0
Consistency: use explicit initialiser for m_base
erlend-aasland d1bbebb
Add module state stub; establish global state on stack
erlend-aasland efeea77
Put conversion factors in state struct
erlend-aasland ef4a4c2
Move PyDateTime_TimeZone_UTC to state
erlend-aasland 9e3f693
Move PyDateTime_Epoch to state struct
erlend-aasland 5bd60b2
Remove datetime_strptime globals entry
erlend-aasland b5c051b
Add heap type machinery
erlend-aasland 0b23934
PyDateTime_DateTimeType
erlend-aasland 9184c37
PyDateTime_DateType
erlend-aasland d890013
PyDateTime_DeltaType
erlend-aasland 780f261
PyDateTime_IsoCalendarDateType
erlend-aasland 2d16589
Regen clinic
erlend-aasland 5566ce5
PyDateTime_TZInfoType and PyDateTime_TimeZoneType
erlend-aasland 89775f3
PyDateTime_TimeType
erlend-aasland e798939
Visit and clear all types
erlend-aasland 78e0023
Get rid of GLOBAL_STATE
erlend-aasland d392c1a
Fix binary ops
erlend-aasland 7aaf57f
Unexpose IsoCalendarType
erlend-aasland 206cdcc
_PyType_GetModuleState
erlend-aasland 304ca28
Pull in main
erlend-aasland 8c53fa1
Remove time/datetime memory optimisation
erlend-aasland b583954
Remove unused get_module_state_by_cls() helper
erlend-aasland 32211b8
Move _strptime import to state
erlend-aasland 47862e8
Add NEWS
erlend-aasland 4eee17c
Pull in main
erlend-aasland 2be3e95
Pull in main
erlend-aasland d97dfb0
Fix merge
erlend-aasland f024817
Apply suggestions from code review
erlend-aasland c23dd20
Address review: remove unused clinic_state() macro
erlend-aasland a30bfdb
Improve CREATE_TYPE macro
erlend-aasland d152b4c
Address review: Py_CLEAR state
erlend-aasland 18b9007
Address review: visit and clear module state in member order
erlend-aasland 0ee2374
Regen clinic
erlend-aasland 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
Move _strptime import to state
- Loading branch information
commit 32211b893d96c21cb11cd8c5d1c9e58343e33f74
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!
Ther 8000 e was an error while loading. Please reload this page.