New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idle pydoc et al removed from 3.1 without versioned replacements #50006
Comments
RELEASE BLOCKER r71400 and r71401 changed py3k setup.py to comment out the installation As hinted at in bpo-1590, the most consistent option would be to Whatever solution is chosen, some additional work will likely be needed This also seems to be a change worthy of a NEWS item and doc changes. |
bpo-1590 was only supposed to fix "make altinstall", which is a |
I think the scripts should just get a "3" appended to them in |
Couldn't we just rename them in the repository? IIRC the name with a '3' suffix would be the official name for these tools I don't know enough of svnmerge to know if renaming would be a problem for |
Installed pydoc and idle with a 3 suffix in r71936. |
This may affect the Windows Installer, specifically |
Reopening as RELEASE BLOCKER. r71936 does indeed install pydoc and idle with a 3 suffix. However, it Section 25.4.1 of the 3.1 Standard Library docs state "2to3 will usually In the case of the OSX installer, as it stands now with r71936, there is This raises the issues of what is a sensible way to handle potential I see two scenarios of interest -
In the case of the interpreter, the reason for renaming to python3 is If so, since the output of 2to3 is python3, one could make the case that In any case, if this hasn't already happened, I think a decision needs I'm less concerned about the removal of the smtpd.py script as I suspect |
Ned: the 2to3 is not installed anymore by the main makefiles, I don't know I'm actually happy that smtpd.py isn't installed anymore, this always |
Ronald, no changes were made to the makefiles, just to setup.py in [...] --- python/branches/py3k/setup.py (original)
+++ python/branches/py3k/setup.py Sat Apr 25 23:11:45 2009
@@ -1652,13 +1652,7 @@
# called unless there's at least one extension module
defined.
ext_modules=[Extension('_struct', ['_struct.c'])],
- # Scripts to install
- # Commented out because we don't want them to override the
2.x
- # ones. See python/cpython#45931.
- scripts = []
- #scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
- # 'Tools/scripts/2to3',
- # 'Lib/smtpd.py']
+ scripts = ["Tools/scripts/pydoc3", "Tools/scripts/idle3"]
)
# --install-platlib |
Sorry, my assertion "no changes were made to the makefiles" is not quite |
I don't think it matters which version of 2to3 is used. It has a same |
r72866 installs 2to3 over old installations. That should do the trick. |
Yep, r72866 does restore 2to3. And r72857, which removes the fullinstall |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: