E&S CVS Commit: Contextual - Updated for PEP 343 changes in Python
2.5. If you want to have a
pje at eby-sarna.com
pje at eby-sarna.com
Tue Jul 18 21:30:08 EDT 2006
Author: pje
Date: Tue Jul 18 21:30:06 2006
New Revision: 2217
URL: http://svn.eby-sarna.com?rev=2217&view=rev
Log:
Updated for PEP 343 changes in Python 2.5. If you want to have a
working __context__ method, you now have to use the
context.delegated_enter and context.delegated_exit functions as your
__enter__ and __exit__ methods. This is due to Python 2.5 dropping
support for the __context__ method. :(
Modified:
Contextual/context.txt
Contextual/peak/util/context.py
More information about the source-changes
mailing list