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 lm1
Recipients Gregory.Salvan, lm1, tim.golden
Date 2013-11-17.13:20:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAAg48upsV_PLC-_MGSmFKKfqA=nEbdTijuFK=vD6xphXyvY1eQ@mail.gmail.com>
In-reply-to <1384685916.9.0.912432901925.issue19630@psf.upfronthosting.co.za>
Content
Thank you for detailed explanation. Too bad tempfile is inherently
non-portable, but I'm fine with marshal.dumps as a w/a in this case.

I marshal to a temporary file to serialize input for Perforce command line
client which is capable of accepting marshaled Python objects as input for
some commands. Unfortunately writing directly to its stdin deadlocks (at
least on Windows, where streams seems not be fully buffered). My guess is
that Perforce client performs seek to end of file before reading it.
History
Date User Action Args
2013-11-17 13:20:24lm1setrecipients: + lm1, tim.golden, Gregory.Salvan
2013-11-17 13:20:24lm1linkissue19630 messages
2013-11-17 13:20:23lm1create