This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Pdb.do_break calls error with obsolete file kwarg
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.4, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: berker.peksag Nosy List: Michael.Smith, berker.peksag, georg.brandl, python-dev, r.david.murray
Priority: normal Keywords:

Created on 2013-09-23 00:29 by Michael.Smith, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg198309 - (view) Author: Michael Smith (Michael.Smith) Date: 2013-09-23 00:29
Pretty straightforward:

File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/", 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):
msg222844 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-07-12 15:26
New changeset afa9c0e24a71 by Berker Peksag in branch '3.4':
Issue #19076: Don't pass the redundant 'file' argument to self.error().

New changeset d891ad8aeb80 by Berker Peksag in branch 'default':
Issue #19076: Merge with 3.4.
msg222846 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014-07-12 15:27
Thanks for the report, Michael.
Date User Action Args
2022-04-11 14:57:51adminsetgithub: 63276
2014-07-12 15:27:53berker.peksagsetstatus: open -> closed

resolution: fixed

assignee: berker.peksag
stage: needs patch -> resolved
versions: + Python 3.5, - Python 3.3
nosy: + r.david.murray
messages: + msg222846
components: - Extension Modules
type: behavior
2014-07-12 15:26:03python-devsetnosy: + python-dev
messages: + msg222844
2013-09-23 04:39:19berker.peksagsetnosy: + georg.brandl, berker.peksag
stage: needs patch

components: + Library (Lib)
versions: + Python 3.4
2013-09-23 00:29:20Michael.Smithcreate