This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients V.E.O, amaury.forgeotdarc, brian.curtin, christian.heimes, m_python, mloskot, pitrou, tim.golden, tim.peters, vstinner
Date 2013-09-12.18:35:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379010951.64.0.085933212259.issue17797@psf.upfronthosting.co.za>
In-reply-to
Content
> 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?
History
Date User Action Args
2013-09-12 18:35:51amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, tim.peters, pitrou, vstinner, christian.heimes, tim.golden, brian.curtin, mloskot, V.E.O, m_python
2013-09-12 18:35:51amaury.forgeotdarcsetmessageid: <1379010951.64.0.085933212259.issue17797@psf.upfronthosting.co.za>
2013-09-12 18:35:51amaury.forgeotdarclinkissue17797 messages
2013-09-12 18:35:51amaury.forgeotdarccreate