classification
Title: PEP 383: os.pathconf() does not accept surrogateescape arguments
Type: behavior Stage:
Components: Extension Modules Versions: Python 3.2, Python 3.1
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: baikie
Priority: normal Keywords: patch

Created on 2010-08-19 18:41 by baikie, last changed 2010-08-19 18:42 by baikie.

Files
File name Uploaded Description Edit
pathconf-pep383-3.2.diff baikie, 2010-08-19 18:41 Use PyUnicode_FSConverter() in pathconf() (for 3.2)
pathconf-cleanup.diff baikie, 2010-08-19 18:42 Clean up indentation after applying previous patch
Messages (1)
msg114393 - (view) Author: David Watson (baikie) Date: 2010-08-19 18:41
The pathconf() function still converts its argument with the "s"
format; the attached pathconf-pep383-3.2.diff fixes it to use
PyUnicode_FSConverter() (in 3.2).  Also attaching
pathconf-cleanup.diff to clean up the indentation, which
otherwise makes the code rather confusing to look at.
History
Date User Action Args
2010-08-19 18:42:11baikiesetfiles: + pathconf-cleanup.diff
2010-08-19 18:41:32baikiecreate