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 Arfrever, barry, [email protected], ezio.melotti, georg.brandl, larry, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy
Date 2013-02-25.01:17:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
FWIW I think the octint class is a great idea.  It's nice and localized, and it should have no performance impact and only a small maintenance impact.  It'll also preserve the readability of the default if you pull it out with inspect.getfullargspec / inspect.Signature and repr it.  I'm not sure how IDLE et all produce their tooltips, but whatever technique they use octint should work there.  Heck, it should even survive calculations for default values (as I mentioned in the original post), assuming that int + octint = octint.

Is there a significant downside to octint that I'm missing?
History
Date User Action Args
2013-02-25 01:17:58larrysetrecipients: + larry, barry, georg.brandl, rhettinger, terry.reedy, mark.dickinson, ezio.melotti, Arfrever, r.david.murray, [email protected], serhiy.storchaka
2013-02-25 01:17:57larrysetmessageid: <[email protected]>
2013-02-25 01:17:57larrylinkissue16801 messages
2013-02-25 01:17:56larrycreate