2013-02-06 09:57:14 Chris Withers napisaƂ(a):
> I used to do this:
> 
>  >>> import transaction
>  >>> with transaction:
> ...   print 'hello'
> ...
> Traceback (most recent call last):
>    File "<console>", line 1, in <module>
> AttributeError: __exit__
> 
> When did that stop working and what should I now do instead?

http://bugs.python.org/issue9220

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to