[issue24563] Encoding declaration: doc supported encodings

2015-07-17 Thread Martin Panter
Martin Panter added the comment: You can remove the “.. XXX” line; I understand it is just like a TODO comment, and with this fixed it would no longer be relevant. I suggest putting the links next to the sentence that ends “. . . the encoding name must be recognized by Python.” The links

[issue24563] Encoding declaration: doc supported encodings

2015-07-17 Thread Martin Panter
Martin Panter added the comment: PEP 263 doesn’t say exactly what encodings are supported. It mentions Shift JIS is supported, but UTF-16 is not. Only UTF-8 is allowed if the file starts with a UTF-8 BOM. I guess many of the Python-specific text encodings from the second section may be

[issue24563] Encoding declaration: doc supported encodings

2015-07-08 Thread Sameer Kulkarni
Sameer Kulkarni added the comment: I have added link to Standard Encodings : https://docs.python.org/3/library/codecs.html#standard-encodings and Python Specific Encodings : https://docs.python.org/3/library/codecs.html#python-specific-encodings -- keywords: +patch nosy: +ksameersrk

[issue24563] Encoding declaration: doc supported encodings

2015-07-03 Thread Terry J. Reedy
New submission from Terry J. Reedy: The source .rst for https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations has at the end: .. XXX there should be a list of supported encodings. While I believe this is impractical, there could be a link to