Author gvanrossum
Recipients gvanrossum, kj, levkivskyi
Date 2020-10-12.23:22:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2020-10-12 23:22:52gvanrossumsetrecipients: + gvanrossum, levkivskyi, kj
2020-10-12 23:22:52gvanrossumsetmessageid: <>
2020-10-12 23:22:52gvanrossumlinkissue42010 messages
2020-10-12 23:22:52gvanrossumcreate