On Jul 10, 7:51 pm, Christian Boos <[EMAIL PROTECTED]> wrote:
> Alec Thomas wrote:
> > +1
>
> > Though my preference would be without the transaction code, I think
> > it's good it's just in the Wiki module, to see how it goes.
>
> Thanks!
>
> But concerning the transaction stuff, have a look at the follow-up
> changesets:
>  -http://trac.edgewall.org/changeset/7340- simplify transactions to
> use local functions instead of other methods
>  -http://trac.edgewall.org/changeset/7341- show how the above lends
> itself to the later use of `with` (transaction as a context manager)
>
> -- Christian

Wanted to try it out, but that 'with transaction....' stuff makes my
Trac crash and burn.

I'm running 2.4.5 from MacPorts and there is no with statement in my
future, so to speak:

In [1]: from __future__ import with_statement
------------------------------------------------------------
SyntaxError: future feature with_statement is not defined (<ipython
console>, line 1)


:::simon

https://www.coderesort.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to