Message7463

Author Thev00d00
Recipients Thev00d00
Date 2012-09-26.09:44:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348652650.08.0.163812672867.issue1971@psf.upfronthosting.co.za>
In-reply-to
Content
When calling python_version. Regression since 2.5.2.

$ jython2.5 
Jython 2.5.3 (, Aug 26 2012, 17:23:45) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_07
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.python_version()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/jython-2.5/Lib/platform.py", line 1153, in python_version
    return _sys_version()[0]
  File "/usr/share/jython-2.5/Lib/platform.py", line 1135, in _sys_version
    version, buildno, builddate, buildtime, compiler = \
AttributeError: 'NoneType' object has no attribute 'groups'
History
Date User Action Args
2012-09-26 09:44:10Thev00d00setrecipients: + Thev00d00
2012-09-26 09:44:10Thev00d00setmessageid: <1348652650.08.0.163812672867.issue1971@psf.upfronthosting.co.za>
2012-09-26 09:44:09Thev00d00linkissue1971 messages
2012-09-26 09:44:08Thev00d00create