Issue #15618: Make turtle.py itself work when run from a module with
from __future__ import unicode_literals. Initial patch by Juancarlo AƱez.
The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix. If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
diff --git a/Misc/NEWS b/Misc/NEWS
index 02175d0..f5439fc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -40,6 +40,9 @@
Library
-------
+- Issue #15618: Make turtle.py compatible with 'from __future__ import
+ unicode_literals'. Initial patch by Juancarlo Añez.
+
- Issue #20501: fileinput module no longer reads whole file into memory when using
fileinput.hook_encoded.
@@ -53,7 +56,7 @@
Based on patch by Stephen Tu.
- Issue #8478: Untokenizer.compat processes first token from iterator input.
- Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
+ Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
- Issue #20594: Avoid name clash with the libc function posix_close.