View previous topic :: View next topic |
Author |
Message |
bneal n00b
Joined: 12 Jul 2003 Posts: 3
|
Posted: Sun Sep 14, 2003 12:19 am Post subject: ETA on Python 2.3? |
|
|
Anybody? Still masked, was just wondering if there is a timetable on getting this into ~x86 at least--the mask comment seems to indicate that portage breaks with it, so I haven't downloaded it separately. Anything a long time pythonista can do to help?
Thanks,
Brian |
|
Back to top |
|
|
dma Guru
Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
Posted: Sun Sep 14, 2003 12:33 am Post subject: |
|
|
That's exactly why it is masked.
There is no "python-config" or anything like that so you only get one python on your machine. Portage needs a working version of python (and supposedly it dies on 2.3). So this seems like a portage problem, not a python one.
http://www.python.org/ wrote: | We are pleased to announce the release of Python 2.3 on July 29, 2003. This is a final, stable release, and we recommend Python users upgrade to this version. |
If you really need it, you could try installing it in the home directory of a normal user.
For the record, I want it as much as you do.
Last edited by dma on Sun Sep 14, 2003 5:27 pm; edited 1 time in total |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9507 Location: beyond the rim
|
Posted: Sun Sep 14, 2003 3:53 am Post subject: |
|
|
There are two outstanding issues for python-2.3:
- portage (and other python scripts that have python-2.2 hardcoded)
- recompilation of modules. Without this step you would have to re-emerge all python modules. |
|
Back to top |
|
|
Hydralisk Tux's lil' helper
Joined: 19 Mar 2003 Posts: 83
|
Posted: Sun Sep 14, 2003 2:30 pm Post subject: |
|
|
Portage is mostly compatible with python 2.3; the problem is changing the shebangs at the top of emerge and other files.
Python modules, AFAIK (or think), are automatically compiled into bytecode when they are imported. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9507 Location: beyond the rim
|
Posted: Sun Sep 14, 2003 4:11 pm Post subject: |
|
|
Yes, but you need to copy them from the old to the new python directory and there are also python modules with C components. And portage seems to have some subtile bugs with python-2.3 |
|
Back to top |
|
|
den_RDC Apprentice
Joined: 25 Aug 2002 Posts: 166 Location: beercountry, Belgium;)
|
Posted: Sun Sep 14, 2003 9:47 pm Post subject: |
|
|
i want it really bad too - 2.2 has some nasty bugs when handling timezones etc... wich i and some others use in a project. We have almost a complete time/date implementation of our own but rely on python date/time for the very basics ...
if anybody has a "hackish" temporary solution to get a sytem wide python2.3 working without hurting portage or other apps, please post it here |
|
Back to top |
|
|
|