Public bug reported:
Binary package hint: python2.4
>From an application that uses excepthook on Python2.4, I get this error:
Traceback (most recent call last):
File "testvtrace.py", line 46, in ?
excepthook(a,b,c)
File "/var/lib/python-support/python2.4/apport/python_hook.py", line 54, in
apport_excepthook
pr.add_proc_info()
File "/var/lib/python-support/python2.4/apport/report.py", line 334, in
add_proc_info
self._check_interpreted()
File "/var/lib/python-support/python2.4/apport/report.py", line 244, in
_check_interpreted
if not any([fnmatch.fnmatch(exebasename, i) for i in interpreters]):
Any is only 2.5, not a __builtin__ in 2.4.4:
[EMAIL PROTECTED]:~$ python2.4
Python 2.4.4 (#2, Apr 5 2007, 19:56:05)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> any
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'any' is not defined
>>>
[EMAIL PROTECTED]:~$ python
Python 2.5.1c1 (release25-maint, Apr 6 2007, 22:02:36)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> any
<built-in function any>
** Affects: python2.4 (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
python2.4 requires "any" from python2.5
https://bugs.launchpad.net/bugs/105264
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs