Ed Leafe schrieb:
>> What is still allowed are exceptions that are not instances of
>> BaseException, these are also gone in 3.0, but string exceptions have
>> been deprecated already since Py 2.5 or earlier.
> 
>       Ah, got it. I guess I had my timelines confused.

Just noticed that I wrote nonsense yesterday (I was very tired). The
above statement is true, but dabo actually never used string exceptions,
it just used raise statements with additional parameters which is not
really deprecated, just not allowed in 3.0 any more. I now have
rewritten all these statements to use the newer form (in some places it
had been used already). Though this is strictly speaking not necessary,
it is better to use a consistent style and will make porting to 3.0 (or
maybe 2.7) easier if you ever want to go for it.

-- Christoph




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to