Hi Cristian,
On 06/04/2014 11:56 PM, Cristian Ionescu-Idbohrn wrote:
If so could you please provide `needrestart -v`?
Attached.
Thanks! Looking into it:
[Core] #9860 is a NeedRestart::Interp::Python
File "<stdin>", line 2
print sys.path
^
SyntaxError: invalid syntax
Weirrd, something seems to be odd... on python2.7:
$ python
Python 2.7.7rc1 (default, May 21 2014, 11:15:30)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']
On python3:
$ python3
Python 3.3.5 (default, Mar 22 2014, 13:24:53)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> put sys.path
File "<stdin>", line 1
put sys.path
^
SyntaxError: invalid syntax
So you did found two bugs:
- include path retrieval fails on python3
- did not handle EOF gracefully (unitialized value path)
I'm going to patch those issues, thanks for reporting and helping to
locate the hidden python3 bug.
Cheers,
Thomas
--
:: WWW: http://fiasko-nw.net/~thomas/ ::
::: Jabber: xmpp:tho...@jabber.fiasko-nw.net :::
:: flickr: http://www.flickr.com/photos/laugufe/ ::
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org