[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

2012-11-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: Beemp. -- nosy: +ramchandra.apte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

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

2009-07-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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 Ezio Melotti
Ezio Melotti 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 'version' and 'release'

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

2009-07-06 Thread Felipe Portella
Felipe Portella 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 wrote: > > Ezio Melotti added the comment: > > Won't that fail with Windows versions in Japanese, Chinese, Arab a

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

2009-07-06 Thread Ezio Melotti
Ezio Melotti 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, otherwise \w+ with the re.U fl

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

2009-07-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > Ezio Melotti 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

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

2009-07-06 Thread Ezio Melotti
Ezio Melotti 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 2.5 doesn't have any chec

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

2009-07-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > Ezio Melotti 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_v

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

2009-07-05 Thread Ezio Melotti
Ezio Melotti 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') Python 2.6.2: >>

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

2009-07-04 Thread Ezio Melotti
Ezio Melotti 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 on Py 2.4 they are

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

2009-07-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > Ezio Melotti 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'). In

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

2009-07-04 Thread Ezio Melotti
Ezio Melotti 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', 'SP2', u'Uniprocessor Fr

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

2009-07-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > Ezio Melotti 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-S

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

2009-07-04 Thread Ezio Melotti
Ezio Melotti 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 priority: -> normal versio

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

2008-07-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Could you please check whether this is still the case with the current version of platform.py we have in SVN ? http://svn.python.org/view/python/trunk/Lib/platform.py?rev=64233&view=markup ___ Python t

[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]> ___ ___

[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