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 2008年07月16日 21:10 by pjenvey, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| get_python_lib-r65033.diff | pjenvey, 2008年07月16日 21:10 | |||
| Messages (3) | |||
|---|---|---|---|
| msg69836 - (view) | Author: Philip Jenvey (pjenvey) * (Python committer) | 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) * (Python committer) | 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) * (Python committer) | Date: 2009年02月10日 12:42 | |
Done in r69485. Thanks for the patch Phillip ! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:36 | admin | set | github: 47636 |
| 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 | |