[issue18750] '' % [1] doesn't fail

Eric V. Smith report at bugs.python.org
Fri Aug 16 15:31:06 CEST 2013


Eric V. Smith added the comment:

The code looks basically the same in 2.7, and there PyMapping_Check looks for __getitem__, so maybe issue 5945 is just incorrect in its analysis.

In any event, I'm not sure this is worth fixing. There are lots of little corner cases that could be broken.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18750>
_______________________________________


More information about the Python-bugs-list mailing list