[issue5778] sys.version format differs between MSC and GCC

Terry J. Reedy report at bugs.python.org
Fri Jul 9 07:19:02 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

msc is the same in 3.1. How about gcc?
If still different, what change are you proposing?
add \n to one or delete it from other?

I agree that this is a (minor) unfortunate difference, but ...
Changing either would be a pitfall to developers who only use one or the other and have adapted to what they get. Those on both have probably learned to work with the difference. However, unless they do something like sys.version.strip(), they might have code invalidated too.

Of course, future developers might benefit.

----------
nosy: +tjreedy
versions: +Python 3.2 -Python 2.5

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


More information about the Python-bugs-list mailing list