[New-bugs-announce] [issue37296] pdb next vs __next__

Rick report at bugs.python.org
Sat Jun 15 15:27:39 EDT 2019


New submission from Rick <tsingi at tutanota.com>:

Don't know how to get version from pdb, Makefile says 2.7

Code runs but when debugging I get an error that an iterator has no next() function.  It has got a __next__() function, and it runs, just not under pdb.

If I create a spurious next() function, pdb runs, and calls the __next__() function.

----------
messages: 345712
nosy: tsingi
priority: normal
severity: normal
status: open
title: pdb next vs __next__
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37296>
_______________________________________


More information about the New-bugs-announce mailing list