[pypy-svn] r15081 - pypy/dist/pypy/module/__builtin__

hpk at codespeak.net hpk at codespeak.net
Mon Jul 25 21:17:58 CEST 2005


Author: hpk
Date: Mon Jul 25 21:17:58 2005
New Revision: 15081

Modified:
   pypy/dist/pypy/module/__builtin__/importing.py
Log:
don't implicitely use default arg (thanks pedronis) 


Modified: pypy/dist/pypy/module/__builtin__/importing.py
==============================================================================
--- pypy/dist/pypy/module/__builtin__/importing.py	(original)
+++ pypy/dist/pypy/module/__builtin__/importing.py	Mon Jul 25 21:17:58 2005
@@ -201,7 +201,7 @@
 
 
 def imp_execfile(space, fn, w_globals, w_locals): 
-    fd = os.open(fn, os.O_RDONLY) # XXX newlines? 
+    fd = os.open(fn, os.O_RDONLY, 0777) # XXX newlines? 
     try:
         size = os.fstat(fd)[6]
         source = os.read(fd, size) 



More information about the Pypy-commit mailing list