
I see some api published for marshal module: http://www.python.org/dev/doc/maint24/api/marshalling-utils.html but per latest discussion on comp.lang.python people were suggesting to use pickle.
If i pass the marshalled string to a machine running python on a machine with a different byte order, would it unmarshall correctly?

On Nov 9, 2007 2:04 PM, Anton Tropashko <sndive@gmail.com> wrote:
If i pass the marshalled string to a machine running python on a machine with a different byte order, would it unmarshall correctly?
This isn't the right place for this question; it makes more sense on comp.lang.python.
Both the marshal and pickle formats are byte-order independent.
-Fred
-- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller

On Nov 9, 2007 2:04 PM, Anton Tropashko <sndive@gmail.com> wrote:
If i pass the marshalled string to a machine running python on a machine with a different byte order, would it unmarshall correctly?
This isn't the right place for this question; it makes more sense on comp.lang.python.
Both the marshal and pickle formats are byte-order independent.
-Fred
-- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller
participants (2)
-
Anton Tropashko
-
Fred Drake