BUG: decorators are a Python 2.4 feature

Michael Ellerman michael at ellerman.id.au
Mon May 30 05:15:31 BST 2005


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

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050530/22f58b92/attachment.pgp 


More information about the bazaar mailing list