mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
This commit is contained in:
parent
fc7bb8c786
commit
e2a383d062
146 changed files with 1446 additions and 1477 deletions
|
@ -31,7 +31,7 @@ def make_pyc(co, mtime):
|
|||
if mtime < 0x7fffffff:
|
||||
mtime = int(mtime)
|
||||
else:
|
||||
mtime = int(-0x100000000L + long(mtime))
|
||||
mtime = int(-0x100000000 + int(mtime))
|
||||
pyc = imp.get_magic() + struct.pack("<i", int(mtime)) + data
|
||||
return pyc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue