[Python-Dev] Uninformative error message about subclassing

Andreas Jung lists at andreas-jung.com
Mon May 31 10:24:47 EDT 2004



--On Montag, 31. Mai 2004 16:22 Uhr +0200 Andreas Jung 
<lists at andreas-jung.com> wrote:

>
>
> --On Montag, 31. Mai 2004 10:13 Uhr -0400 "Edward C. Jones"
> <edcjones at erols.com> wrote:
>
>> Here are two small python files:
>>
>> ----
>> a.py:
>>
>> class A(object):
>>     pass
>>
>> ----
>> b.py:
>>
>> import a
>>
>> class B(a):
>>     pass
>
> You are trying to use *module a* as base class? Weird idea.
>

Forget my reply. I have misread your posting.

-- 

Andreas Jung
--------------------------------
www.zopyx.com Software-Entwicklung und Consulting Andreas Jung



More information about the Python-Dev mailing list