pickling

Thomas M. Marek at biosolveit.de
Thu Oct 17 05:43:17 EDT 2002


i am programming a database-server for a calender and have a probling with 
the pickling modul.

i have the class "server", which i bequest to the class "DBserver",
that class start for every connection a new thread with the object 
"ConnectionHandler".

And now, the "ConnectionHandler" should pickle a "Event" object to a string 
and send it to the Client.
But when i unpickle the object "Event", it have their own attributes but the 
methods of lthe class "server"!!!

why ?!

Thanks, thomas



More information about the Python-list mailing list