[issue14230] Delegating generator is not always visible to debugging tools such as inspect & pdb

Benjamin Peterson report at bugs.python.org
Fri Mar 16 15:15:58 CET 2012


Benjamin Peterson <benjamin at python.org> added the comment:

Nevermind, I think I see the problem.

2012/3/16 Benjamin Peterson <report at bugs.python.org>:
>
> Benjamin Peterson <benjamin at python.org> added the comment:
>
> 2012/3/16 Matt Joiner <report at bugs.python.org>:
>>
>> Matt Joiner <anacrolix at gmail.com> added the comment:
>>
>> This changeset has broken something. All I get is a confusing backtrace ending with:
>>
>>  File "/home/matt/src/python-torrent/torrent/bencode.py", line 15, in encode
>>    yield from encode(k)
>> AttributeError: 'list_iterator' object has no attribute 'send'
>>
>> Backing out the changeset, and there is no problem. Let me know if there's some way to provide more information.
>
> Try removing all the pycs.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue14230>
> _______________________________________

----------

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


More information about the Python-bugs-list mailing list