ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-win32
python-win32
Re: [python-win32] multiprocessing pickle problem in win32
by Harald Armin Massa other posts by this author
Nov 5 2009 12:31AM messages near this date
Re: [python-win32] multiprocessing pickle problem in win32 | Re: [python-win32] multiprocessing pickle problem in win32
Rob,

>  from __future__ import print_function
>  import MySQLdb
>  import multiprocessing

please try it again without importing MySQLdb.

My rough guess from using pickle, databases and connections: there is
something within MySQLdb that will not pickle.

multiprocessing works partially on windows. especially "pickling a
socket" is not supported; you have to scale back to pyprocessing
(hosted on berlios, converted to multiprocessing for 2.6 and
backported)
the c-library to "pickle a socket" was not realised in
multiprocessing, bug is reported.

Harald



-- 
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
%s is too gigantic of an industry to bend to the whims of reality
_______________________________________________
python-win32 mailing list
python-win32@[...].org
http://mail.python.org/mailman/listinfo/python-win32
Thread:
Rob Brown-Bayliss
Aahz
Rob Brown-Bayliss
Mark Hammond
Rob Brown-Bayliss
Mark Hammond
Paul Bilokon
Mark Hammond
Paul Bilokon
Rob Brown-Bayliss
Harald Armin Massa
Rob Brown-Bayliss

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved