This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients corona10, mark.dickinson, rhettinger, tim.peters
Date 2020-09-21.21:04:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600722277.33.0.770059759774.issue41823@roundup.psfhosted.org>
In-reply-to
Content
[Dong-hee Na]
> However, since the type is the structsequence the 
> change can cause the ValueError: too many values 
> to unpack when the variable is used as a tuple

Structseq also allows named fields that aren't part of the tuple.  That is why I suggested, "consider adding new non-sequence fields ..."

For example, the Posix stat result struct seq has optional fields (
st_blksize, st_blocks, st_rdev, and st_flags) that are available as attributes only.
History
Date User Action Args
2020-09-21 21:04:37rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, corona10
2020-09-21 21:04:37rhettingersetmessageid: <1600722277.33.0.770059759774.issue41823@roundup.psfhosted.org>
2020-09-21 21:04:37rhettingerlinkissue41823 messages
2020-09-21 21:04:37rhettingercreate