Message140694
From a fresh Python3.2.1 tarball:
nneonneo@nneonneo-mbp:~/devel/Python-3.Lib/test$ for i in tokenize_tests-*; do echo $i; xxd $i | head -n 1; done
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
0000000: efbb bf23 202d 2a2d 2063 6f64 696e 673a ...# -*- coding:
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
0000000: efbb bf23 2049 4d50 4f52 5441 4e54 3a20 ...# IMPORTANT:
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
0000000: efbb bf23 202d 2a2d 2063 6f64 696e 673a ...# -*- coding:
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
0000000: efbb bf23 202d 2a2d 2063 6f64 696e 673a ...# -*- coding:
From this, it appears that the file called "tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt" actually has a UTF-8 BOM signature, which means either the comment is lying or the BOM was accidentally added to the test file at some point. |
|
Date |
User |
Action |
Args |
2011-07-19 21:19:00 | nneonneo | set | recipients:
+ nneonneo |
2011-07-19 21:19:00 | nneonneo | set | messageid: <1311110340.06.0.59907930521.issue12587@psf.upfronthosting.co.za> |
2011-07-19 21:18:59 | nneonneo | link | issue12587 messages |
2011-07-19 21:18:59 | nneonneo | create | |
|