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.

classification
标题: "make altinstall" installs pydoc, idle, smtpd.py
类型: behavior Stage: patch review
Components: Build, Installation Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6
process
状态: closed Resolution: fixed
Dependencies: 1120 后续:
分配给: 抄送列表: ajaksu2, benjamin.peterson, christian.heimes, dripton, gvanrossum, ned.deily
优先级: high 关键字: patch

Created on 2007-12-11 15:48 by dripton, last changed 2022-04-11 14:56 by admin. This issue is now closed.

文件
文件名 上传时间 Description 编辑
altinstall.patch dripton, 2007-12-12 14:25
Messages (10)
msg58437 - (view) Author: David Ripton (dripton) 日期: 2007-12-11 15:48
Python 3.0a2, Gentoo Linux, x86

"make altinstall" installs idle, pydoc, and smtpd.py

This can partially break the previous Python install, which is counter
to the idea of altinstall being safe to use in parallel with an existing
install of a different version of Python.

IMO altinstall should install no files that lack a version number
somewhere in their path.  I suggest having altinstall simply not install
pydoc, idle, and smtpd.py.
msg58450 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) 日期: 2007-12-11 17:58
Agreed.  Please provide a patch.  Isn't this a 2.5-2.6 issue as well?
msg58462 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) 日期: 2007-12-11 20:08
Yes, 2.5 and 2.6 are affected, too. The scripts are install by setup.py
in sharedinstall.
msg58492 - (view) Author: David Ripton (dripton) 日期: 2007-12-12 14:23
Here's a patch, against the 3.0a2 tarball.
msg58493 - (view) Author: David Ripton (dripton) 日期: 2007-12-12 14:29
Same patch appears to work fine against the 2.5.1 tarball.
msg85734 - (view) Author: David Ripton (dripton) 日期: 2009-04-07 19:09
I see this has been marked as "test needed", but this patch is a change
to Makefile.pre.in, and it's not clear to me how to unit test it using
the existing Python test framework.

FWIW, I've manually tested it (on Linux) by doing ./configure; make;
sudo make install and verifying the absence of (newly installed) idle,
pydoc, and smtpd.py in /usr/local/bin
msg85735 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) 日期: 2009-04-07 19:15
That's good enough a test for me :)
Pinging gutworth so we can have this in 3.1.
msg85738 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) 日期: 2009-04-07 19:28
Fixed in r71372. Thanks for the patch!
msg85785 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) 日期: 2009-04-08 21:40
Refixed in r71400.
msg85974 - (view) Author: Ned Deily (ned.deily) * (Python committer) 日期: 2009-04-14 20:28
r71400 breaks installer builds.  See issue5756.
历史
日期 用户 动作 参数
2022-04-11 14:56:28admin修改github: 45931
2010-08-22 13:46:18eric.araujo链接issue1495488 superseder
2009-04-14 20:28:56ned.deily修改抄送: + ned.deily
消息: + msg85974
2009-04-08 21:40:23benjamin.peterson修改消息: + msg85785
2009-04-07 19:28:05benjamin.peterson修改状态: open -> closed
resolution: fixed
消息: + msg85738
2009-04-07 19:15:04ajaksu2修改抄送: + ajaksu2, benjamin.peterson

消息: + msg85735
stage: test needed -> patch review
2009-04-07 19:09:19dripton修改消息: + msg85734
2009-04-06 10:49:23ajaksu2修改versions: + Python 3.1, Python 2.7, - Python 2.5
优先级: normal -> high
dependencies: + "make altinstall" installs pydoc, idle, smtpd.py with broken shebang lines
components: + Installation
keywords: + patch
stage: test needed
2009-04-06 10:47:51ajaksu2链接issue3744 superseder
2007-12-12 14:29:40dripton修改消息: + msg58493
2007-12-12 14:25:40dripton修改文件: + altinstall.patch
2007-12-12 14:23:57dripton修改消息: + msg58492
2007-12-11 20:08:14christian.heimes修改优先级: normal
抄送: + christian.heimes
消息: + msg58462
versions: + Python 2.6, Python 2.5
2007-12-11 17:58:00gvanrossum修改抄送: + gvanrossum
消息: + msg58450
2007-12-11 15:48:35dripton创建