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 Nathan.Goldbaum
Recipients Nathan.Goldbaum
Date 2020-02-19.01:04:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As of, it looks like at least the C implementation of pickle.load expects the file argument to implement readinto:

This is a change in behavior relative to previous versions of Python and I don't see it mentioned in PEP 574 or in the pull request so I'm not sure why it was changed.

This change breaks some PyTorch tests (see and, at least one PyTorch user, although I don't have full details there.

I can try to fix this on the PyTorch side but I first want to check that this was an intentional change on the Python side of things.
Date User Action Args
2020-02-19 01:04:49Nathan.Goldbaumsetrecipients: + Nathan.Goldbaum
2020-02-19 01:04:49Nathan.Goldbaumsetmessageid: <>
2020-02-19 01:04:48Nathan.Goldbaumlinkissue39681 messages
2020-02-19 01:04:48Nathan.Goldbaumcreate