mirror of
https://github.com/python/cpython
synced 2026-09-28 07:28:17 +03:00
Issue #19076: Merge with 3.4.
This commit is contained in:
commit
de1fb6660b
2 changed files with 3 additions and 1 deletions
|
|
@ -673,7 +673,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
# now set the break point
|
||||
err = self.set_break(filename, line, temporary, cond, funcname)
|
||||
if err:
|
||||
self.error(err, file=self.stdout)
|
||||
self.error(err)
|
||||
else:
|
||||
bp = self.get_breaks(filename, line)[-1]
|
||||
self.message("Breakpoint %d at %s:%d" %
|
||||
|
|
|
|||
|
|
@ -108,6 +108,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #19076: Don't pass the redundant 'file' argument to self.error().
|
||||
|
||||
- Issue #16382: Improve exception message of warnings.warn() for bad
|
||||
category. Initial patch by Phil Elson.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue