>>> import os
>>> os.minor(os.makedev(8,65))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: ../Objects/longobject.c:998: bad argument to internal function
>>> os.major(os.makedev(8,65))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: ../Objects/longobject.c:998: bad argument to internal function
>>> import os os.makedev( 8,65)) longobject. c:998: bad argument to internal function os.makedev( 8,65)) longobject. c:998: bad argument to internal function
>>> os.minor(
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: ../Objects/
>>> os.major(
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: ../Objects/
casting to a long works ...
>>> os.major( long(os. makedev( 8,65)))
8