Message120826
| Author |
thomaspinckney3 |
| Recipients |
BreamoreBoy, brett.cannon, ezio.melotti, rnk, thomaspinckney3, vstinner |
| Date |
2010年11月09日.00:25:41 |
| SpamBayes Score |
5.3845324e-06 |
| Marked as misclassified |
No |
| Message-id |
<1289262347.49.0.474439494991.issue2927@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
New patch attached, tested against Python 3.2. This is my first Python patch so apologies if I've done something wrong here. Feedback appreciated!
Changes:
* fit everything to 80 cols
* just made changes to the HTMLParser.unescape function instead of providing a standalone unescape function
* fixed test case to fix string literals to work in python 3k
* left the cp1252 hacks in there since it looks like they work still, but if there's a problem with them let me know. In practice I have to this at work in order to make unescaping actual web pages work. |
|