Message251399
| Author |
terry.reedy |
| Recipients |
THRlWiTi, Todd.Rovito, asvetlov, docs@python, eric.araujo, georg.brandl, markroseman, martin.panter, ned.deily, python-dev, roger.serwy, terry.reedy, zach.ware |
| Date |
2015年09月23日.03:19:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442978368.25.0.341975302224.issue16893@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thank you for reporting this. My general problem is that idlelib was only informally private until PEP434 and I only started adding 'private' and 'deprecated' to the code a week ago. So I am trying to make changes in existing versions while not breaking even unlikely uses of the current API. The specific problem is the the class init method *is* used -- to create an unused instance -- on import.
helpDialog = HelpDialog() # singleton instance, no longer used
The patch fixes the problem by moving the deprecation to the show method, which Idle really does not now call. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月23日 03:19:28 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, ned.deily, roger.serwy, eric.araujo, asvetlov, markroseman, THRlWiTi, docs@python, Todd.Rovito, python-dev, martin.panter, zach.ware |
| 2015年09月23日 03:19:28 | terry.reedy | set | messageid: <1442978368.25.0.341975302224.issue16893@psf.upfronthosting.co.za> |
| 2015年09月23日 03:19:28 | terry.reedy | link | issue16893 messages |
| 2015年09月23日 03:19:27 | terry.reedy | create |
|