Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Path-like objects are now unintentionally accepted for many non-path things, 
like hostname in socket.sethostname() and username in os.initgroups(). I also 
think it was a mistake, and we should not make new mistakes.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39461>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to