Skip to content

Fix patching not returning datetime subclasses#447

Draft
adamchainz wants to merge 1 commit intomainfrom
issue_446
Draft

Fix patching not returning datetime subclasses#447
adamchainz wants to merge 1 commit intomainfrom
issue_446

Conversation

@adamchainz
Copy link
Owner

Fixes #446.

(Currently just a test, trying different C API stuff to make it work.)

@adamchainz
Copy link
Owner Author

I think the way forward here is to rewrite to avoid passing back through a Python function, and instead implemetn the whole reading of the traveller stack in C. That's a significant rewrite though, so I'll hold on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

subclasses of datetime return datetime rather than Self while time is mocked

1 participant