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 serhiy.storchaka
Recipients amaury.forgeotdarc, brian.curtin, python-dev, serhiy.storchaka
Date 2013-01-01.09:26:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> New changeset 3738d270c54a by Brian Curtin in branch 'default':
> st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is
> set to, is a DWORD. This was fixed in #11939 and the overflow was
> mentioned in #10657 and seen by me on some machines.

But than st_dev used as long in _pystat_fromstructstat(). Perhaps you should 
check if st_dev is negative and then select 
PyLong_FromLong/PyLong_FromLongLong or 
Date User Action Args
2013-01-01 09:26:51serhiy.storchakasetrecipients: + serhiy.storchaka, amaury.forgeotdarc, brian.curtin, python-dev
2013-01-01 09:26:51serhiy.storchakalinkissue11939 messages
2013-01-01 09:26:50serhiy.storchakacreate