New submission from Georg Brandl <ge...@python.org>:

As Antoine noted in #14626, the "rmdir" argument to os.unlink doesn't really 
make sense since we already deviate from just mapping posix functionality 
one-on-one.

Attached is a patch removing "rmdir" from os.unlink, and instead adding 
"dir_fd" to os.rmdir.

----------
assignee: larry
files: move-dirfd-to-rmdir.patch
keywords: patch
messages: 163647
nosy: georg.brandl, larry, pitrou
priority: critical
severity: normal
stage: patch review
status: open
title: remove "rmdir" argument from os.unlink, add "dir_fd" to os.rmdir
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file26111/move-dirfd-to-rmdir.patch

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

Reply via email to