Mark Lawrence wrote:

> raise "Not Valid DB Type"
> 
> is perfectly valid in Python 2.

Actually, no it isn't. It's only valid up to Python 2.4. In Python 2.5,
string exceptions display a warning but continue to work, and in Python 2.6
they generate a compile-time SyntaxError.


You know how the world ended when Python 2.6 broke backwards compatibility
and split the Python community into two? No, me neither.

-- 
Steven

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to