This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 2022-04-11 14:57 by admin. 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
2022-04-11 14:57:05adminsetgithub: 53779
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