Message28215
Logged In: YES
user_id=580910
I don't understand why you cannot use two connection resources. Are you
running in a severely resource constrained environment?
Anyway, what you're doing right now is undefined behaviour. Unless explicitly
stated otherwise classes in the stdlib aren't fully reentrant. You will therefore
have to arrange some kind of exclusion mechanism. One way of doing that is
to introduce a lock (probably wrapping the FTP client instead of using
multiple inheritance in the progress). Another way it to introduce a 3th thread
that performs the actual FTP operations and communicate with that using a
queue. Please ask around on python-list/comp.lang.python if you need help
with this.
BTW. I didn't close this bug, although I do understand why it was closed: the
behaviour you describe isn't a bug but expected behaviour. |
|
Date |
User |
Action |
Args |
2007-08-23 14:39:23 | admin | link | issue1469557 messages |
2007-08-23 14:39:23 | admin | create | |
|