classification
Title: PEP 383: os.mknod() and os.mkfifo() do not accept surrogateescape arguments
Type: behavior Stage:
Components: Extension Modules Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: baikie, benjamin.peterson, vstinner
Priority: normal Keywords: patch

Created on 2010-08-11 18:16 by baikie, last changed 2010-08-11 19:23 by benjamin.peterson. This issue is now closed.

Files
File name Uploaded Description Edit
mknod-mkfifo-pep383-3.2.diff baikie, 2010-08-11 18:16 Use PyUnicode_FSConverter() in posix.mknod() and posix.mkfifo()
Messages (2)
msg113611 - (view) Author: David Watson (baikie) Date: 2010-08-11 18:16
These functions still use the "s" format for their arguments; the attached patch fixes them to use PyUnicode_FSConverter() in 3.2.  Some simple tests for these functions (not for PEP 383 behaviour) are at issue #9569.
msg113618 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-08-11 19:23
Applied in r83951. Thanks for the patch!
History
Date User Action Args
2010-08-11 19:23:18benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg113618

resolution: accepted
2010-08-11 19:00:09r.david.murraysetnosy: + vstinner
2010-08-11 18:16:27baikiecreate