[pypy-svn] r49718 - pypy/dist/pypy/module/_file
arigo at codespeak.net
arigo at codespeak.net
Thu Dec 13 16:02:49 CET 2007
Author: arigo
Date: Thu Dec 13 16:02:47 2007
New Revision: 49718
Modified:
pypy/dist/pypy/module/_file/interp_stream.py
Log:
An extra assert.
Modified: pypy/dist/pypy/module/_file/interp_stream.py
==============================================================================
--- pypy/dist/pypy/module/_file/interp_stream.py (original)
+++ pypy/dist/pypy/module/_file/interp_stream.py Thu Dec 13 16:02:47 2007
@@ -72,6 +72,7 @@
if self.slockowner is me:
return False # already acquired by the current thread
self.slock.acquire(True)
+ assert self.slockowner is None
self.slockowner = me
return True
More information about the Pypy-commit
mailing list