Page 4 of 4

Re: Unclosed connections

Posted: Sat Oct 23, 2010 5:02 pm
by Naonah
janiii 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.
Thank you very much for pro answer ;)

Jurchiks and Stake thx also.

I think now all is clear :) All was about a Python version :)