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 larry
Recipients barry, jkloth, larry, serhiy.storchaka
Date 2014-01-06.20:23:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389039835.92.0.703506930327.issue20144@psf.upfronthosting.co.za>
In-reply-to
Content
It is unfortunate, but on the other hand that's what happens in Python too:

    >>> import sys
    >>> import inspect
    >>> def foo(blah=sys.maxsize): pass
    ... 
    >>> str(inspect.signature(foo))
    '(blah=9223372036854775807)'

Nick proposed something we could use to fix these (I think he called them "named constants") but it's not in the language yet.  Anyway propagating those all the way from Argument Clinic to inspect.Signature would be tricky.

Could you live with this being checked in to 3.4?
History
Date User Action Args
2014-01-06 20:23:55larrysetrecipients: + larry, barry, jkloth, serhiy.storchaka
2014-01-06 20:23:55larrysetmessageid: <1389039835.92.0.703506930327.issue20144@psf.upfronthosting.co.za>
2014-01-06 20:23:55larrylinkissue20144 messages
2014-01-06 20:23:55larrycreate