Serhiy Storchaka added the comment: Here is a patch against 3.5. Unsigned bitwise int converter is used for dev_t because dev_t can be unsigned (and it is on Linux). This is not ideal solution, there is no overflow check, but at least it should work for correct code.
---------- keywords: +patch Added file: http://bugs.python.org/file37526/posix_dev_t_converter-3.5.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23098> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com