On 08/11/12 12:06, Oscar Benjamin wrote:
On 7 November 2012 22:16, Joshua Landau<joshua.landau...@gmail.com> wrote:That said, losing: [0] * (2, 3) == [0] * [2, 3] would mean losing duck-typing in general.
There are precedents for this kind of thing; the string % operator treats tuples specially, for example. I don't think it's all that bad if you regard the tuple as effectively part of the syntax. -- Greg -- http://mail.python.org/mailman/listinfo/python-list