[docs] [issue17268] Context managers written as C types no longer work in Python 2.7

Marc-Andre Lemburg report at bugs.python.org
Thu Feb 21 18:37:19 CET 2013


Marc-Andre Lemburg added the comment:

On 21.02.2013 17:36, Marc-Andre Lemburg wrote:
> 
> After some experiments, it turned out that by simply filling in the tp_methods slot, the problem went away.

Sorry: *tp_methods*, not tp_members.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17268>
_______________________________________


More information about the docs mailing list