[issue40074] pickle module dump and load: add support for string file names

Eric V. Smith report at bugs.python.org
Thu Mar 26 08:42:15 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

I think it's a bad design to overload a function based on the type of am argument. I realize the stdlib does this in a number of places, for older functions. I don't think we'd add such a function today.

I might not object to a new pickle API to do this, but I think the best approach is to have your own wrapper function.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40074>
_______________________________________


More information about the Python-bugs-list mailing list