Menu

Commit [r5936]  Maximize  Restore  History

* Switch back to the `sys._getframe()` hack in the implementation of `implements()`, for better thread-safety and nesting support (see [http://groups.google.com/group/trac-dev/browse_thread/thread/7bccf999eb3407ed mailing list post]). Also, made `implements` a static method on the `Component` class, which is then aliased to a module-level function.

* Cleaned up imports in `trac.config`, and use `fileobj.write()` instead of `print>>fileobj` when serializing the configuration.

cmlenz 2007-08-17

changed /trunk/trac/config.py
changed /trunk/trac/context.py
changed /trunk/trac/core.py
/trunk/trac/config.py Diff Switch to side-by-side view
Loading...
/trunk/trac/context.py Diff Switch to side-by-side view
Loading...
/trunk/trac/core.py Diff Switch to side-by-side view
Loading...