Re: Unclosed connections
Posted: Sat Oct 23, 2010 5:02 pm
Thank you very much for pro answerjaniii wrote:http://docs.python.org/reference/compou ... s.html#try
Changed in version 2.5: In previous versions of Python, try...except...finally did not work. try...except had to be nested in try...finally.
you dont need to write the except clause if you do only pass there. so you just have try and finally clause at the end, which works also for your python version.

Jurchiks and Stake thx also.
I think now all is clear

