[New-bugs-announce] [issue30592] Bad error message 'bool()() takes no keyword arguments'
SylvainDe
report at bugs.python.org
Wed Jun 7 16:18:16 EDT 2017
New submission from SylvainDe:
Very recent "regression". Issue found because of a pet project trying to parse error messages using regexps : more on https://github.com/SylvainDe/DidYouMean-Python/issues/31 .
On recent Cron builds on Jenkins, running the following code
bool(this_doesnt_exist=2)
fails with the following error message
'bool()() takes no keyword arguments'
instead of the expected error message
'bool() takes no keyword arguments'.
Having a quick look at the recent commits, I suspect with no guarantee whatsoever the issue got introduced with https://github.com/python/cpython/commit/5eb788bf7f54a8e04429e18fc332db858edd64b6 / http://bugs.python.org/issue30534 .
I haven't tried to reproduce the issue locally yet and add the findinds if any later on.
----------
messages: 295366
nosy: SylvainDe
priority: normal
severity: normal
status: open
title: Bad error message 'bool()() takes no keyword arguments'
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30592>
_______________________________________
More information about the New-bugs-announce
mailing list