Serhiy Storchaka added the comment:

I don't know what is the benefit of removing support of bytes paths in 
os.scandir(), but supporting bytes paths allows to remove ugly workarounds from 
os and glob modules.

 Lib/glob.py |   16 --------!!!!!!
 Lib/os.py   |   67 ---------------------------------------------------------!!!
 2 files changed, 73 deletions(-), 10 modifications(!)

----------
keywords: +patch
Added file: http://bugs.python.org/file44810/cleanup_scandir_bytes.patch

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

Reply via email to