Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275241 - idle2.5 runs using system's default python which might not be 2.5
Summary: idle2.5 runs using system's default python which might not be 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 03:42 UTC by Lie Ryan
Modified: 2013-06-30 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lie Ryan 2009-06-24 03:42:22 UTC
The magic string for idle2.5 is:
#!/usr/bin/python

which uses the system default's python

instead it should be:
#!/usr/bin/python2.5

else requesting explicit idle version is useless

Reproducible: Always

Steps to Reproduce:
1. make sure to use python2.6 as system default python
2. starts `idle2.5`
3. see Help > About

Actual Results:  
idle 2.6, python 2.6

(or whatever is the system default python)

Expected Results:  
idle 2.5, python 2.5
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-16 13:24:01 UTC
14:23 < Arfrever> djc: This bug is still valid. This bug is specific to Python
                  <2.6.
Comment 2 Mike Gilbert gentoo-dev 2013-06-30 16:08:45 UTC
+*python-2.6.8-r2 (30 Jun 2013)
+*python-2.5.4-r6 (30 Jun 2013)
+
+  30 Jun 2013; Mike Gilbert <floppym@gentoo.org> +files/python-2.5-tcl86.patch,
+  +python-2.5.4-r6.ebuild, +python-2.6.8-r2.ebuild:
+  Apply patch to allow old python versions to use tk-8.6, bug 454342. Also fix
+  the python shebang in idle2.5 and pydoc2.5, bugs 275241 and 383009.