mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -500,7 +500,7 @@ def _timestamp(pathname):
|
|||
s = _os_stat(pathname)
|
||||
except OSError:
|
||||
return None
|
||||
return long(s.st_mtime)
|
||||
return int(s.st_mtime)
|
||||
|
||||
|
||||
######################################################################
|
||||
|
@ -583,7 +583,7 @@ class _FilesystemImporter(Importer):
|
|||
|
||||
def py_suffix_importer(filename, finfo, fqname):
|
||||
file = filename[:-3] + _suffix
|
||||
t_py = long(finfo[8])
|
||||
t_py = int(finfo[8])
|
||||
t_pyc = _timestamp(file)
|
||||
|
||||
code = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue