Giampaolo Rodola' added the comment:

I can agree with you that it's probably better to avoid changing existent 
python versions to avoid breakage but I see no need to be that strict for newer 
ones.

Current version should check errno but it doesn't. IMO that is clearly a bug.
Same goes for returning an empty list when users actually exists and for *not* 
raising FileNotFoundError if the shadow file is not available.

Also note that the doc does not mention that an empty list should be treated as 
an alias for "insufficient permissions" or "shadow file not available", 
therefore whoever made that assumption is someone who deliberately and 
erroneously decided to do so.

----------

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

Reply via email to