[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-27 Thread Martin Pitt
apport (0.77) gutsy; urgency=low . * apport/report.py: Replace any() call with a list comprehension to work with Python < 2.5. (LP: #104864) * apport/report.py: Move the ctypes import to the one place where we actually need it, and do not entirely fail if they do not exist (such a

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-27 Thread Martin Pitt
Accepted into feisty-updates. ** Changed in: apport (Ubuntu Feisty) Status: Fix Committed => Fix Released -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you are a member of Ubuntu Bugs, which is t

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-23 Thread Michael Vogt
I verified this using the suggested test in comment 8 (thanks for providing those instructions!) and it works now as expected. ** Tags added: verification-done ** Tags removed: verification-needed -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 Y

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-20 Thread Martin Pitt
Accepted into feisty-proposed. ** Tags added: verification-needed ** Changed in: apport (Ubuntu Feisty) Status: In Progress => Fix Committed -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you are

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-20 Thread Martin Pitt
Uploaded to feisty-proposed: apport (0.76.1~prop1) feisty-proposed; urgency=low . Fix breakage with all applications that use Python 2.4: . * apport/report.py: Replace any() call with a list comprehension to work with Python < 2.5. (LP: #104864) * apport/report.py: Move the ctypes

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-20 Thread Martin Pitt
Test for the SRU reviewers: Edit /usr/bin/bzr, change the #! line to /usr/bin/python2.4, and append an 'assert False' after it. With current Feisty: $ bzr Traceback (most recent call last): File "/usr/bin/bzr", line 24, in ? assert False AssertionError Error in sys.excepthook: Traceback (mo

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-20 Thread Martin Pitt
Oh, for the test above you must install python-ctypes, otherwise the effect will be shadowed by bug 107662. -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug

Re: [Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-17 Thread Matthew Carpenter
Thank you, Martin. And I will continue to sing the praises of Ubuntu with pride :) -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-17 Thread Martin Pitt
Matthew: Ah, I see what you mean. Right, good candidate for -updates then, added a task. -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu

Re: [Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-17 Thread Matthew Carpenter
On Tuesday 17 April 2007, Martin Pitt wrote: > Hi Matthew, > > Matthew Carpenter [2007-04-16 18:03 -]: > > Not sure what this means. Does this mean that it will only be fixed in > > Gutsy? I'm not familiar with "bzr head", but will this be fixed for > > Feisty's release? > > Since I do not se

Re: [Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-17 Thread Martin Pitt
Hi Matthew, Matthew Carpenter [2007-04-16 18:03 -]: > Not sure what this means. Does this mean that it will only be fixed in > Gutsy? I'm not familiar with "bzr head", but will this be fixed for > Feisty's release? Since I do not see that this is a critical bug for Feisty, it will only be f

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-16 Thread Matthew Carpenter
Not sure what this means. Does this mean that it will only be fixed in Gutsy? I'm not familiar with "bzr head", but will this be fixed for Feisty's release? Thanks. -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notificati

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-16 Thread Martin Pitt
Fixed in bzr head, will upload early in gutsy. ** Changed in: apport (Ubuntu) Status: In Progress => Fix Committed -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you are a member of Ubuntu Bugs, w

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-16 Thread Barry Warsaw
Simple workaround would be something like this at the top of the file: try: any except NameError: # Taken from Python 2.5 built-in documentation def any(iterable): for element in iterable: if element: return True return False -- Appor

[Bug 104864] Re: Apport uses 'any' even in python2.4, causing NameError

2007-04-16 Thread Martin Pitt
** Changed in: apport (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Martin Pitt Status: Unconfirmed => In Progress -- Apport uses 'any' even in python2.4, causing NameError https://bugs.launchpad.net/bugs/104864 You received this bug notification because you ar