]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Jul 2014 15:34:01 +0000 (18:34 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Jul 2014 15:34:01 +0000 (18:34 +0300)
In particular this allows to initialize images from binary data.

1  2 
Lib/test/test_tcl.py
Misc/NEWS
Modules/_tkinter.c

Simple merge
diff --cc Misc/NEWS
index 10879e94955db6bf6ebf087c152018ffbacfa341,b554afd4b5c4cd6bba46ed0d60b843d97b7dfb17..0637c1f6bc6d4a663d3ae60df84d4e8131b88150
+++ b/Misc/NEWS
@@@ -113,17 -27,9 +113,20 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
+   In particular this allows to initialize images from binary data.
 +- Issue #22003: When initialized from a bytes object, io.BytesIO() now
 +  defers making a copy until it is mutated, improving performance and
 +  memory use on some use cases.  Patch by David Wilson.
 +
 +- Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets.
 +  A side effect is that Python depends to the WinSock library.
 +
 +- Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get
 +  and set the blocking mode of a file descriptor (False if the O_NONBLOCK flag
 +  is set, True otherwise). These functions are not available on Windows.
 +
  - Issue #17172: Make turtledemo start as active on OS X even when run with
    subprocess.  Patch by Lita Cho.
  
Simple merge