(Merge 3.2) Issue #10570: curses.putp() is now expecting a byte string, instead
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 3 Nov 2011 19:36:55 +0000 (20:36 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 3 Nov 2011 19:36:55 +0000 (20:36 +0100)
of a Unicode string.

This is an incompatible change, but putp() is used to emit terminfo commands,
which are bytes strings, not Unicode strings.

1  2 
Lib/test/test_curses.py
Misc/NEWS
Modules/_cursesmodule.c

Simple merge
diff --cc Misc/NEWS
index b46cea822ec19b4ad7fd5a9359ca979bf2270d25,276f6659d065bdbbcbe97c400fc705ecbf1d3acb..12b3447624fde0cf2adf86376b3fc779ec537975
+++ b/Misc/NEWS
@@@ -350,20 -66,11 +350,20 @@@ Core and Builtin
  Library
  -------
  
- - Issue #10570: curses.tigetstr() is now expecting a byte string, instead of
-   a Unicode string.
 +- 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.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
    ``<script>...</script>`` and ``<style>...</style>``.
  
Simple merge