Message248728
the `_pyio` module at line 16 tries to check whether it is running on Windows platform, by doing:
```
if os.name == 'win32':
from msvcrt import setmode as _setmode
else:
_setmode = None
```
However, the string returned by os.name is 'nt' and not 'win32' (the latter is returned by `sys.platform`). Therefore, the value is always False and the setmode function from mscvrt module is never imported.
Thank you.
Cheers,
Cosimo |
|
Date |
User |
Action |
Args |
2015-08-17 14:11:07 | Cosimo Lupo | set | recipients:
+ Cosimo Lupo |
2015-08-17 14:11:07 | Cosimo Lupo | set | messageid: <1439820667.47.0.427491446105.issue24881@psf.upfronthosting.co.za> |
2015-08-17 14:11:07 | Cosimo Lupo | link | issue24881 messages |
2015-08-17 14:11:06 | Cosimo Lupo | create | |
|