summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32159: Remove tools for CVS and Subversion (#4615)Victor Stinner2017-11-281-5/+2
| | | | | | | | | | CPython migrated from CVS to Subversion, to Mercurial, and then to Git. CVS and Subversion are not more used to develop CPython. * platform module: drop support for sys.subversion. The sys.subversion attribute has been removed in Python 3.3. * Remove Misc/svnmap.txt * Remove Tools/scripts/svneol.py * Remove Tools/scripts/treesync.py
* bpo-27593: Get SCM build info from git instead of hg. (#446)Ned Deily2017-03-041-1/+3
| | | | | | | sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower.
* bpo-27788 : synchronise platform.py version number (#246)Matthias Bussonnier2017-02-241-1/+1
| | | | Was bumped in the docstring by b9f4feab1b9c9ffa8ea29af3d82bc536f9f3005a but not in `__version__`
* Issue #27932: Prevent memory leak in win32_ver().Steve Dower2016-09-181-60/+1
|
* Merge from 3.5Steve Dower2016-09-101-33/+29
|\
| * Issue #27932: Backs out changeSteve Dower2016-09-101-33/+29
| |
* | Issue #27932: Fixes memory leak in platform.win32_ver()Steve Dower2016-09-101-29/+33
|\ \ | |/
| * Issue #27932: Fixes memory leak in platform.win32_ver()Steve Dower2016-09-101-29/+33
| |
* | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-09-091-1/+1
|\ \ | |/
| * Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-09-091-1/+1
| |
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-17/+17
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-051-1/+0
|/ | | | and Windows CE is no longer a relevant platform for Python.
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | Based on patch by Ville Skyttä.
* Issue #21313: Tolerate truncated buildinfo in sys.versionMartin Panter2016-06-081-4/+11
|
* Issue #26041: Remove "will be removed in Python 3.7" from description messagesBerker Peksag2016-04-241-4/+2
| | | | | | | We will keep platform.dist() and platform.linux_distribution() to make porting from Python 2 easier. Patch by Kumaripaba Miyurusara Athukorala.
* Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-121-1/+1
|
* Merge from 3.4Steve Dower2015-09-231-1/+4
|\
| * Handle calls to win32_ver from non-Windows platformSteve Dower2015-09-231-1/+4
| |
| * Issue #19143: platform module now reads Windows version from kernel32.dll to ↵Steve Dower2015-09-231-168/+120
| | | | | | | | avoid compatibility shims.
* | Issue #19143: platform module now reads Windows version from kernel32.dll to ↵Steve Dower2015-09-231-168/+120
| | | | | | | | avoid compatibility shims.
* | Issue #24839: platform._syscmd_ver raises DeprecationWarningSteve Dower2015-08-111-1/+1
| |
* | Issue #24210: Silence a PendingDeprecationWarning warning in ↵Berker Peksag2015-05-161-1/+11
| | | | | | | | platform.platform().
* | Issue #1322: platform.dist() and platform.linux_distribution() functions are ↵Berker Peksag2015-05-131-3/+16
| | | | | | | | | | | | now deprecated. Initial patch by Vajrasky Kok.
* | 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