Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-26544: Make platform.libc_ver() less slow (GH-10868) | Victor Stinner | 2018-12-03 | 1 | -1/+4 |
| | | | | | | | Coarse benchmark on Fedora 29: 1.6 sec => 0.1 sec. Co-Authored-By: Antoine Pitrou <solipsis@pitrou.net> (cherry-picked from commit ba7c226095703f63c78b00e56f1db8d99ac3a54a) | ||||
* | bpo-26544: Get rid of dependence from distutils in platform. (GH-8356) (GH-8952) | Miss Islington (bot) | 2018-09-05 | 1 | -1/+30 |
| | | | | | (cherry picked from commit 7d81e8f5995df6980a1a02923e224a481375f130) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193) ↵ | Serhiy Storchaka | 2018-07-09 | 1 | -31/+32 |
| | | | | | | | (GH-8196) (cherry picked from commit 2a9b8babf0d09946ebebfdb2931cc0d3db5a1d3d). (cherry picked from commit 7c43b801503c802ed6ea4b811f5bc73791249d94) | ||||
* | Issue #26513: Use winver.product_type instead of .product | Steve Dower | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-17 | 1 | -2/+4 |
| | |||||
* | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -1/+1 |
| | | | | Based on patch by Ville Skyttä. | ||||
* | Issue #21313: Tolerate truncated buildinfo in sys.version | Martin Panter | 2016-06-08 | 1 | -4/+11 |
| | |||||
* | Issue #26513: Fixes platform module detection of Windows Server | Steve Dower | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | Handle calls to win32_ver from non-Windows platform | Steve Dower | 2015-09-23 | 1 | -1/+4 |
| | |||||
* | Issue #19143: platform module now reads Windows version from kernel32.dll to ↵ | Steve Dower | 2015-09-23 | 1 | -170/+120 |
| | | | | avoid compatibility shims. | ||||
* | #8964: fix platform._sys_version to handle IronPython 2.6+. | Ezio Melotti | 2013-10-21 | 1 | -3/+16 |
| | |||||
* | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -3/+3 |
| | |||||
* | Fix #16176. Properly identify Windows 8 via platform.platform() | Brian Curtin | 2012-10-11 | 1 | -1/+6 |
| | | | | Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server. | ||||
* | #16112: platform.architecture does not correctly escape argument to ↵ | Jesus Cea | 2012-10-05 | 1 | -2/+2 |
| | | | | /usr/bin/file. Fix original patch | ||||
* | #16112: platform.architecture does not correctly escape argument to ↵ | Jesus Cea | 2012-10-05 | 1 | -4/+3 |
| | | | | /usr/bin/file. Use 'communicate()' | ||||
* | Closes #16112: platform.architecture does not correctly escape argument to ↵ | Jesus Cea | 2012-10-04 | 1 | -1/+21 |
| | | | | /usr/bin/file. Solve a 2.7 bootstrap issue | ||||
* | Backed out changeset 5abacebec9d2 | Jesus Cea | 2012-10-04 | 1 | -5/+8 |
| | |||||
* | Backed out changeset c73b90b6dadd | Jesus Cea | 2012-10-04 | 1 | -8/+5 |
| | |||||
* | Closes #16112: platform.architecture does not correctly escape argument to ↵ | Jesus Cea | 2012-10-04 | 1 | -5/+8 |
| | | | | /usr/bin/file | ||||
* | merge from fb225c289bf0 | Brian Curtin | 2012-02-01 | 1 | -1/+1 |
| | |||||
* | Issue #13545: Fix platform.libc_version() is the SO version is missing | Victor Stinner | 2011-12-15 | 1 | -1/+1 |
| | |||||
* | Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' | Ned Deily | 2011-07-13 | 1 | -0/+1 |
| | | | | | as the processor type on some Mac systems. Also fix NameError in fallback _mac_ver_gestalt function. And remove out-of-date URL in docs. | ||||
* | #11985: update docstring of platform.python_implementation. | Ezio Melotti | 2011-05-04 | 1 | -3/+4 |
| | |||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Merged revisions 83644 via svnmerge from | Ronald Oussoren | 2010-08-03 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83644 | ronald.oussoren | 2010-08-03 09:42:42 +0200 (Tue, 03 Aug 2010) | 2 lines Fix for issue 9455: platform.mac_ver() broken on OSX/ppc ........ | ||||
* | Merged revisions 83075 via svnmerge from | Ronald Oussoren | 2010-07-23 | 1 | -11/+50 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83075 | ronald.oussoren | 2010-07-23 12:54:59 +0100 (Fri, 23 Jul 2010) | 5 lines Fix for issue 7895. Avoid crashing the interpreter when calling platform.mac_ver after calling os.fork by reading from a system configuration file instead of using OSX APIs. ........ | ||||
* | Fix #7863. Properly identify Windows 7 and Server 2008 R2. | Brian Curtin | 2010-05-06 | 1 | -17/+34 |
| | | | | | Removed various unused code and added a way to correctly determine server vs. workstation via the registry. | ||||
* | In a number of places code still revers | Ronald Oussoren | 2010-05-05 | 1 | -4/+0 |
| | | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk. | ||||
* | Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be ↵ | Victor Stinner | 2010-04-18 | 1 | -15/+13 |
| | | | | used in platform.py | ||||
* | Fix bootstrap after r80166 | Antoine Pitrou | 2010-04-18 | 1 | -1/+2 |
| | |||||
* | platform: use subprocess.Popen() instead of os.popen() in _syscmd_file() | Victor Stinner | 2010-04-18 | 1 | -13/+14 |
| | | | | | | | * Popen() avoids ugly shell escape: target.replace('"', '\\"') * Use proc.communicate() instead of f.stdout.read() * Get output from stdout by splitting with ": " instead of splitting by spaces to support filename with spaces | ||||
* | #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains ↵ | Florent Xicluna | 2010-04-01 | 1 | -4/+4 |
| | | | | a double-quote. | ||||
* | Issue #7860: platform.uname now reports the correct 'machine' type | R. David Murray | 2010-03-22 | 1 | -1/+5 |
| | | | | | when Python is running in WOW64 mode on 64 bit Windows. Patch by Brian Curtin. | ||||
* | Remove call to gestalt('sysu') from platform.py. This gestalt call is | Ronald Oussoren | 2010-02-07 | 1 | -19/+1 |
| | | | | | | not available on OSX an appearently causes problems for some users. Fixes issue 7812 | ||||
* | fix an UnboundLocalError when the release file is empty #7773 | Benjamin Peterson | 2010-01-25 | 1 | -2/+6 |
| | |||||
* | More yearly updates. | Georg Brandl | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | Update bug tracker reference. | Georg Brandl | 2009-09-19 | 1 | -1/+1 |
| | |||||
* | Use a different VER command output parser to address the localization | Marc-André Lemburg | 2009-07-13 | 1 | -2/+17 |
| | | | | | | issues mentioned in #3410. Prepare for Windows 7 (still commented out). | ||||
* | Use a new global DEV_NULL instead of hard-coding /dev/null into the system | Marc-André Lemburg | 2009-07-13 | 1 | -4/+20 |
| | | | | | | command helper functions. See #6479 for some motivation. | ||||
* | add support for PyPy | Benjamin Peterson | 2009-03-26 | 1 | -0/+15 |
| | |||||
* | more and more implementations now support sys.subversion | Benjamin Peterson | 2009-03-26 | 1 | -13/+8 |
| | |||||
* | add much better tests for python version information parsing | Benjamin Peterson | 2009-03-26 | 1 | -5/+2 |
| | |||||
* | Remove the sys.version_info shortcut, since they cause the APIs | Marc-André Lemburg | 2009-03-25 | 1 | -8/+4 |
| | | | | | | | | | to return different information than the _sys_version() output used in previous Python versions. This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings Added more tests for the various platform functions. | ||||
* | #4157 move two test functions out of platform.py. | Amaury Forgeot d'Arc | 2008-10-21 | 1 | -33/+0 |
| | | | | | | Turn them into unit tests, and correct an obvious typo: (("a", "b") ("c", "d") ("e", "f")) compiles even with the missing commas, but does not execute very well... | ||||
* | Issue #3762: platform.architecture() fails if python is lanched via its ↵ | Hirokazu Yamamoto | 2008-09-04 | 1 | -1/+1 |
| | | | | | | symbolic link. Reviewed by Amaury Forgeot d'Arc. | ||||
* | Add quotes around the file name to avoid issues with spaces. | Marc-André Lemburg | 2008-09-02 | 1 | -1/+1 |
| | | | | Closes #3719. | ||||
* | Issue #3748: platform.architecture() printed vogus message on windows. | Hirokazu Yamamoto | 2008-09-01 | 1 | -0/+3 |
| | | | | Reviewed by Marc-Andre Lemburg. | ||||
* | platform.uname now tries to fill empty values even when os.uname is present | Benjamin Peterson | 2008-06-13 | 1 | -33/+40 |
| | |||||
* | - Add unittests for platform.mac_ver (or rather, ensure that the unittest for | Ronald Oussoren | 2008-05-18 | 1 | -0/+6 |
| | | | | | | | that function actually tests something on OSX). - Add documentation to platform.mac_ver that explains why the middle element of the return value will not contain useful information. | ||||
* | Fix for issue 1770190: platform.mac_ver() now returns the right | Ronald Oussoren | 2008-05-08 | 1 | -1/+11 |
| | | | | version on OSX 10.4.10 |