Message131397
| Author |
ysj.ray |
| Recipients |
terry.reedy, ysj.ray |
| Date |
2011年03月19日.06:22:29 |
| SpamBayes Score |
5.2898713e-10 |
| Marked as misclassified |
No |
| Message-id |
<1300515749.99.0.6579895832.issue11604@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I am only suggesting a check for module because the is the only mistake > I remember anyone reporting. Passing a number as a base class gives a > > similar message, but no one does that. And as far as I know, there is > no way in general to detect whether a callable works as a metaclass > except by calling it with name, bases, and dict.
Since 3.x all the module names became lower-case and can be easily differ from class names, so I don't think this problem will present much in 3.x, right? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月19日 06:22:30 | ysj.ray | set | recipients:
+ ysj.ray, terry.reedy |
| 2011年03月19日 06:22:29 | ysj.ray | set | messageid: <1300515749.99.0.6579895832.issue11604@psf.upfronthosting.co.za> |
| 2011年03月19日 06:22:29 | ysj.ray | link | issue11604 messages |
| 2011年03月19日 06:22:29 | ysj.ray | create |
|