Message182910
| Author |
larry |
| Recipients |
Arfrever, barry, carsten.klein@axn-software.de, 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 |
<1361755077.76.0.703275165443.issue16801@psf.upfronthosting.co.za> |
| 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:58 | larry | set | recipients:
+ larry, barry, georg.brandl, rhettinger, terry.reedy, mark.dickinson, ezio.melotti, Arfrever, r.david.murray, carsten.klein@axn-software.de, serhiy.storchaka |
| 2013年02月25日 01:17:57 | larry | set | messageid: <1361755077.76.0.703275165443.issue16801@psf.upfronthosting.co.za> |
| 2013年02月25日 01:17:57 | larry | link | issue16801 messages |
| 2013年02月25日 01:17:56 | larry | create |
|