summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22831: Use "with" to avoid possible fd leaks.Serhiy Storchaka2015-04-041-33/+32
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+0
|
* Issue #20229: Avoid plistlib deprecation warning in platform.mac_ver().Ned Deily2014-01-131-1/+2
|
* Issue #17429: some PEP 8 compliance fixes for the platform modules, add ↵Victor Stinner2013-12-081-111/+113
| | | | whitespaces
* (Merge 3.3) Issue #17429: platform.linux_distribution() now decodes files fromVictor Stinner2013-12-081-2/+7
|\ | | | | | | | | | | | | the UTF-8 encoding with the surrogateescape error handler, instead of decoding from the locale encoding in strict mode. It fixes the function on Fedora 19 which is probably the first major distribution release with a non-ASCII name. Patch written by Toshio Kuratomi.
| * Issue #17429: platform.linux_distribution() now decodes files from the UTF-8Victor Stinner2013-12-081-2/+7
| | | | | | | | | | | | | | encoding with the surrogateescape error handler, instead of decoding from the locale encoding in strict mode. It fixes the function on Fedora 19 which is probably the first major distribution release with a non-ASCII name. Patch written by Toshio Kuratomi.
* | #8964: merge with 3.3.Ezio Melotti2013-10-211-3/+16
|\ \ | |/
| * #8964: fix platform._sys_version to handle IronPython 2.6+.Ezio Melotti2013-10-211-3/+16
| |
* | #18705: merge with 3.3.Ezio Melotti2013-08-171-4/+4
|\ \ | |/
| * #18705: fix a number of typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-3/+3
| |
| * merge 3.2Benjamin Peterson2012-10-121-1/+6
| |\
* | | Issue #18393: Remove use of deprecated API on OSXRonald Oussoren2013-07-151-63/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "Gestalt" function on OSX is deprecated (starting with OSX 10.8), remove its usage from the stdlib. The patch removes a number of private functions and a private module, but does not change the public API. The removed code was effectively dead, the platform module has used other code to fetch the OSX version for years and could only use on the Gestalt-based code as a fallback. That fallback can only trigger on broken OSX installs (that is, someone has removed parts of the system install)
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-7/+7
| | |
* | | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-7/+7
| | | | | | | | | | | | ModuleNotFoundError.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-3/+0
| | |
* | | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-1/+1
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-1/+1
| | |
* | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-5/+5
| | |
* | | Merge 3.2Brian Curtin2012-10-111-1/+6
|\ \ \ | | |/ | |/|
| * | Fix #16176. Properly identify Windows 8 via platform.platform()Brian Curtin2012-10-111-1/+6
| | | | | | | | | | | | Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
* | | MERGE: #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-051-4/+3
|\ \ \ | | |/ | |/| | | | /usr/bin/file. Fix original patch
| * | MERGE: #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-051-4/+3
| |\ \ | | |/ | | | | | | /usr/bin/file. Fix original patch
| | * #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-051-2/+2
| | | | | | | | | | | | /usr/bin/file. Fix original patch
| | * #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-051-4/+3
| | | | | | | | | | | | /usr/bin/file. Use 'communicate()' and decode the bytes
* | | #16135: Removal of OS/2 support (Python code partial cleanup)Jesus Cea2012-10-051-3/+3
| | |
* | | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references)Jesus Cea2012-10-051-2/+2
|/ /
* | MERGE: Closes #16112: platform.architecture does not correctly escape ↵Jesus Cea2012-10-041-5/+8
|\ \ | |/ | | | | argument to /usr/bin/file
| * Closes #16112: platform.architecture does not correctly escape argument to ↵Jesus Cea2012-10-041-5/+7
| | | | | | | | /usr/bin/file
* | Issue #15164: Change return value of platform.uname() from aLarry Hastings2012-06-241-7/+11
| | | | | | | | plain tuple to a collections.namedtuple.
* | Support Mageia Linux in the platform module.Antoine Pitrou2012-06-241-1/+1
| |
* | Closes #11678: support Arch linux in the platform module.Georg Brandl2012-06-241-1/+1
| |
* | Issue #15118: Change return value of os.uname() and os.times() fromLarry Hastings2012-06-241-1/+1
| | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects).
* | merge from 3.2Brian Curtin2012-02-011-1/+1
|\ \ | |/
| * Add a hint that CSD == Service Pack.Brian Curtin2012-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | People searcing for the way to get a "service pack" will never find that we provide it here, and people that find this function won't know what CSD is until they run the function. On top of this, they won't know what the value means unless they really have a service pack installed. CSD, or Customer Service Diagnostics, is apparently no longer used, and was rarely used term at that. Most references to it online are from universities making Windows 2000 and XP service packs available to students.
* | (Merge 3.2) Issue #13545: Fix platform.libc_version() is the SO version is ↵Victor Stinner2011-12-151-1/+1
|\ \ | |/ | | | | missing
| * Issue #13545: Fix platform.libc_version() is the SO version is missingVictor Stinner2011-12-151-1/+1
| |
* | Make platform.libc_ver() less slowAntoine Pitrou2011-10-071-10/+15
| |
* | Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'Ned Deily2011-07-131-0/+1
|\ \ | |/ | | | | as the processor type on some Mac systems.
| * Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'Ned Deily2011-07-131-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.
* | Issue #11377: platform.popen() emits a DeprecationWarningVictor Stinner2011-05-231-0/+2
| |
* | #11985: merge with 3.2.Ezio Melotti2011-05-041-3/+4
|\ \ | |/
| * #11985: merge with 3.1.Ezio Melotti2011-05-041-3/+4
| |\
| | * #11985: update docstring of platform.python_implementation.Ezio Melotti2011-05-041-3/+4
| | |
* | | Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really createsAntoine Pitrou2011-03-191-1/+1
|\ \ \ | |/ / | | | | | | unbuffered pipes, such that select() works properly on them.
| * | Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really createsAntoine Pitrou2011-03-191-1/+1
| |\ \ | | |/ | | | | | | unbuffered pipes, such that select() works properly on them.
| | * Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really createsAntoine Pitrou2011-03-191-1/+1
| | | | | | | | | | | | unbuffered pipes, such that select() works properly on them.
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-161-1/+1
|\ \ \ | |/ /
| * | #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
| |\ \ | | |/
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| | |
* | | Merge build identification to default branch.Georg Brandl2011-03-061-1/+3
|\ \ \ | |/ /