Message201250
| Author |
pitrou |
| Recipients |
Arfrever, Trundle, benjamin.peterson, daniel.urban, docs@python, eric.araujo, eric.snow, meador.inge, ncoghlan, pitrou, rhettinger, scoder, skrah |
| Date |
2013年10月25日.16:25:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1382718289.2523.2.camel@fsol> |
| In-reply-to |
<CADiSq7e6BOV=jpteLD-bsDt+8TD340Lgda-CTjX_y7kyJt9ggA@mail.gmail.com> |
| Content |
> > To be clear: the problem is with CPython calling the concrete APIs when
> > it shouldn't, rather than with the concrete APIs not behaving properly.
>
> The boilerplate required to use them correctly renders them broken in my
> view, particularly when they silently corrupt internal subclass state when
> misused instead of throwing an exception.
IMO the boilerplate should actually be included inside the abstract
APIs, so as to automatically enable optimized shortcuts when possible. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年10月25日 16:25:21 | pitrou | set | recipients:
+ pitrou, rhettinger, ncoghlan, scoder, benjamin.peterson, eric.araujo, Arfrever, Trundle, skrah, meador.inge, daniel.urban, docs@python, eric.snow |
| 2013年10月25日 16:25:21 | pitrou | link | issue10977 messages |
| 2013年10月25日 16:25:21 | pitrou | create |
|