[issue791968] Arguments tooltip wrong if def contains tuple
ariel brunner added the comment: It seems like the solution has caused a different issue: now, when defining a function with factional default arguments, the text replaces the correct values in the tooltip. Here's an example - >>> def f(a=0.5): pass >>> f( tooltip shows - "(a=0)", i.e. replaces the ".5" with . -- nosy: +ariel_bruner ___ Python tracker <http://bugs.python.org/issue791968> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue791968] Arguments tooltip wrong if def contains tuple
ariel brunner added the comment: I will, sorry. I thought it's possible reopen an issue. Since all the relevant information is already contained here, and since the problem is with the fix to the issue, I figured it's best to reopen this one. -- ___ Python tracker <http://bugs.python.org/issue791968> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18539] Arguments tooltip wrong if def contains fractional default value
New submission from ariel brunner: When defining a function with factional default arguments, the text replaces the correct values in the tooltip. Here's an example - >>> def f(a=0.5): pass >>> f( tooltip shows - "(a=0)", i.e. replaces the ".5" with . This was found to happen on IDLE with python 2.7.3 and 2.7.5 (the latter was on 64 bit python installation on a windows 7 machine). The problem was discussed here - http://stackoverflow.com/questions/17053492/pythons-idle-behavior-while-defining-fractional-default-values-to-function-para and the problem was found to stem from the CallTips.py file (exact code lines in the link). I believe this is the result of a fix to issue791968. -- components: IDLE messages: 193631 nosy: ariel_bruner priority: normal severity: normal status: open title: Arguments tooltip wrong if def contains fractional default value type: behavior versions: Python 2.6, Python 2.7 ___ Python tracker <http://bugs.python.org/issue18539> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18539] Arguments tooltip wrong if def contains fractional default value
Changes by ariel brunner : -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue18539> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18539] Idle 2.7: Calltip wrong if def contains float default value
ariel brunner added the comment: Superb, and thanks for doing the actual work on fixing it. -- ___ Python tracker <http://bugs.python.org/issue18539> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com