Infinite loops and synchronization

2009-07-12 Thread Vincent Gulinao
lst = list() (lst populated by async twisted deferred callbacks) while True: if len(lst) == SOME_NUMBER: return lst Q1: is this a common OK practice? I'm worried infinite loops hogs memory. Q2: operating on list from threads (mostly appends) must be safe, right

WebDAV client module

2009-01-13 Thread Vincent Gulinao
Kindly point me to a good WebDAV client module for Python. Looks like PyDav is popular, but it seems some of the modules used within were already deprecated. TIA. -- http://mail.python.org/mailman/listinfo/python-list

Re: WebDAV client module

2009-01-13 Thread Vincent Gulinao
Um.. and I can't seem to find any sample code of it around. Can anybody share a simple snippet of how to use it? I don't understand what's URI in PutFile method is suppose to be. TIA. On Tue, Jan 13, 2009 at 8:03 PM, Vincent Gulinao vincent.guli...@gmail.comwrote: Kindly point me to a good

Re: Upgrading 2.4.1 to 2.4.2

2005-10-25 Thread Vincent Gulinao
Hi, I'm new to python and just upgraded python on my system from 2.3 to 2.4. My platform is Linux-2.6.9-1.667smp-i686-with-redhat-3-Heidelberg. Is there any way to inherit (share?) all extensions and additional modules the my 2.3 have? (of course, beside re-installing everything) On 19 Oct 2005