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

bpo-24416: [DO NOT MERGE] Return a namedtuple from date.isocalendar() with structseq version #17651

Open
wants to merge 1 commit into
base: master
from

Conversation

@corona10
Copy link
Member

corona10 commented Dec 18, 2019

This is PoC PR from https://github.com/python/cpython/pull/15633/files#r358645767

Past trial 752aad8 which overriding __reduce__ was not proper since it affect to all structsequnce type.

So this is another trial that overriding reduce when initializing StructIsoCalendarDateType.
I checked that this change does not change any behavior of other StructSequence types.

https://bugs.python.org/issue24416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.