
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2015-03-23 01:35 bymanuel_v, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue23742.patch | serhiy.storchaka,2015-03-23 07:28 | review | ||
| 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)*![]() | Date: 2015-03-23 02:07 | |
It apparently only loses unbalanced single quotes. | |||
| msg238984 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2015-03-23 07:28 | |
Here is a patch. | |||
| msg239258 -(view) | Author: Roundup Robot (python-dev)![]() | 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 | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:14 | admin | set | github: 67930 |
| 2015-03-25 14:44:26 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2015-03-25 14:42:00 | python-dev | set | nosy: +python-dev messages: +msg239258 |
| 2015-03-23 07:28:58 | serhiy.storchaka | set | files: +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:22 | r.david.murray | set | versions: + 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:37 | manuel_v | create | |