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 <[email protected]>
<http://bugs.python.org/issue30592>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com