Ray.Allen <ysj....@gmail.com> added the comment: > 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? ---------- nosy: +ysj.ray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11604> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com