[pypy-svn] r26823 - pypy/dist/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Fri May 5 19:34:09 CEST 2006
Author: arigo
Date: Fri May 5 19:34:08 2006
New Revision: 26823
Modified:
pypy/dist/pypy/objspace/std/objspace.py
Log:
This should have been part of the __weakref__ check-in.
Modified: pypy/dist/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/std/objspace.py (original)
+++ pypy/dist/pypy/objspace/std/objspace.py Fri May 5 19:34:08 2006
@@ -189,7 +189,7 @@
from _file import file as libfile
for name, value in libfile.__dict__.items():
if (name != '__dict__' and name != '__doc__'
- and name != '__module__'):
+ and name != '__module__' and name != '__weakref__'):
setattr(file, name, value)
sys.stdin._fdopen(0, "r", 1, '<stdin>')
sys.stdout._fdopen(1, "w", 1, '<stdout>')
More information about the Pypy-commit
mailing list