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 vstinner
Recipients doko, serhiy.storchaka, vstinner
Date 2015-04-01.16:32:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427905947.47.0.866881886291.issue23842@psf.upfronthosting.co.za>
In-reply-to
Content
> return '%d:%d' % (os.major(st.st_rdev), os.minor(st.st_rdev))

Can you check if the error comes from os.major() or os.minor(), and please provide the value of st_rdev?

You can modify the unit test to catch SystemError and raise a new exception with more information.
History
Date User Action Args
2015-04-01 16:32:27vstinnersetrecipients: + vstinner, doko, serhiy.storchaka
2015-04-01 16:32:27vstinnersetmessageid: <1427905947.47.0.866881886291.issue23842@psf.upfronthosting.co.za>
2015-04-01 16:32:27vstinnerlinkissue23842 messages
2015-04-01 16:32:27vstinnercreate