homepage

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.

Author veky
Recipients louielu, serhiy.storchaka, terry.reedy, veky
Date 2017年08月10日.05:40:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502343646.07.0.962876204376.issue19903@psf.upfronthosting.co.za>
In-reply-to
Content
Hm... now I see that link is very misleading... it opens a blog post, and then only a few seconds later jumps to the comment. So now I'll paste the comment here, to avoid misunderstandings:
Python3.6.0 (now in 2017). I start IDLE, and write
>>> def deco(f):
 import functools
 @functools.wraps(f)
 def ret(*args, **kw):
 return f(*args, **kw)
 return ret
>>> @deco
def f(n, k):
 return n + k*2
>>> f(
And get a tooltip (*args, **kw) instead of (n, k). I guess this is a bug.
History
Date User Action Args
2017年08月10日 05:40:46vekysetrecipients: + veky, terry.reedy, serhiy.storchaka, louielu
2017年08月10日 05:40:46vekysetmessageid: <1502343646.07.0.962876204376.issue19903@psf.upfronthosting.co.za>
2017年08月10日 05:40:46vekylinkissue19903 messages
2017年08月10日 05:40:45vekycreate

AltStyle によって変換されたページ (->オリジナル) /