A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017874.html below:

[Python-Dev] pickling subclasses of types (Re: [Python-checkins] CVS: python/dist/src/Lib xmlrpclib.py,1.11,1.12)

[Python-Dev] pickling subclasses of types (Re: [Python-checkins] CVS: python/dist/src/Lib xmlrpclib.py,1.11,1.12)M.-A. Lemburg mal@lemburg.com
Thu, 11 Oct 2001 10:02:20 +0200
Jeremy Hylton wrote:
> 
> Incidentally, it looks like the XML-RPC code won't work with
> subclasses of built-in types.  It's does dispatch on the type() of the
> object, but a subclass of string won't have type StringType.  It seems to
> me, though, that it should be marshallable using XML-RPC.

You have a good point there: AFAIK, pickle and marshal both
do the same thing. Perhaps at least pickle should be adapted 
to treat all objects like instances or at least treat subclasses 
as instances so they make it across to the unpickling end (Guido,
perhaps you already have code in place which does this ?!).

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4