Nick Coghlan <ncogh...@gmail.com> added the comment:

+1 for changing the API for any cases where the filesystem path is also used to 
determine the return type - given that we stuffed this up for the rmtree 
implementation, I expect end users would be prone to making exactly the same 
mistake.

Retaining the ability to control the return type explicitly even when pass a 
descriptor would be a *lot* cleaner than other possibilities (which would all 
involve a bunch of manual encoding and decoding with os.fsencode() and 
os.fsdecode()).

----------
priority: normal -> release blocker

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

Reply via email to