[docs] [issue23756] Tighten definition of bytes-like objects
R. David Murray
report at bugs.python.org
Tue Mar 24 16:00:54 CET 2015
R. David Murray added the comment:
This not dissimilar to the problem we have with "file like object" or "file object". The requirements on them are not consistent. I'm not sure what the solution is in either case, but for file like objects we have decided to ignore the issue, I think. (ie: what exactly a file like object needs to support in order to work with a give API depends on that API, and we just live with that).
Python tracker <report at bugs.python.org>
More information about the docs