[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-08-08 Thread Chris Palmer
Changes by Chris Palmer : -- nosy: -cpalmer ___ Python tracker <http://bugs.python.org/issue670664> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2242] Decoding UTF-7 with "ignore warnings" crashes Python on Windows Vista

2008-03-05 Thread Chris Palmer
New submission from Chris Palmer: When decoding some data as UTF-7 with the optional "ignore" argument, Python (I am using 2.5.2) crashes. This happens only on Windows Vista (I also tried Py 2.5.1 on Windows XP, Ubuntu 7, and FreeBSD 6). To reproduce, set WinDbg as your post-mortem de

[issue2242] Decoding UTF-7 with "ignore warnings" crashes Python on Windows Vista

2008-03-06 Thread Chris Palmer
Chris Palmer added the comment: You could also fix the problem by using iswalnum function instead of isalnum. Sorry I didn't mention this in the original report. http://msdn2.microsoft.com/en-us/library/k84c0490(VS.71).aspx __ Tracker <[EMAIL PROTECTED

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2008-12-01 Thread Chris Palmer
Chris Palmer <[EMAIL PROTECTED]> added the comment: Here is an additional test case. I have a super simple HTML "minifier" that burps when given this test file: $ cat test.html 'foo ' The explosion is: $ ./minify.py test.html Warning

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2008-12-01 Thread Chris Palmer
Changes by Chris Palmer <[EMAIL PROTECTED]>: -- type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue670664> ___ ___