Try the timelimited function from this recipe
http://code.activestate.com/recipes/576780/
Works perfect! Thanks a lot, Jean!
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
The ftplib has a timeout parameter in Python 2.6 and above.
Is there a way to set a timeout in Python 2.4?
Regards
Nico
--
http://mail.python.org/mailman/listinfo/python-list
Nico Grubert wrote:
Hi there,
The ftplib has a timeout parameter in Python 2.6 and above.
Is there a way to set a timeout in Python 2.4?
Regards
Nico
I don't know of one so you may need a workaround. What platforms do you
need to support?
Roger.
--
I don't know of one so you may need a workaround. What platforms do you
need to support?
Suse Linux Enterprise 10, 64 Bit with Python 2.4.4.
I need the Python 2.4.4 for a running application Server (Zope).
--
http://mail.python.org/mailman/listinfo/python-list
Nico Grubert wrote:
I don't know of one so you may need a workaround. What platforms do you
need to support?
Suse Linux Enterprise 10, 64 Bit with Python 2.4.4.
I need the Python 2.4.4 for a running application Server (Zope).
OK, then one approach would be to use signals.alarm(timeout) to