The bus is that sgmlib checks for ascii characters looking for 256 of them into sgmlib.py (while ascii chars are 128). The issue is described even at: http://my.opera.com/knuthy/blog/index.dml/tag/beautifulsoup and can be fixed with a simple sed line in the ebuild (patch will follow) Reproducible: Always Actual Results: Non-ascii chars generate the error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128) Expected Results: Non-ascii chars do not give errors.
Created attachment 134528 [details, diff] python-2.5.1-r3-ebuild-changes.patch
It seems that this is intended in sgmllib.py of python-2.5, so beautifulsoup (maybe the only package having this issue after python-2.5 update) has been updated (3.0.5) to be compatible with python-2.5. So beautifulsoup-3.0.4 should depend on <dev-lang/python-2.5 , while 3.0.5 bump should be needed to run under python-2.5 or newers.
Version bump done. Tested with python-2.4 and 2.5. No need to restrict to python-2.5 Thanks, cheers.