[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-18 Thread Pat LaVarre
Pat LaVarre added the comment: Works for me. I tried python-trunk-vistaplatform-v2.patch in one sample of 2006-11 RTM Vista plus 2.5.1 Python plus this patch. I quote: import platform platform.uname() ('Windows', '[redacted]', 'Vista', '6.0.6000', '', '') platform.system() 'Windows'

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-18 Thread Pat LaVarre
Pat LaVarre added the comment: --- USAGE: I agree we should let people in future write: if not platform.system('Windows'): rather than: if not (platform.system() in ('Microsoft', 'Windows')): now that our people can no longer rely on Python in Vista correctly understanding the plain human

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Pat, we already have system_alias() for exactly the purpose you suggested. Software relying on platform.system() reporting Vista will have to use Python 2.5.2 as minimum Python version system requirement - pretty much the same as with all other bug fixes.

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-18 Thread Pat LaVarre
Pat LaVarre added the comment: Thanks for the cultural education of 2.5.1 isn't supposed to work, I didn't know that. Also I'm glad to hear this is fixed for 2.5.2 already. Sorry I'm too new ignorant to understand why you believe this is fixed. I don't see that we already have a way to say

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Attached a patch which I *THINK* fixes this, but I don't run Windows. Can someone else check this? -- assignee: - lemburg nosy: +jafo, lemburg priority: - normal __ Tracker [EMAIL PROTECTED]

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Supplied patch passes make test, BTW. -- keywords: +patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1082 __ ___

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Pat LaVarre
Pat LaVarre added the comment: I recommend we reject this first draft of the python-trunk- vistaplatform.patch. I reason as follows ... ACTUAL RESULTS OF 2.5.1 PLUS PATCH IN VISTA WINDOWS: import platform ... platform.uname() ('Microsoft', '[redacted]', 'Windows', '6.0.6000', '', '')

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Attached is a patch that fixes uname() instead of the individual helpers. I agree that is the better way to do it. Again, not tested on Windows because I don't have it. What about adding a isWindows() sort of method that does the right thing, or

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: A couple of notes: * platform.uname() needs to be fixed, not the individual query functions. * The third entry of uname() should return Vista instead of Microsoft on MS Vista. * A patch should go on trunk and into 2.5.2, since this is a real bug and not a

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Shall I commit my v2 patch then, to 2.5.2 and trunk? It has the code in the uname() method, as you say. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1082 __

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1082 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Commited in trunk revision 58183 and 25-maint revision 58184. -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1082 __

Re: platform system may be Windows or Microsoft since Vista

2007-09-07 Thread p . lavarre
Log a bug @ bugs.python.org http://bugs.python.org/issue1082 TITLE ... platform system may be Windows or Microsoft since Vista Six days gone with no feedback. Something wrong with the input? Maybe the blank Priority field? I agree Severity Major. I'm thinking no priority because

Re: platform system may be Windows or Microsoft since Vista

2007-09-07 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I'm thinking no priority because there is no fixing this. Why are you bothering to check an informational string? Why not check directly for the functionality you need? -- http://mail.python.org/mailman/listinfo/python-list

Re: platform system may be Windows or Microsoft since Vista

2007-09-01 Thread p . lavarre
://bugs.python.org/issue1082 TITLE = (no priority set) platform system may be Windows or Microsoft since Vista CREATOR = [EMAIL PROTECTED] The Search Tracker there now finds this bug within: platform system Windows Microsoft Thanks again for clueing me in promptly, P.S. http://bugs.python.org/issue1082 now

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-01 Thread Pat LaVarre
] severity: major status: open title: platform system may be Windows or Microsoft since Vista type: behavior versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1082

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-01 Thread Bill Janssen
Bill Janssen added the comment: Wow. I think that platform.system() should return Windows for both XP and Vista, and platform.release() should return either Vista or XP. Seems like a patch to make this happen would be a good idea. -- nosy: +janssen

platform system may be Windows or Microsoft since Vista

2007-08-31 Thread p . lavarre
Let's suppose you get Python for Vista Windows today from http://www.python.org/download/. Should you then conclude that the tests: if platform.system() in ('Windows', 'Microsoft'): if not (platform.system() in ('Windows', 'Microsoft')): are now exactly what you should write for that 2.5.1

Re: platform system may be Windows or Microsoft since Vista

2007-08-31 Thread Klaas
On Aug 31, 9:47 am, [EMAIL PROTECTED] wrote: Let's suppose you get Python for Vista Windows today fromhttp://www.python.org/download/. Should you then conclude that the tests: if platform.system() in ('Windows', 'Microsoft'): if not (platform.system() in ('Windows', 'Microsoft')): Good