[issue3410] platform.version() don't work as expected in Vista in portuguese

2012-11-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: Beemp. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3410 ___ ___ Python-bugs-list

[issue3410] platform.version() don't work as expected in Vista in portuguese

2012-11-25 Thread Ezio Melotti
Ezio Melotti added the comment: I couldn't find a non-English Windows machine to test this, so I'm just going to close it. Feel free to reopen it or create a new issue if there are other problems. -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: I've checked in patch r74005 to address the problem. Could you check whether the current SVN version of platform.py works on your Portuguese Windows version ? Thanks. -- ___ Python tracker

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: Here are the results. Windows Vista SP2 in English Python 3.0.1: platform.platform() 'Windows-Vista-6.0.6002-SP2' platform.version() '6.0.6002'

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: On the Vista machine that returned ('', '6.0.6002', 'SP2', 'Multiprocessor Free') there is ActiveState's Python 2.5.2 that includes the pywin32 extension. I managed to run pdb on it and the result was http://dpaste.com/hold/63642/ Python

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: On the Vista machine that returned ('', '6.0.6002', 'SP2', 'Multiprocessor Free') there is ActiveState's Python 2.5.2 that includes the pywin32 extension. I

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Won't that fail with Windows versions in Japanese, Chinese, Arab and similar? If 'Version' is translated in all the languages as a single word and it's between whitespaces (or even between a [ and a space), \S+ should be safe enough,

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-06 Thread Felipe Portella
Felipe Portella fel...@portella.com.br added the comment: The same happens in Portuguese version ... the regex fails because ver returns Versão ... []'s On Mon, Jul 6, 2009 at 7:54 AM, Ezio Melotti rep...@bugs.python.org wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: Won't

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-06 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: According to Google Translate, in Vietnamese 'Version' is 'Phiên bản'. If this is true both \S+ and \w+ will fail. I also noticed a few more regex (namely _release_filename, _lsb_release_version and _release_version) which contain the words

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-05 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here are the results. Windows Vista SP2 in English Python 3.0.1: platform.platform() 'Windows-Vista-6.0.6002-SP2' platform.version() '6.0.6002' platform.win32_ver() ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free')

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I tried platform.version() on a non-English Vista and XP and I got '32bit' for Vista and '5.1.2600' for XP. With platform.platform() I got 'Windows-32bit-SP2' on Vista and 'Windows-XP-5.1.2600-SP2' on XP. -- nosy: +ezio.melotti

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: I tried platform.version() on a non-English Vista and XP and I got '32bit' for Vista and '5.1.2600' for XP. With platform.platform() I got 'Windows-32bit-SP2' on

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The Vista machine is running Py 2.5.2 but is not mine so I can't test/debug the issue properly there. FWIW I tried win32_ver() on it and I got ('', '6.0.6002', 'SP2', 'Multiprocessor Free'). Here on WinXP with 2.6 I get ('XP', '5.1.2600',

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: The Vista machine is running Py 2.5.2 but is not mine so I can't test/debug the issue properly there. FWIW I tried win32_ver() on it and I got ('', '6.0.6002',

[issue3410] platform.version() don't work as expected in Vista in portuguese

2009-07-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Do you have the win32 tools installed on that machine ? This could be the reason. On my XP machine I have them installed for Py 2.4 only, import win32api fails on Py 2.6. platform.win32_ver() returns the same with both the versions, but

[issue3410] platform.version() don't work as expected in Vista in portuguese

2008-07-18 Thread Felipe Portella
New submission from Felipe Portella [EMAIL PROTECTED]: Using Vista in Portuguese platform.version is returning 32bits instead of 6.0.6001. This is because in file platform.py line 379 thee regular expression try to search for the word Version in english, while in Portuguese the command ver

[issue3410] platform.version() don't work as expected in Vista in portuguese

2008-07-18 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - lemburg nosy: +lemburg ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3410 ___ ___