[issue18896] Remove namedtuple 255 arguments restriction

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1075 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18896] Remove namedtuple 255 arguments restriction

2016-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Raymond for your review. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue18896] Remove namedtuple 255 arguments restriction

2016-12-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7454ca88aacb by Serhiy Storchaka in branch 'default': Issue #18896: Python function can now have more than 255 parameters. https://hg.python.org/cpython/rev/7454ca88aacb -- nosy: +python-dev ___ Python tr

[issue18896] Remove namedtuple 255 arguments restriction

2016-12-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks. The patch looks good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue18896] Remove namedtuple 255 arguments restriction

2016-12-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18896] Remove namedtuple 255 arguments restriction

2016-11-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently it is not possible to declare a Python function with more than 255 parameters. There were two historical causes of this: 1. Opcodes MAKE_FUNCTION and MAKE_CLOSURE packed the number of default values for positional and keyword parameters in the opco

[issue18896] Remove namedtuple 255 arguments restriction

2013-09-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18896] Remove namedtuple 255 arguments restriction

2013-08-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to see the limitation removed. IIRC, Guido has said the same. That said, the limitation isn't due to anything in the namedtuple code. Instead, it is due to a CPython bytecode implementation detail that limits all function/method definitions t

[issue18896] Remove namedtuple 255 arguments restriction

2013-08-31 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18896] Remove namedtuple 255 arguments restriction

2013-08-31 Thread Alori
Alori added the comment: @pitrou: Thank you for your answer. I agree they should not replace databases or files, but I think 255 is just way too lightweight. It feels unnatural to have this limitation for no specific reason. Recently, I've seen a lot of solutions that emulate the namedtuple

[issue18896] Remove namedtuple 255 arguments restriction

2013-08-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'll let Raymond give his answer here, but namedtuples are meant as lightweight structures or records (if you know C, think "struct"), not arbitrary containers. -- nosy: +pitrou, rhettinger ___ Python tracker

[issue18896] Remove namedtuple 255 arguments restriction

2013-08-31 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue18896] Remove namedtuple 255 arguments restriction

2013-08-31 Thread Alori
New submission from Alori: Named tuples offer a useful mix of features from both dict and tuple data structures. However, unlike dictionaries and tuples, Named tuples are only allowed to hold up to 255 items. This behavior seems inconsistent and un-Pythonic. Is there a way to remove this restr