Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdb next vs __next__ #81477

Closed
tsingi mannequin opened this issue Jun 15, 2019 · 6 comments
Closed

pdb next vs __next__ #81477

tsingi mannequin opened this issue Jun 15, 2019 · 6 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@tsingi
Copy link
Mannequin

tsingi mannequin commented Jun 15, 2019

BPO 37296
Nosy @ronaldoussoren, @tsingi, @iritkatriel

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-09-16.09:28:45.439>
created_at = <Date 2019-06-15.19:27:39.243>
labels = ['type-bug']
title = 'pdb next vs __next__'
updated_at = <Date 2020-09-16.21:42:37.735>
user = 'https://github.com/tsingi'

bugs.python.org fields:

activity = <Date 2020-09-16.21:42:37.735>
actor = 'tsingi'
assignee = 'none'
closed = True
closed_date = <Date 2020-09-16.09:28:45.439>
closer = 'ronaldoussoren'
components = []
creation = <Date 2019-06-15.19:27:39.243>
creator = 'tsingi'
dependencies = []
files = []
hgrepos = []
issue_num = 37296
keywords = []
message_count = 6.0
messages = ['345712', '375193', '375400', '376954', '376982', '377029']
nosy_count = 3.0
nosy_names = ['ronaldoussoren', 'tsingi', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37296'
versions = []

@tsingi
Copy link
Mannequin Author

tsingi mannequin commented Jun 15, 2019

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.

@tsingi tsingi mannequin added the type-bug An unexpected behavior, bug, or error label Jun 15, 2019
@iritkatriel
Copy link
Member

Do you mean the python version?

(Pdb) import sys
(Pdb) sys.version
'3.10.0a0 ....'

@ronaldoussoren
Copy link
Contributor

Please add more information on how to reproduce the problem. The current description is not complete enough to be able to determine if there is a bug and if so where that bug is.

@iritkatriel
Copy link
Member

I think this ticket can be closed.

Rick can always reopen it or create a new one if there is still an open problem.

@ronaldoussoren
Copy link
Contributor

I agree. Without further information it is impossible to move forward.

@tsingi
Copy link
Mannequin Author

tsingi mannequin commented Sep 16, 2020

I have no idea what program this was in, it's lost in the depths of time.
I can't retain these things for over a year, too old, maybe in my twenties I would have remembered what code this was in but no longer.
Can it.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants