This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients
Date 2006-07-28.06:26:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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. 
History
Date User Action Args
2007-08-23 14:39:23adminlinkissue1469557 messages
2007-08-23 14:39:23admincreate