Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
I'm not sure I understand why platform.release() isn't sufficient
for this purpose. Note that some systems return alphanumeric
values for
STINNER Victor victor.stin...@haypocalc.com added the comment:
Le 20/08/2011 21:25, Marc-Andre Lemburg a écrit :
I'm not sure I understand why platform.release() isn't sufficient
for this purpose.
You cannot write platform.release() = (2, 28) (Linux = 2.28) or
platform.release() = 7
New submission from STINNER Victor victor.stin...@haypocalc.com:
#12326 proposes to remove the major version from sys.platform. If we remove it,
we will need another easy way to get this information. I don't think that we
need the version used to build Python, but the version at runtime.
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12794
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you please elaborate why we need it?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12794
___
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
#12326 proposes to remove the major version from sys.platform. If we remove
it, we will need another easy way to get this information. I don't
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
title: platform: add a major function to get the system major version -
platform: add a major function to get the system major version
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
That other ticket is #9878.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12794
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Can you please elaborate why we need it?
platform.major() will be needed if we remove the major version for all
platforms from sys.platform (issue #12795). See
sys_platform_without_major.patch attached to issue #12795 see how it
STINNER Victor victor.stin...@haypocalc.com added the comment:
I'm not sure I understand why platform.release() isn't sufficient
for this purpose. Note that some systems return alphanumeric
values for platform.release(), e.g. for Windows you get
'NT' or 'XP'.
It's not easy to get 2 (int)
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12794
___
11 matches
Mail list logo