Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: > Benjamin Peterson <benja...@python.org> added the comment: > > Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: > > > > Sorry I'm being dense, but which file object do you mean? > > The python file object.
Do you mean special-case handling of the circumstance when the file-like object being marshalled from is actually a file? The existing code paths (from when marshal.load expected only to work with Python file objects) use FILE *, and these are used by other code to read magic numbers etc. I believe. Or perhaps I'm still misunderstanding what you're getting at. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12291> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com