Add a comment explaining that struct.pack() beats marshal.dumps(), but
marshal.loads() beats struct.unpack()! Possibly because the latter creates a one-tuple. :-(
Showing
Please
register
or
sign in
to comment
marshal.loads() beats struct.unpack()! Possibly because the latter creates a one-tuple. :-(