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 gvanrossum
Recipients gvanrossum, kj, levkivskyi
Date 2020-10-12.23:22:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602544972.67.0.317758800495.issue42010@roundup.psfhosted.org>
In-reply-to
Content
Have you observed actual users getting confused by this? (E.g. StackOverflow or mailing list posts.) I would assume that if you try to *do* anything with the resulting object it's going to cause a traceback, and from there it's pretty straightforward to debug the situation. (Maybe not for absolute beginners, but they have a lot of ways to confuse themselves. :-)

There are people working on proposals for "integer variadics" that would actually give meaning to things like list[10] (or at least to A[10] and A[N, M] where A is a tensor type) so I am reluctant to forbid this now -- we might have to allow it in the next release.
History
Date User Action Args
2020-10-12 23:22:52gvanrossumsetrecipients: + gvanrossum, levkivskyi, kj
2020-10-12 23:22:52gvanrossumsetmessageid: <1602544972.67.0.317758800495.issue42010@roundup.psfhosted.org>
2020-10-12 23:22:52gvanrossumlinkissue42010 messages
2020-10-12 23:22:52gvanrossumcreate