R. David Murray added the comment:

So, given that that does something useful, it appears that the error message 
(which is what is in 2.7 as well) is wrong to refer to 'directory argument', 
and we should just eliminate the isdir check (and fix the error message).

The patch will need a test.

----------
stage:  -> needs patch
versions: +Python 3.5, Python 3.6

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

Reply via email to