Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ETA on Python 2.3?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bneal
n00b
n00b


Joined: 12 Jul 2003
Posts: 3

PostPosted: Sun Sep 14, 2003 12:19 am    Post subject: ETA on Python 2.3? Reply with quote

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
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Sun Sep 14, 2003 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Sun Sep 14, 2003 3:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Hydralisk
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2003
Posts: 83

PostPosted: Sun Sep 14, 2003 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Sun Sep 14, 2003 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
den_RDC
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 166
Location: beercountry, Belgium;)

PostPosted: Sun Sep 14, 2003 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum