8000 gh-117398: Isolate _datetime (3.13.0a6 PoC) by neonene · Pull Request #117498 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-117398: Isolate _datetime (3.13.0a6 PoC) #117498

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
wants to merge 27 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
a inlining fix
  • Loading branch information
neonene authored Apr 19, 2024
commit 9d6de973f7ed77761123096c973f2530b1d70a1e
2 changes: 1 addition & 1 deletion Modules/_datetimemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -6135,7 +6135,7 @@ datetime_richcompare(PyObject *self, PyObject *other, int op)
PyDateTime_Delta *delta;

assert(offset1 != offset2); /* else last "if" handled it */
delta = (PyDateTime_Delta *)datetime_subtract((PyObject *)self,
delta = (PyDateTime_Delta *)_datetime_subtract(st, (PyObject *)self,
other);
if (delta == NULL)
goto done;
Expand Down
0