Issue3386
Created on 2008-07-16 21:10 by pjenvey, last changed 2009-02-10 12:42 by tarek.
|
msg69836 - (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2008-07-16 21:10 |
|
get_python_lib supports an optional prefix argument:
If 'prefix' is supplied, use it instead of sys.prefix or
sys.exec_prefix -- i.e., ignore 'plat_specific'.
However the NT and OS2 platforms don't use the prefix argument when
specified.
This problem was brought up a while ago here: http://mail.python.org/pipermail/distutils-sig/2002-November/003099.html
Andrew (the OS2 maintainer) claimed in the thread that fixing this would
break OS2, but I don't see how. All callers of get_python_lib in the
stdlib don't specify a prefix anyway. Anyone calling it with a prefix
and expecting it not to be used is broken.
|
|
msg81251 - (view) |
Author: Tarek Ziadé (tarek) |
Date: 2009-02-06 08:27 |
|
The patch looks fine to me. I'll send a mail to Andrew to ask him for a
demonstration, and wait a week to commit it.
|
|
msg81543 - (view) |
Author: Tarek Ziadé (tarek) |
Date: 2009-02-10 12:42 |
|
Done in r69485. Thanks for the patch Phillip !
|
|
| Date |
User |
Action |
Args |
| 2009-02-10 12:42:43 | tarek | set | status: open -> closed messages:
+ msg81543 |
| 2009-02-06 08:27:44 | tarek | set | messages:
+ msg81251 |
| 2009-02-06 01:34:07 | tarek | set | priority: high assignee: tarek nosy:
+ tarek versions:
+ Python 3.1, Python 2.7 |
| 2008-07-16 23:51:31 | pjenvey | set | title: distutils.sysconfig.get_python_lib prefix argument broken -> [PATCH] distutils.sysconfig.get_python_lib prefix argument broken |
| 2008-07-16 21:10:53 | pjenvey | create | |
|