Issue 9645: PEP 383: os.pathconf() does not accept surrogateescape arguments (original) (raw)

Created on 2010-08-19 18:41 by baikie, last changed 2022-04-11 14:57 by admin. This issue is now closed.

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 (4)
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.
msg178695 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-12-31 15:52
This was fixed in 3.3 (the complex solution is not backportable), therefore this is 3.2 only issue.
msg178698 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-12-31 16:12
Please provide a full patch, doesn't split it on parts which should be applied one over other. Test needed.
msg205709 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-12-09 16:25
As 3.2 now in security fixes only mode, this issue has no targets.
History
Date User Action Args
2022-04-11 14:57:05 admin set github: 53854
2013-12-09 16:25:22 serhiy.storchaka set status: open -> closedresolution: out of datemessages: + stage: test needed -> resolved
2012-12-31 16:12:57 serhiy.storchaka set messages: + stage: patch review -> test needed
2012-12-31 15:52:46 serhiy.storchaka set versions: - Python 3.1nosy: + vstinner, serhiy.storchakamessages: + stage: patch review
2010-08-19 18:42:11 baikie set files: + pathconf-cleanup.diff
2010-08-19 18:41:32 baikie create