overflowerror when calling direct.stdpy.file.seek with high numbers
Bug #1500203 reported by
laurin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
rdb |
Bug Description
when using direct.stdpy.file, calling seek(pos) with pos > = 2**31 raises the following error:
"OverflowError: Python int too large to convert to C long"
note that the same call works when using python's native file implementation
seems to me like panda3d is using 32bit integers here, preventing seek calls on the end of large files...
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Are you on a 32-bit system or a 64-bit system? Windows? Linux?