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 | rhettinger |
|---|---|
| Recipients | belopolsky, benjamin.peterson, georg.brandl, loewis, rhettinger, vdupras |
| Date | 2008年02月24日.00:51:25 |
| SpamBayes Score | 0.16962378 |
| Marked as misclassified | No |
| Message-id | <1203814286.31.0.579047871922.issue2144@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The builtins make direct calls to their own internal methods. This has existed for a long time. It would be hard to change without crushing performance. Changing it violates Meyer's open-closed principle. And changing it also introduces weird, unexpected behaviors (i.e. a seemingly innocent method override can break pickling for an object -- we had a bug report on this once for dicts and sets). Also, making these kind of changes makes it *much* harder for a builtin to guarantee that it invariants are maintained and opening the door for segfaults. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年02月24日 00:51:26 | rhettinger | set | spambayes_score: 0.169624 -> 0.16962378 recipients: + rhettinger, loewis, georg.brandl, belopolsky, benjamin.peterson, vdupras |
| 2008年02月24日 00:51:26 | rhettinger | set | spambayes_score: 0.169624 -> 0.169624 messageid: <1203814286.31.0.579047871922.issue2144@psf.upfronthosting.co.za> |
| 2008年02月24日 00:51:25 | rhettinger | link | issue2144 messages |
| 2008年02月24日 00:51:25 | rhettinger | create | |