Message215940
Naming a file `io.py` in the root directory of a project causes the following error on 2.7:
AttributeError: 'module' object has no attribute 'BufferedIOBase'
Similar issues arise on 3.x., although the error message is a bit more useful:
Fatal Python error: Py_Initialize: can't initialize sys standard streams
AttributeError: 'module' object has no attribute 'OpenWrapper'
At the very least we should ensure that the error message is a bit more straightforward and clear, as I imagine its not all that uncommon to cause this kind of conflict. |
|
Date |
User |
Action |
Args |
2014-04-11 18:05:52 | madison.may | set | recipients:
+ madison.may, docs@python |
2014-04-11 18:05:51 | madison.may | set | messageid: <1397239551.94.0.578791540537.issue21202@psf.upfronthosting.co.za> |
2014-04-11 18:05:51 | madison.may | link | issue21202 messages |
2014-04-11 18:05:51 | madison.may | create | |
|