Serhiy Storchaka <storch...@gmail.com> added the comment:

Why use a special value AT_FDCWD instead of None? It is not Pythonish. Clearly, 
when it is used in C, but in dynamically typed Python we are not limited to 
only one C-type. 

Such a large number of new functions littering the namespace. Why not just add 
additional arguments to existing functions? Instead 'fstatat(dirfd, path, 
flags=0)' let it be 'stat(path, *, dirfd=None, flags=0)' or even better 
'stat(path, *, dirfd=None, followlinks=True)' (as in os.fwalk).

----------
nosy: +storchaka

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

Reply via email to