[issue14745] Misleading exception

2012-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2cd9dadd5c6c by Benjamin Peterson in branch 'default': explicitly set UnsupportedOperation's module rather than relying on incorrect globals on startup (closes #14745) http://hg.python.org/cpython/rev/2cd9dadd5c6c -- nosy: +python-dev reso

[issue14745] Misleading exception

2012-05-07 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : $ python3.2 -c 'open("/dev/null", "w").read()' Traceback (most recent call last): File "", line 1, in io.UnsupportedOperation: not readable $ python3.3 -c 'open("/dev/null", "w").read()' Traceback (most recent call last): File "", li