Victor Stinner
7eeab87263
bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792)
...
Fix ResourceWarning in platform.dist() and
platform.linux_distribution() on SuSE and Caldera OpenLinux.
Patch by Ville Skyttä.
2018-11-29 12:31:08 +01:00
Serhiy Storchaka
20a8392cec
[3.7] bpo-26544: Get rid of dependence from distutils in platform. (GH-8356). (GH-8970)
...
(cherry picked from commit 7d81e8f599 )
2018-09-04 17:31:18 +03:00
Serhiy Storchaka
7c43b80150
[3.7] bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193)
...
(cherry picked from commit 2a9b8babf0 )
2018-07-09 12:55:35 +03:00
Miss Islington (bot)
f4fdb619dd
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669) (GH-6862)
...
Also bump PendingDeprecationWarning to DeprecationWarning.
(cherry picked from commit 9eb40bc38d )
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com >
2018-05-15 13:30:06 -04:00
Victor Stinner
fe2d5babba
bpo-32159: Remove tools for CVS and Subversion ( #4615 )
...
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
2017-11-28 22:29:32 +01:00
Ned Deily
5c4b0d063a
bpo-27593: Get SCM build info from git instead of hg. ( #446 )
...
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.
2017-03-04 00:19:55 -05:00
Matthias Bussonnier
6059ce45aa
bpo-27788 : synchronise platform.py version number ( #246 )
...
Was bumped in the docstring by b9f4feab1b
but not in `__version__`
2017-02-24 11:47:34 +01:00
Steve Dower
74f4af7ac3
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:27:48 -07:00
Steve Dower
81994006f5
Merge from 3.5
2016-09-10 11:53:34 -07:00
Steve Dower
f028d9f71a
Issue #27932 : Backs out change
2016-09-10 11:52:18 -07:00
Steve Dower
6a294a54de
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:01:25 -07:00
Steve Dower
1588a3b377
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:04:26 -07:00
Steve Dower
41519b2ca8
Issue #26513 : Fixes platform module detection of Windows Server
2016-09-09 09:46:56 -07:00
Steve Dower
7bcf7931fc
Issue #26513 : Fixes platform module detection of Windows Server
2016-09-09 09:47:09 -07:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Larry Hastings
10108a7b9a
Issue #27355 : Removed support for Windows CE. It was never finished,
...
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Martin Panter
eb9957065a
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
4e50553823
Issue #21313 : Tolerate truncated buildinfo in sys.version
2016-06-08 06:12:22 +00:00
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:24 +03:00
Steve Dower
126c9c17ef
Issue #26513 : Fixes platform module detection of Windows Server
2016-03-12 08:06:23 -08:00
Steve Dower
5b1640cd2b
Merge from 3.4
2015-09-22 17:35:42 -07:00
Steve Dower
8f278f1662
Handle calls to win32_ver from non-Windows platform
2015-09-22 17:35:24 -07:00
Steve Dower
64a3387d69
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:29:51 -07:00
Steve Dower
b9f4feab1b
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:23:39 -07:00
Steve Dower
cae101f5ec
Issue #24839 : platform._syscmd_ver raises DeprecationWarning
2015-08-10 20:57:37 -07:00