Skip to content
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

gh-71587: Isolate _datetime #102995

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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 Feb 15, 2023
d1bbebb
Add module state stub; establish global state on stack
erlend-aasland Feb 15, 2023
efeea77
Put conversion factors in state struct
erlend-aasland Feb 15, 2023
ef4a4c2
Move PyDateTime_TimeZone_UTC to state
erlend-aasland Feb 15, 2023
9e3f693
Move PyDateTime_Epoch to state struct
erlend-aasland Feb 15, 2023
5bd60b2
Remove datetime_strptime globals entry
erlend-aasland Feb 15, 2023
b5c051b
Add heap type machinery
erlend-aasland Feb 15, 2023
0b23934
PyDateTime_DateTimeType
erlend-aasland Feb 21, 2023
9184c37
PyDateTime_DateType
erlend-aasland Feb 21, 2023
d890013
PyDateTime_DeltaType
erlend-aasland Feb 21, 2023
780f261
PyDateTime_IsoCalendarDateType
erlend-aasland Feb 21, 2023
2d16589
Regen clinic
erlend-aasland Feb 21, 2023
5566ce5
PyDateTime_TZInfoType and PyDateTime_TimeZoneType
erlend-aasland Feb 21, 2023
89775f3
PyDateTime_TimeType
erlend-aasland Feb 21, 2023
e798939
Visit and clear all types
erlend-aasland Feb 21, 2023
78e0023
Get rid of GLOBAL_STATE
erlend-aasland Feb 21, 2023
d392c1a
Fix binary ops
erlend-aasland Feb 25, 2023
7aaf57f
Unexpose IsoCalendarType
erlend-aasland Feb 25, 2023
206cdcc
_PyType_GetModuleState
erlend-aasland Feb 25, 2023
304ca28
Pull in main
erlend-aasland Mar 24, 2023
8c53fa1
Remove time/datetime memory optimisation
erlend-aasland Mar 24, 2023
b583954
Remove unused get_module_state_by_cls() helper
erlend-aasland Mar 24, 2023
32211b8
Move _strptime import to state
erlend-aasland Mar 24, 2023
47862e8
Add NEWS
erlend-aasland Mar 24, 2023
4eee17c
Pull in main
erlend-aasland Apr 28, 2023
2be3e95
Pull in main
erlend-aasland Oct 6, 2023
d97dfb0
Fix merge
erlend-aasland Oct 6, 2023
f024817
Apply suggestions from code review
erlend-aasland Oct 6, 2023
c23dd20
Address review: remove unused clinic_state() macro
erlend-aasland Oct 6, 2023
a30bfdb
Improve CREATE_TYPE macro
erlend-aasland Oct 6, 2023
d152b4c
Address review: Py_CLEAR state
erlend-aasland Oct 6, 2023
18b9007
Address review: visit and clear module state in member order
erlend-aasland Oct 6, 2023
0ee2374
Regen clinic
erlend-aasland Oct 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Apply :pep:`687` to :mod:`datetime`. Patch by Erlend Aasland.
Loading