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.
Created on 2009年04月07日 15:03 by techtonik, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue5717.py25.patch | techtonik, 2009年04月08日 10:18 | |||
| issue5717.py26.patch | techtonik, 2009年04月08日 10:49 | |||
| Messages (10) | |||
|---|---|---|---|
| msg85708 - (view) | Author: anatoly techtonik (techtonik) | Date: 2009年04月07日 15:03 | |
>>> import os >>> os.defpath '.;C:\\bin' >>> os.path.defpath '.;C:\\bin' >>> These are invalid paths on windows. |
|||
| msg85728 - (view) | Author: Guido van Rossum (gvanrossum) * (Python committer) | Date: 2009年04月07日 16:22 | |
Can you suggest a fix? |
|||
| msg85766 - (view) | Author: anatoly techtonik (techtonik) | Date: 2009年04月08日 10:49 | |
On the second try it was much easier. For py3k I saw a post about removing defpath and some of its friends, with which I partially agree. http://groups.google.com/group/comp.lang.python/browse_thread/thread/e8072370bfbef398/a0215b5820f76c0e |
|||
| msg112663 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2010年08月03日 20:10 | |
3.1.2 still has defpath and gives same erroneous result Patch is a trivial revision of one line in os.py. |
|||
| msg121396 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2010年11月18日 00:42 | |
Adding our esteemed Windows experts for review. |
|||
| msg185556 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2013年03月30日 13:17 | |
The code is still the same in 3.3.1rc1. Is this an opportunity to get this committed as it's a one line patch? |
|||
| msg185572 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2013年03月30日 16:17 | |
Release candidates are separate from the main branch and only get critical patches selected by release manager. Changes usually reuire a new .rc. This seems to have fallen thru the crack between Brian and Tim. I suspect that the next line about (win) 'ce' is obsolete if still present. |
|||
| msg201230 - (view) | Author: Tim Golden (tim.golden) * (Python committer) | Date: 2013年10月25日 11:03 | |
This is, in principle, a backwards-incompatible change as any code will stop working which relies on exec* running useful tools in c:\bin. (I have a c:\tools which is basically the same thing). Frankly, I'm -0 on changing it; it does no real harm that I can see. If we do decide to ditch it, I'd only do it for the current release and not backport. |
|||
| msg218006 - (view) | Author: Tim Golden (tim.golden) * (Python committer) | Date: 2014年05月06日 19:15 | |
Closing, as no-one's come back after my -0 for 6 months. |
|||
| msg230712 - (view) | Author: Matt Frank (WanderingLogic) * | Date: 2014年11月05日 20:06 | |
os.defpath also seems wrong on Mac (':') and Linux (':/bin:/bin/sh'. The extra ':' at the beginning means the same thing as '.:/bin:/bin/sh' which is probably a security problem.
I just started up discussion on http://bugs.python.org/issue16353 (which may require a correct os.defpath).
|
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:47 | admin | set | github: 49967 |
| 2014年11月05日 20:06:17 | WanderingLogic | set | messages: + msg230712 |
| 2014年11月05日 18:45:09 | gvanrossum | set | nosy:
- gvanrossum |
| 2014年11月05日 18:41:30 | WanderingLogic | set | nosy:
+ WanderingLogic |
| 2014年05月06日 19:15:01 | tim.golden | set | status: open -> closed resolution: wont fix messages: + msg218006 stage: commit review -> resolved |
| 2014年02月03日 15:50:03 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2013年10月25日 11:03:10 | tim.golden | set | messages:
+ msg201230 versions: - Python 2.7, Python 3.3 |
| 2013年03月30日 16:17:53 | terry.reedy | set | messages:
+ msg185572 versions: + Python 3.3, Python 3.4, - Python 3.1, Python 3.2 |
| 2013年03月30日 13:17:00 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg185556 |
| 2010年11月18日 00:42:02 | eric.araujo | set | nosy:
+ tim.golden, brian.curtin, eric.araujo messages: + msg121396 components: + Windows |
| 2010年08月03日 20:10:56 | terry.reedy | set | versions:
+ Python 3.1, Python 2.7, Python 3.2, - Python 2.5 nosy: + terry.reedy messages: + msg112663 keywords: + easy, - patch stage: commit review |
| 2009年04月08日 10:49:46 | techtonik | set | files:
+ issue5717.py26.patch messages: + msg85766 |
| 2009年04月08日 10:18:05 | techtonik | set | files:
+ issue5717.py25.patch keywords: + patch |
| 2009年04月07日 16:22:38 | gvanrossum | set | nosy:
+ gvanrossum messages: + msg85728 |
| 2009年04月07日 15:03:49 | techtonik | create | |