Message155367
| Author |
ezio.melotti |
| Recipients |
ezio.melotti, rednaks |
| Date |
2012年03月11日.02:32:19 |
| SpamBayes Score |
4.6231934e-09 |
| Marked as misclassified |
No |
| Message-id |
<1331433141.08.0.968892785523.issue14251@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Can you provide a minimal example to reproduce this error?
On Python 2 it's always better to decode the HTML first and then pass unicode to the parser. Even though on Python 2 the parser accepts bytes string too, there are a few corner cases where it fails.
On Python 3 the parser only accepts unicode, and it should work fine with it (especially if you have an updated clone of cpython). Can you show what failure you get with Python 3? Also, can you reproduce the error if you use strict=False? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月11日 02:32:21 | ezio.melotti | set | recipients:
+ ezio.melotti, rednaks |
| 2012年03月11日 02:32:21 | ezio.melotti | set | messageid: <1331433141.08.0.968892785523.issue14251@psf.upfronthosting.co.za> |
| 2012年03月11日 02:32:20 | ezio.melotti | link | issue14251 messages |
| 2012年03月11日 02:32:19 | ezio.melotti | create |
|