[pypy-svn] r36350 - pypy/dist/pypy/objspace
arigo at codespeak.net
arigo at codespeak.net
Tue Jan 9 13:58:29 CET 2007
Author: arigo
Date: Tue Jan 9 13:58:28 2007
New Revision: 36350
Modified:
pypy/dist/pypy/objspace/taint.py
Log:
For now, hide the error message from the TaintError, as this can reveal
secret information.
Modified: pypy/dist/pypy/objspace/taint.py
==============================================================================
--- pypy/dist/pypy/objspace/taint.py (original)
+++ pypy/dist/pypy/objspace/taint.py Tue Jan 9 13:58:28 2007
@@ -34,7 +34,7 @@
def explode(self, space):
msg = self.operr.errorstr(space)
- raise OperationError(space.w_TaintError, space.wrap(msg))
+ raise OperationError(space.w_TaintError, space.w_None) # space.wrap(msg))
def taint(w_obj):
More information about the Pypy-commit
mailing list