Christian Barcenas added the comment:
Should have clarified that the specific issue that is outlined in #5945 is that
PyMapping_Check returns 1 on sequences (e.g. lists), which would mean something
like x = [('one', 1), ('two', 2)]; dict(x) would fail in 3.x because x would be
incorrectly evaluated as a mapping rather than as an iterable.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24659>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com