Grant Edwards wrote:
> On 2005-09-10, chriss <[EMAIL PROTECTED]> wrote:
>
>>> Take a look at os.popen, os.spawn, or the popen2, and
>>> subprocess modules.
>>>
>>> That last one seems to be gaining popularity.
>>
>> The suggested
Peter Hansen wrote:
> chriss wrote:
>> Hi,
>>
>> environment: Python 2.4, GNU/Linux, kernel 2.6.12.2
>>
>> having subclassed 'Exception' I'm trying to call the initialiser
>> __init__(...) of the superclass Exception with 'super(.
ling
>> need to see).
>
> Take a look at os.popen, os.spawn, or the popen2, and
> subprocess modules.
>
> That last one seems to be gaining popularity.
>
The suggested modules and functions have been deprecated according to the
python 2.4 docs. The doc suggests to use the functions in the 'subprocess'
module.
chriss
--
http://mail.python.org/mailman/listinfo/python-list
t 1 must be type, not classobj'.
Now, if I use 'Exception.__init__(..)' instad of super(..)... ,everything
works just as one would expect.
Why does 'super(..).__init__(..)' fail?
thank you for any suggestions
chriss
Here is some example code to illustrate the point:
cl