[pypy-svn] r15139 - pypy/dist/pypy/module/__builtin__
tismer at codespeak.net
tismer at codespeak.net
Tue Jul 26 19:49:31 CEST 2005
Author: tismer
Date: Tue Jul 26 19:49:30 2005
New Revision: 15139
Modified:
pypy/dist/pypy/module/__builtin__/importing.py
Log:
check-in just for sync
Modified: pypy/dist/pypy/module/__builtin__/importing.py
==============================================================================
--- pypy/dist/pypy/module/__builtin__/importing.py (original)
+++ pypy/dist/pypy/module/__builtin__/importing.py Tue Jul 26 19:49:30 2005
@@ -361,7 +361,7 @@
w(space.builtin))
pycode.exec_code(space, w_dict, w_dict)
- mtime = os.stat(fd)[stat.ST_MTIME]
+ mtime = os.fstat(fd)[stat.ST_MTIME]
cpathname = pathname + 'c'
write_compiled_module(space, pycode, cpathname, mtime)
@@ -380,11 +380,11 @@
def _w_long(osfile, x):
a = x & 0xff
- x >> = 8
+ x >>= 8
b = x & 0xff
- x >> = 8
+ x >>= 8
c = x & 0xff
- x >> = 8
+ x >>= 8
d = x & 0xff
osfile.write(chr(a) + chr(b) + chr(c) + chr(d))
More information about the Pypy-commit
mailing list