[pypy-svn] r31150 - pypy/dist/pypy/objspace/std
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Aug 8 00:40:23 CEST 2006
Author: cfbolz
Date: Tue Aug 8 00:40:20 2006
New Revision: 31150
Modified:
pypy/dist/pypy/objspace/std/objspace.py
Log:
_really_ fix --oldstyle.
Modified: pypy/dist/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/std/objspace.py (original)
+++ pypy/dist/pypy/objspace/std/objspace.py Tue Aug 8 00:40:20 2006
@@ -44,8 +44,9 @@
PACKAGE_PATH = 'objspace.std'
- def setoptions(self, oldstyle=False):
- self.config.objspace.std.oldstyle = oldstyle
+ def setoptions(self, **kwds):
+ if "oldstyle" in kwds:
+ self.config.objspace.std.oldstyle = kwds["oldstyle"]
def initialize(self):
"NOT_RPYTHON: only for initializing the space."
More information about the Pypy-commit
mailing list