Commit Graph

74 Commits

Author SHA1 Message Date
Martin Panter
a850ef698e Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter
c36364491f Issue #21313: Tolerate truncated buildinfo in sys.version 2016-06-08 06:12:22 +00:00
Steve Dower
deb1a90f2c Issue #26513: Fixes platform module detection of Windows Server 2016-03-12 08:07:04 -08:00
Steve Dower
e20c2a6af4 Handle calls to win32_ver from non-Windows platform 2015-09-22 17:35:24 -07:00
Steve Dower
044cde52f8 Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:25:30 -07:00
Ezio Melotti
bc38548145 #8964: fix platform._sys_version to handle IronPython 2.6+. 2013-10-21 03:03:32 +03:00
Ezio Melotti
f5469cff1f #18705: fix a number of typos. Patch by Févry Thibault. 2013-08-17 15:43:51 +03:00
Brian Curtin
c1924ab729 Fix #16176. Properly identify Windows 8 via platform.platform()
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
2012-10-11 16:16:50 -05:00
Jesus Cea
2699c9d248 #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch 2012-10-05 05:18:47 +02:00
Jesus Cea
69e7c9b1fd #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' 2012-10-05 04:50:17 +02:00
Jesus Cea
debda5d4e2 Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Solve a 2.7 bootstrap issue 2012-10-04 15:14:56 +02:00
Jesus Cea
3e94e14a68 Backed out changeset 5abacebec9d2 2012-10-04 15:06:57 +02:00
Jesus Cea
82a3924122 Backed out changeset c73b90b6dadd 2012-10-04 14:22:16 +02:00
Jesus Cea
95038fa526 Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file 2012-10-04 13:46:33 +02:00
Brian Curtin
b4bef305fd merge from fb225c289bf0 2012-02-01 15:17:39 -06:00
Victor Stinner
429a12b7b6 Issue #13545: Fix platform.libc_version() is the SO version is missing 2011-12-15 21:42:03 +01:00
Ned Deily
0ab67ee79e Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
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.
2011-07-13 15:05:31 -07:00
Ezio Melotti
6fa0947285 #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
Ezio Melotti
c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Ronald Oussoren
22e3e694ed Merged revisions 83644 via svnmerge from
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
........
2010-08-03 07:44:35 +00:00
Ronald Oussoren
3a04a25206 Merged revisions 83075 via svnmerge from
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.
........
2010-07-23 12:41:00 +00:00
Brian Curtin
11f8b9db79 Fix #7863. Properly identify Windows 7 and Server 2008 R2.
Removed various unused code and added a way to correctly determine
server vs. workstation via the registry.
2010-05-06 02:54:44 +00:00
Ronald Oussoren
9545a23c7f In a number of places code still revers
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.
2010-05-05 19:09:31 +00:00
Victor Stinner
814b6c222d Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be used in platform.py 2010-04-18 18:22:25 +00:00
Antoine Pitrou
5ac74168b9 Fix bootstrap after r80166 2010-04-18 11:16:24 +00:00