BUG: decorators are a Python 2.4 feature
Martin Pool
mbp at sourcefrog.net
Tue May 31 09:17:47 BST 2005
On Mon, 2005-05-30 at 14:15 +1000, Michael Ellerman wrote:
> Hi,
>
> Latest bzr (revno 596) breaks Python 2.3:
>
> Traceback (most recent call last):
> File "/home/michael/bin/bzr", line 52, in ?
> import bzrlib, bzrlib.commands
> File "/home/michael/src/baz/current/bzrlib/__init__.py", line 20, in ?
> from branch import Branch, ScratchBranch, find_branch
> File "/home/michael/src/baz/current/bzrlib/branch.py", line 298
> @with_readlock
> ^
> SyntaxError: invalid syntax
Thanks, these are now changed into regular try/finally blocks. I
suppose explicitness is better here anyhow.
--
Martin
More information about the bazaar
mailing list