summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-06-04 15:16:29 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2002-06-04 15:16:29 (GMT)
commit474458da4894b542ff63fb8eaafeaefad7744005 (patch)
tree6fdffec2184e0680da735a75281529ec429a7267 /Misc
parentbc48826dc2fdcf53a837dbf6c35eff4ab69d08bf (diff)
downloadcpython-474458da4894b542ff63fb8eaafeaefad7744005.zip
cpython-474458da4894b542ff63fb8eaafeaefad7744005.tar.gz
cpython-474458da4894b542ff63fb8eaafeaefad7744005.tar.bz2
Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,
BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and big endian systems. The old names BOM32_* and BOM64_* were off by a factor of 2. This closes SF bug http://www.python.org/sf/555360
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c90dd7f..7275ad4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -124,6 +124,12 @@ Extension modules
Library
+- Constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,
+ BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte
+ Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and
+ big endian systems were added to the codecs module. The old names
+ BOM32_* and BOM64_* were off by a factor of 2.
+
- added degree/radian conversion functions to the math module.
- ftplib.retrlines() now tests for callback is None rather than testing