[Freewx-maint] Bug#585339: python-wxgtk2.8: Python string exceptions no more allowed in Python 2.6

Olly Betts olly at survex.com
Tue Oct 18 01:48:53 UTC 2011


On Wed, Jun 09, 2010 at 10:19:39PM +0000, Sandro Tosi wrote:
> We are not sure your package is impacted, since the exception raise
> can be in a dead or very rare branch of the code, and so simply never
> being executed. We would like to leverage your package maintainer
> status and the relationship with upstream authors to inspect more
> deeply the issue and act accordingly (that includes: making this bug
> release critical, closing it as irrelevant, tagging it 'wontfix', or
> whatever is appropriate).

It looks to me like these exceptions aren't in "important" code paths
for wxPython - they're mostly cases where the API has been passed an
invalid parameter.  And I can't see a single bug report filed about
the breakage this has caused.

But we should address this - I've prepared a patch to just wrap each
such string in an exception object, which I'll forward to upstream.
This may not be the best approach but it will at least show upstream
where to look.

Cheers,
    Olly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxpython2.8-eliminate-string-exceptions.patch
Type: text/x-diff
Size: 3781 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freewx-maint/attachments/20111018/4a324a70/attachment.patch>


More information about the Freewx-maint mailing list