[issue23842] SystemError: ../Objects/longobject.c:998: bad argument to internal function

Matthias Klose report at bugs.python.org
Wed Apr 1 19:59:17 CEST 2015


Matthias Klose added the comment:

casting to a long works ...

>>> os.major(long(os.makedev(8,65)))
8

so maybe revert that optimization for the released branches?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23842>
_______________________________________


More information about the Python-bugs-list mailing list