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 kristjan.jonsson
Recipients kristjan.jonsson
Date 2012-11-15.08:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352969678.69.0.685980330217.issue16475@psf.upfronthosting.co.za>
In-reply-to
Content
The format used by the marshal module does not support instancing.  This precludes certain data optimizations, such as sharing string constants, common tuples, even common code objects.  Since the marshal format is used to write compiled code, this makes it impossible to do data optimization on code prior to writing it out.

This patch adds proper instancing support for all the supported types and increases the default version to three.

(A separate defect/regression is that interned strings are no longer preserved as was implemented in version 1 of the original 2.x branch.  This also negates any interning done at compile time.  That is a separate defect.)
History
Date User Action Args
2012-11-15 08:54:39kristjan.jonssonsetrecipients: + kristjan.jonsson
2012-11-15 08:54:38kristjan.jonssonsetmessageid: <1352969678.69.0.685980330217.issue16475@psf.upfronthosting.co.za>
2012-11-15 08:54:38kristjan.jonssonlinkissue16475 messages
2012-11-15 08:54:37kristjan.jonssoncreate