Comment 28 for bug 457688

Revision history for this message
Scott Howard (showard314) wrote : Re: libboost-python1.38 issues with __doc__ property in Python >= 2.6.3

SRU request:

A statement explaining the impact of the bug on users and justification for backporting the fix to the stable release:
See description, specifically this causes depending modules to segfault

An explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix:
It has been fixed upstream. We are cherry picking the fix from commit (SVN r53731)

A minimal patch applicable to the stable version of the package. If preparing a patch is likely to be time-consuming, it may be preferable to get a general approval from the SRU team first.
See attached debdiff

Detailed instructions how to reproduce the bug. These should allow someone who is not familiar with the affected package to reproduce the bug and verify that the updated package fixes the problem. Please mark this with a line "TEST CASE:".
TEST CASE:

An example trying to use a sample from python-visual:

guy@mountpaku:/usr/share/doc/python-visual/examples$ python orbit.py
Traceback (most recent call last):
  File "orbit.py", line 1, in <module>
    from visual import *
  File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in <module>
    import cvisual
AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only

A discussion of the regression potential of the patch and how users could get inadvertently affected.:
This has been tested upstream (and through the ppas linked above in ubuntu) and regressions have not been seen.