Does PySqlPool work with Python 2.4.4?

Asked by Mash

Hi, I'm a python newbie and am working on a webapp that requires Python 2.4.4. One of its' dependencies is PySqlPool.

I keep getting a Syntax error on the finally: clause -

File "D:\Python24\lib\site-packages\PySQLPool\", line 119



SyntaxError: invalid syntax

Is this a Python compatibility issue? Ref:

Question information

English Edit question
PySQLPool Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nikoleta Verbeck (nerdynick) said :

Unfortunately at this time its not 2.4 compatible as Finally was introduced in 2.5. I might be able to create a compatibility layer to allow for 2.4 users to use PySQLPool, or if you wish to whip this up I would be happy to port it into the main code base.

Revision history for this message
Nikoleta Verbeck (nerdynick) said :

I think I've resolved this error to allow for support of 2.4. I don't have a 2.4 instance at my disposal at this time. So if you wish to give this a test run check out the current head from

If you need I can export you a copy in a tar.gz or zip.

Can you help with this problem?

Provide an answer of your own, or ask Mash for more information if necessary.

To post a message you must log in.