Showing posts with the label exception

[FIXED] breakpoint in except clause doesn't have access to the bound exception

Issue Consider the following example: try: raise ValueError('test') except ValueError …

[FIXED] How to debug Python script with IPython --pdb?

Issue I would like to debug an extension written for Sphinx in interactive mode using pdb which wo…

[FIXED] Get last exception in pdb

Issue Is there a way to examine the last exception when in pdb/before entering pdb? (Using python 2…

[FIXED] Python type hinting with exceptions

Issue I have a function that looks like this: def check_for_errors(result): if 'success&#…

[FIXED] Flask Error handling not working properly

Issue I have a custom exception shown below where functions are raising these exceptions. class Un…

[FIXED] how handle a variable if it's returning none

Issue Hi I have the following function to get sql from my template. variable row is fetching the qu…

[FIXED] pdb postmortem debug: jump to raise of exception after exiting in exception handler

Issue I'm just curious if there exists a command for the ipdb-debugger to jump back to the sou…

[FIXED] Get reference to the current exception

Issue $ ./runtests.py -v tests/managers/test_customer.py:CustomerManagerTest.test_register_without_…