This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jjt009
Recipients benjamin.peterson, jjt009
Date 2008-06-10.19:33:38
SpamBayes Score 0.028261488
Marked as misclassified No
Message-id <1213126421.84.0.129921225193.issue2912@psf.upfronthosting.co.za>
In-reply-to
Content
Alright, that makes things much clearer. 
I'm looking at this code snippet in platform.py:
    if system == 'unknown':
        system = ''
    if node == 'unknown':
        node = ''
    if release == 'unknown':
        release = ''
    if version == 'unknown':
        version = ''
    if machine == 'unknown':
        machine = ''
    if processor == 'unknown':
        processor = ''

So essentially what you want me to do is add code that tries to replace
the ''s with meaningful information. From what I understand, os.uname()
is only defined in posix-based systems (it is imported from the module
posix, after all). That means that 'unknown' is returned because the
uname command is unable to retrieve the necessary information. Are there
any alternatives to uname that could provide me with system info?
History
Date User Action Args
2008-06-10 19:33:42jjt009setspambayes_score: 0.0282615 -> 0.028261488
recipients: + jjt009, benjamin.peterson
2008-06-10 19:33:41jjt009setspambayes_score: 0.0282615 -> 0.0282615
messageid: <1213126421.84.0.129921225193.issue2912@psf.upfronthosting.co.za>
2008-06-10 19:33:40jjt009linkissue2912 messages
2008-06-10 19:33:39jjt009create