-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 9, 2006, at 11:28 AM, Fredrik Lundh wrote:
>> 1. Does this seem like a reasonable addition to the standard library? > > I cannot remember ever doing this, or seeing anyone except Perforce > doing this, and it'll only save you a few lines of code every other > year > or so, so my answer is definitely no. FWIW, Mailman uses pickle files with multiple pickled objects in them, to implement its queue files. We first dump the Message object, followed by a dictionary of metadata. OTOH, I know there's only two objects in the pickle, so I don't have to iterate over it; I just load the message and then load the dictionary. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQCVAwUBRSpyaHEjvBPtnXfVAQLqcgP/VqKqwZfReaQyRGP2DG61978CmbqLOvSY nsXP/AE88VvO+IHYajfNuJt/okmTIfHTl9Jcx77YzxZ9ErtpKWbmrX6zo7OkaZPv 5aYQ7zsYwJocL5u6nFqXAs+9zvUOXLvwhKFDc5K/rp4cb02QAYOgn5gpRirJNSAm ESMiMNRmdQ8= =3Ih4 -----END PGP SIGNATURE----- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com