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.do_break calls error with obsolete file kwarg #63276

Closed
MichaelSmith mannequin opened this issue Sep 23, 2013 · 3 comments
Closed

Pdb.do_break calls error with obsolete file kwarg #63276

MichaelSmith mannequin opened this issue Sep 23, 2013 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@MichaelSmith
Copy link
Mannequin

MichaelSmith mannequin commented Sep 23, 2013

BPO 19076
Nosy @birkenfeld, @bitdancer, @berkerpeksag

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 = 'https://github.com/berkerpeksag'
closed_at = <Date 2014-07-12.15:27:53.769>
created_at = <Date 2013-09-23.00:29:20.890>
labels = ['type-bug', 'library']
title = 'Pdb.do_break calls error with obsolete file kwarg'
updated_at = <Date 2014-07-12.15:27:53.766>
user = 'https://bugs.python.org/MichaelSmith'

bugs.python.org fields:

activity = <Date 2014-07-12.15:27:53.766>
actor = 'berker.peksag'
assignee = 'berker.peksag'
closed = True
closed_date = <Date 2014-07-12.15:27:53.769>
closer = 'berker.peksag'
components = ['Library (Lib)']
creation = <Date 2013-09-23.00:29:20.890>
creator = 'Michael.Smith'
dependencies = []
files = []
hgrepos = []
issue_num = 19076
keywords = []
message_count = 3.0
messages = ['198309', '222844', '222846']
nosy_count = 5.0
nosy_names = ['georg.brandl', 'r.david.murray', 'python-dev', 'berker.peksag', 'Michael.Smith']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue19076'
versions = ['Python 3.4', 'Python 3.5']

@MichaelSmith
Copy link
Mannequin Author

MichaelSmith mannequin commented Sep 23, 2013

Pretty straightforward:

File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/pdb.py", line 675, in do_break
self.error(err, file=self.stdout)
TypeError: error() got an unexpected keyword argument 'file'

Sure enough, line 675 reads:
self.error(err, file=self.stdout)

but line 448:
def error(self, msg):

@MichaelSmith MichaelSmith mannequin added the extension-modules C modules in the Modules dir label Sep 23, 2013
@berkerpeksag berkerpeksag added the stdlib Python modules in the Lib dir label Sep 23, 2013
@python-dev
Copy link
Mannequin

python-dev mannequin commented Jul 12, 2014

New changeset afa9c0e24a71 by Berker Peksag in branch '3.4':
Issue bpo-19076: Don't pass the redundant 'file' argument to self.error().
http://hg.python.org/cpython/rev/afa9c0e24a71

New changeset d891ad8aeb80 by Berker Peksag in branch 'default':
Issue bpo-19076: Merge with 3.4.
http://hg.python.org/cpython/rev/d891ad8aeb80

@berkerpeksag
Copy link
Member

Thanks for the report, Michael.

@berkerpeksag berkerpeksag removed the extension-modules C modules in the Modules dir label Jul 12, 2014
@berkerpeksag berkerpeksag self-assigned this Jul 12, 2014
@berkerpeksag berkerpeksag added the type-bug An unexpected behavior, bug, or error label Jul 12, 2014
@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
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant