[New-bugs-announce] [issue5778] sys.version format differs between MSC and GCC

Toshihiro Kamiya report at bugs.python.org
Fri Apr 17 11:00:08 CEST 2009


New submission from Toshihiro Kamiya <t-kamiya at aist.go.jp>:

The value of sys.version includes a new-line char in GCC build.
'2.5.2 (r252:60911, Oct  5 2008, 19:24:49) \n[GCC 4.3.2]'

MSC build doesn't.
'2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)]'

This seems a kind of pitfall for the developers who use this variable.

----------
components: Build
messages: 86060
nosy: t-kamiya
severity: normal
status: open
title: sys.version format differs between MSC and GCC
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5778>
_______________________________________


More information about the New-bugs-announce mailing list