Message157038
| Author |
michael.foord |
| Recipients |
anacrolix, eric.araujo, michael.foord, r.david.murray |
| Date |
2012年03月29日.12:20:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1333023629.03.0.569193778351.issue14408@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Because you then have classes that inherit from object calling methods that clearly don't exist (until you subclass them *and* TestCase). It looks weird and also means the classes can't be tested in isolation.
With a class decorator the code would *look* straightforward, and the hidden attribute is just an implementation detail. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月29日 12:20:29 | michael.foord | set | recipients:
+ michael.foord, eric.araujo, r.david.murray, anacrolix |
| 2012年03月29日 12:20:29 | michael.foord | set | messageid: <1333023629.03.0.569193778351.issue14408@psf.upfronthosting.co.za> |
| 2012年03月29日 12:20:28 | michael.foord | link | issue14408 messages |
| 2012年03月29日 12:20:28 | michael.foord | create |
|