Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue23742

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:expandvars removes single quotes ( ' )
Type:behaviorStage:resolved
Components:Library (Lib), WindowsVersions:Python 3.4, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: manuel_v, python-dev, r.david.murray, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Priority:normalKeywords:patch

Created on2015-03-23 01:35 bymanuel_v, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
issue23742.patchserhiy.storchaka,2015-03-23 07:28review
Messages (4)
msg238968 -(view)Author: Manuel Vögele (manuel_v)Date: 2015-03-23 01:35
When executingos.path.expandvars("%SystemDrive%\\Foo'Bar")the function erases the ' returning'C:\\FooBar'using Python 3.4.3 on Windows 7
msg238971 -(view)Author: R. David Murray (r.david.murray)*(Python committer)Date: 2015-03-23 02:07
It apparently only loses unbalanced single quotes.
msg238984 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2015-03-23 07:28
Here is a patch.
msg239258 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2015-03-25 14:42
New changeset9f4d2bdced9c by Serhiy Storchaka in branch '2.7':Issue#23742: ntpath.expandvars() no longer loses unbalanced single quotes.https://hg.python.org/cpython/rev/9f4d2bdced9cNew changeset613c4bd1c29c by Serhiy Storchaka in branch '3.4':Issue#23742: ntpath.expandvars() no longer loses unbalanced single quotes.https://hg.python.org/cpython/rev/613c4bd1c29cNew changeset16e6515c9476 by Serhiy Storchaka in branch 'default':Issue#23742: ntpath.expandvars() no longer loses unbalanced single quotes.https://hg.python.org/cpython/rev/16e6515c9476
History
DateUserActionArgs
2022-04-11 14:58:14adminsetgithub: 67930
2015-03-25 14:44:26serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2015-03-25 14:42:00python-devsetnosy: +python-dev
messages: +msg239258
2015-03-23 07:28:58serhiy.storchakasetfiles: +issue23742.patch

assignee:serhiy.storchaka
components: + Library (Lib)
versions: + Python 2.7
keywords: +patch
messages: +msg238984
stage: needs patch -> patch review
2015-03-23 02:07:22r.david.murraysetversions: + Python 3.5
nosy: +r.david.murray,tim.golden,zach.ware,steve.dower

messages: +msg238971

components: + Windows, - Library (Lib)
stage: needs patch
2015-03-23 01:35:37manuel_vcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp