Message197537
> 2. _PyVerify_fd(fd) is always true. Given the current definition:
> #define _PyVerify_fd(fd) (_get_osfhandle(fd) >= 0)
> for those values of fd _get_osfhandle(fd) >= 0, always.
Hum, are you sure this is the selected implementation?
- this code is only in 2.7
http://hg.python.org/cpython/file/v2.7/Include/fileobject.h#l73
- it's protected by #if statements. In your case the first case should be selected, can you verify if it's the case, and if not, why? |
|
Date |
User |
Action |
Args |
2013-09-12 18:35:51 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, tim.peters, pitrou, vstinner, christian.heimes, tim.golden, brian.curtin, mloskot, V.E.O, m_python |
2013-09-12 18:35:51 | amaury.forgeotdarc | set | messageid: <1379010951.64.0.085933212259.issue17797@psf.upfronthosting.co.za> |
2013-09-12 18:35:51 | amaury.forgeotdarc | link | issue17797 messages |
2013-09-12 18:35:51 | amaury.forgeotdarc | create | |
|