Eric V. Smith <e...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to