Re: [gentoo-user] A question about emerge --info

2008-10-30 Thread Geralt
Hi, I don't know if this is clear by now, but apparently the glibc version which is printed is the glibc version used to built python, because libcname,libcversion = libc_ver(sys.executable) in this line the version is determined of sys.executable which is the python interpreter used to run the

Re: [gentoo-user] A question about emerge --info

2008-10-30 Thread Albert Hopkins
On Wed, 2008-10-29 at 20:47 -0400, Joshua Murphy wrote: Hrm. I know just enough about python to get myself in trouble here... but it looks like a python bug in magicking up the libc name and version... but the below is WAY outside my level of practice with python (it'll take re-reading and

Re: [gentoo-user] A question about emerge --info

2008-10-30 Thread Heiko Wundram
Am Thursday 30 October 2008 13:26:27 schrieb Albert Hopkins: On Wed, 2008-10-29 at 20:47 -0400, Joshua Murphy wrote: Hrm. I know just enough about python to get myself in trouble here... but it looks like a python bug in magicking up the libc name and version... but the below is WAY outside

Re: [gentoo-user] A question about emerge --info

2008-10-30 Thread Albert Hopkins
On Thu, 2008-10-30 at 13:43 +0100, Heiko Wundram wrote: snip Again, this is utter bullshit. Python doesn't have a shoddy implementation of libc_ver(), it just doesn't give you what you expect it to give you (it's not a package manager, for gods sake), but rather what's of actual interest

[gentoo-user] A question about emerge --info

2008-10-29 Thread Paul Hartman
I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: [EMAIL PROTECTED]

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 6:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64)

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Falko
On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED][EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64)

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 7:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop,

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Paul Hartman
On Wed, Oct 29, 2008 at 6:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop,

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Falko
On Wed, Oct 29, 2008 at 4:13 PM, Andrey Vul [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've always been curious about something in emerge

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 7:23 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 4:13 PM, Andrey Vul [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] wrote:

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
Update: it has something to do with platform.platform() Now to search for platform by grepping all the .py files in /usr/lib. Hopefully this will take less time than emerge --regen. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
Found the code, and it's actually part of python (as of 2.4). Gentoo sets aliased to 1 when printing the system uname. /usr/lib/python2.{4,5,6}/platform.py: def _platform(*args): Helper to format the platform string in a filename compatible format e.g. system-version-machine.

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is another's feature. libc in uname is honestly WTF but this begs the real

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Falko
On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 8:15 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Joshua Murphy
On Wed, Oct 29, 2008 at 7:51 PM, Andrey Vul [EMAIL PROTECTED] wrote: snip elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse: platform = _platform(system,release,machine,processor,

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 8:47 PM, Joshua Murphy [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:51 PM, Andrey Vul [EMAIL PROTECTED] wrote: snip elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse:

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 8:47 PM, Joshua Murphy [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:51 PM, Andrey Vul [EMAIL PROTECTED] wrote: snip elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse:

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Paul Hartman
On Wed, Oct 29, 2008 at 7:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is

Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 8:15 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this