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 zach.ware
Recipients barry, brett.cannon, gvanrossum, larry, meador.inge, ncoghlan, skrah, tim.peters, yselivanov, zach.ware
Date 2014年01月23日.21:05:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390511146.46.0.606616982768.issue20189@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I found the source of the real issue alluded to in the misguided comment about the 'cls' -> 'type' change that I left on Rietveld.
I was under the impression that with that change, 'help(datetime.datetime.now)' would show a signature of 'now(type, tz=None)'. In actual fact, 'str(inspect.signature(datetime.datetime.now))' (correctly) returns (tz=None), and that's what help (incorrectly) displays. To properly match the help output of Python-implemented methods, pydoc will need to add in the 'self' or 'cls' parameter somehow.
However, I think that situation can be resolved in another issue in favor of getting this in, with the few issues I pointed out on Rietveld fixed.
History
Date User Action Args
2014年01月23日 21:05:46zach.waresetrecipients: + zach.ware, gvanrossum, tim.peters, barry, brett.cannon, ncoghlan, larry, skrah, meador.inge, yselivanov
2014年01月23日 21:05:46zach.waresetmessageid: <1390511146.46.0.606616982768.issue20189@psf.upfronthosting.co.za>
2014年01月23日 21:05:46zach.warelinkissue20189 messages
2014年01月23日 21:05:45zach.warecreate

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