1 |
On Thu, 2003-11-13 at 23:34, Toby Dickenson wrote: |
2 |
> > 2. run: emerge -u portage python |
3 |
> |
4 |
> note that -u will update alot of things with ~x86 that you might not want. |
5 |
> |
6 |
|
7 |
True, although in theory, it works also if you mark them as stable. I've |
8 |
been running python-2.3 on a stable box without any problems. YMMV. |
9 |
|
10 |
> > UCS4 uses significantly more memory than UCS2. |
11 |
> |
12 |
> I have compared ucs2 (with the ebuild in portage) and ucs4 (with hacking that |
13 |
> ebuild to include the --enable-unicode=ucs4 configure switch). I compared: |
14 |
> 1. The sizes of a newly started interpreter using the RES column on 'top' |
15 |
> 2. The size of a "btdownloadheadless" process seeding a knoppix cd image |
16 |
> 3. The size of the .tbz2 binary package. |
17 |
> |
18 |
> The empty interpreters are of identical size. The bittorrent process is |
19 |
> considerably *smaller* with ucs4, and the tbz2 files are largely unchanged in |
20 |
> size. Numbers below. IMHO thats a clear but suprising win for ucs4. Lets use |
21 |
> it always. |
22 |
|
23 |
That is rather suprising. I could only explain that by predicting that |
24 |
btdownloadheadless doesn't use any unicode objects at all. As I said |
25 |
before, I think the real test case would be XML parsing. |
26 |
|
27 |
But hopefully this weekend I could formulate some tests to run to get |
28 |
something more "scientific". But it might be that my initial |
29 |
observations were off. |
30 |
|
31 |
> |
32 |
> > Plan for Python's Future |
33 |
> > ======================== |
34 |
> |
35 |
> Portage has a number of packages that still need 2.2 but reference |
36 |
> #!/usr/bin/python. For example, rdiff-backup. The distutil eclass has support |
37 |
> for forcing /usr/bin/python2.1 (thanks to zope), but I cant see any way to |
38 |
> force 2.2. am I overlooking something? |
39 |
|
40 |
Zope is a special case because it is not supported if you run it on |
41 |
anything about 2.1. I'm not too familiar with Zope, so maybe some others |
42 |
can chime in. As for packages that don't work with 2.3, that needs to be |
43 |
fixed. There is a bug open now that people can report apps that don't |
44 |
work with 2.3 either because 2.2 is hardcoded or they just need to be |
45 |
patched. |
46 |
|
47 |
http://bugs.gentoo.org/show_bug.cgi?id=33372 |
48 |
|
49 |
Cheers, |
50 |
-- |
51 |
Alastair 'liquidx' Tse |
52 |
>> Gentoo Developer |
53 |
>> http://www.liquidx.net/ | http://dev.gentoo.org/~liquidx/ |