Message362547
In issue39681 we reestablished the fallback to read() when a file-like object doesn't provide readinto() in _pickle.c. However, doing so leads to lower performance and all file-like object should nowadays provide readinto() (simply by deriving from the right base class - e.g. io.BufferedIOBase).
I propose to issue a DeprecationWarning when the fallback behaviour is selected, so that one day we can finally remove it. |
|
Date |
User |
Action |
Args |
2020-02-23 22:47:08 | pitrou | set | recipients:
+ pitrou, ogrisel, pierreglaser |
2020-02-23 22:47:08 | pitrou | set | messageid: <1582498028.39.0.0123392152586.issue39734@roundup.psfhosted.org> |
2020-02-23 22:47:08 | pitrou | link | issue39734 messages |
2020-02-23 22:47:08 | pitrou | create | |
|