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 amaury.forgeotdarc
Recipients adlaiff6, amaury.forgeotdarc, benjamin.peterson, christian.heimes, eric.smith, georg.brandl, giampaolo.rodola, gjb1002, jackdied, lemburg, rhettinger, salty-horse, santoso.wijaya, terry.reedy
Date 2011-04-08.23:02:12
SpamBayes Score 0.0019941065
Marked as misclassified No
Message-id <1302303733.63.0.616003496153.issue1820@psf.upfronthosting.co.za>
In-reply-to
Content
Issue5907 would benefit of this change.
Unfortunately, structseq constructors already have keyword arguments; they are equivalent to "def __new__(cls, sequence, dict=NULL)".
OTOH these keywords arguments are not documented anywhere.

I suggest to change the constructor to something equivalent to:
"def __new__(cls, sequence=NULL, dict=NULL, *, field1=NULL,  field2=NULL)"
History
Date User Action Args
2011-04-08 23:02:13amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, georg.brandl, rhettinger, terry.reedy, gjb1002, salty-horse, jackdied, eric.smith, giampaolo.rodola, christian.heimes, benjamin.peterson, adlaiff6, santoso.wijaya
2011-04-08 23:02:13amaury.forgeotdarcsetmessageid: <1302303733.63.0.616003496153.issue1820@psf.upfronthosting.co.za>
2011-04-08 23:02:13amaury.forgeotdarclinkissue1820 messages
2011-04-08 23:02:12amaury.forgeotdarccreate