I suspect it's because zip() is actually a class constructor, so argument zero is self... Paul
On Wed, 20 May 2020 at 10:10, Neil Girdhar <[email protected]> wrote: > > I'm just curious, but is it usual for errors to be one-based rather than > zero-based? If I do zip(*iterables, strict=True), then "argument 1 is too > long" refers to iterables[0]? > > On Friday, May 1, 2020 at 2:20:12 PM UTC-4, Brandt Bucher wrote: >> >> I have pushed a first draft of PEP 618: >> >> https://www.python.org/dev/peps/pep-0618 >> >> Please let me know what you think – I'd love to hear any *new* feedback that >> hasn't yet been addressed in the PEP! >> >> Brandt >> _______________________________________________ >> Python-ideas mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> https://mail.python.org/mailman3/lists/python-ideas.python.org/ >> Message archived at >> https://mail.python.org/archives/list/[email protected]/message/ZBB5L2I45PNLTRW7CCV4FDJO5DB7M5UT/ >> Code of Conduct: http://python.org/psf/codeofconduct/ > > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/3ZXTCHVRXDVWZ5VB6YBMZ2Z3FF7PL7RQ/ > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/HM43KBNXA6ZJ66N7WPRZXIKQ372DTXVZ/ Code of Conduct: http://python.org/psf/codeofconduct/
