FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-24416: [DO NOT MERGE] Return a namedtuple from date.isocalendar() with structseq version by corona10 · Pull Request #17651 · python/cpython · GitHub

Repository navigation

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

Closed
corona10 wants to merge 1 commit into
python:masterfrom
corona10:bpo-24416-structseq
Closed

corona10 wants to merge 1 commit into
python:masterfrom
corona10:bpo-24416-structseq

Conversation

corona10 commented Dec 18, 2019 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL