From: Victor Stinner Date: Thu, 3 Nov 2011 19:36:55 +0000 (+0100) Subject: (Merge 3.2) Issue #10570: curses.putp() is now expecting a byte string, instead X-Git-Tag: v3.3.0a1~965 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65f51bb1502aad75850c8b66db98d1359314c5d7;p=thirdparty%2FPython%2Fcpython.git (Merge 3.2) Issue #10570: curses.putp() is now expecting a byte string, instead of a Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings. --- 65f51bb1502aad75850c8b66db98d1359314c5d7 diff --cc Misc/NEWS index b46cea822ec1,276f6659d065..12b3447624fd --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -350,20 -66,11 +350,20 @@@ Core and Builtin Library ------- +- Byte compilation in packaging is now isolated from the calling Python -B or + -O options, instead of being disallowed under -B or buggy under -O. + - - Issue #10570: curses.tigetstr() is now expecting a byte string, instead of - a Unicode string. + - Issue #10570: curses.putp() and curses.tigetstr() are now expecting a byte + string, instead of a Unicode string. +- Issue #13295: http.server now produces valid HTML 4.01 strict. + - Issue #2892: preserve iterparse events in case of SyntaxError. +- Issue #13287: urllib.request and urllib.error now contains an __all__ + attribute to expose only relevant classes and functions. Patch by Florent + Xicluna. + - Issue #670664: Fix HTMLParser to correctly handle the content of ```` and ````.