[New-bugs-announce] [issue15154] remove "rmdir" argument from os.unlink, add "dir_fd" to os.rmdir

Georg Brandl report at bugs.python.org
Sat Jun 23 19:15:11 CEST 2012


New submission from Georg Brandl <georg at 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 <report at bugs.python.org>
<http://bugs.python.org/issue15154>
_______________________________________


More information about the New-bugs-announce mailing list