- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | ncoghlan |
|---|---|
| Recipients | barry, brett.cannon, gvanrossum, larry, meador.inge, ncoghlan, skrah, tim.peters, yselivanov, zach.ware |
| Date | 2014-01-24.11:16:37 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1390562198.03.0.437108903454.issue20189@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Oh, yes, now I remember - it *has* to be that way, otherwise upcalls from subclass __new__ methods don't do the right thing (int.__new__(MyInt), etc), just as you need to pass the current type in explicitly for cooperative super calls. This is perhaps *the* most obscure design detail of the type system that I'm aware of - I have to go scratching around in my brain for the reason every time it comes up, which is fortunately almost never :) |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-01-24 11:16:38 | ncoghlan | set | recipients: + ncoghlan, gvanrossum, tim.peters, barry, brett.cannon, larry, skrah, meador.inge, zach.ware, yselivanov |
| 2014-01-24 11:16:38 | ncoghlan | set | messageid: <1390562198.03.0.437108903454.issue20189@psf.upfronthosting.co.za> |
| 2014-01-24 11:16:38 | ncoghlan | link | issue20189 messages |
| 2014-01-24 11:16:37 | ncoghlan | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
