[issue1611] doctest.testmod gets noisy if called more than once per SystemExit

2007-12-13 Thread Pat LaVarre
New submission from Pat LaVarre: SUMMARY: Calling doctest.testmod more than once before SystemExit spews stderr messages such as "*** DocTestRunner.merge: '__main__' in both testers; summing outcomes" STEPS TO REPRODUCE: $ cat tttestmod.py import doctest d

[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

[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

[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]', 'Vist

[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'

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

2007-09-01 Thread Pat LaVarre
New submission from Pat LaVarre: SUMMARY: 'Microsoft' is the platform.system() of Vista Windows, whereas 'Windows' was the platform.system() of XP Windows, whoops. STEPS TO REPRODUCE & ACTUAL RESULTS: Run 2.5.1 Python in a Vista and see: >>> im