Does python have some undefined variable / debug mode which will output a notice/warning?
PHP allows you to modify the error_reporting to turn on notice warnings which mean doing
<?php
echo $foo;
will throw an "Undefined variable foo on line 2.......
does python have something similar?
I had a bug where I was doing
db.connect
instead of
db.connect()
and I was hoping python would throw a undefined variable connect...
can you bump up the error reporting level or similar in python?