Why does my context manager not exit on exception
Why does my context manager not exit on exception Question: I am learning about context managers and was trying to build one myself. The following is a dummy context manager that opens a file in read mode (I know I can just do with open(…): …. this is just an example I built to help …