That is indeed a bug in all versions before the just released
Beautiful Soup 3.0.8. Before that, Tag.string wasn't updated when the
tree was manipulated. Beautiful Soup 3.0.8 calculates Tag.string when
it is accessed using a property, so that bug is entirely fixed.
3.0.8 is available on the Beautiful Soup home page, but hasn't yet
been added to any distro packages. There hasn't been a 3.1.x release
based on the 3.0.8 changes, so that bug is still in 3.1.x.
-Aaron DeVore
> --
>
> You received this message because you are subscribed to the Google Groups "beautifulsoup" group.
> To post to this group, send email to
beauti...@googlegroups.com.
> To unsubscribe from this group, send email to
beautifulsou...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/beautifulsoup?hl=en.
>
>
>