News for hackers. Stuff that matters.
Re:An underrated feature in Python 3 by mlader on Tuesday August 05, 2014 @09:48AM (#8136847)
I typically will throw in a debugger instead of a print statement if I'm debugging locally.

import ipdb; ipdb.set_trace()

Then I'll explore the context variables and figure out what the hell is going on.

Re:An underrated feature in Python 3 by est on Tuesday August 05, 2014 @10:24AM (#8137028)
I think 99.9999% experienced python devs do this.

Why can't PSF make it default?

At least some kind of commandline switch to break to last traceback context by default. e.g.

python --debug my_code.py

Re:An underrated feature in Python 3 by the_real_bto on Tuesday August 05, 2014 @10:45AM (#8137125)
they did: python -m pdb my_code.py
Re:An underrated feature in Python 3 by parfe on Tuesday August 05, 2014 @01:00PM (#8137961)
ipdb just made my day.

Thanks.