summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-09-24 08:14:39 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2011-09-24 08:14:39 (GMT)
commit0d5f6adbb3e5d829a64ef1b431f7ac76dd258c1e (patch)
treed07d766085d981b7021696af28b0ea7bf4dd8ecc /Misc/NEWS
parenta61b053e611dd97258231913b79fafe0a9a16125 (diff)
downloadcpython-0d5f6adbb3e5d829a64ef1b431f7ac76dd258c1e.zip
cpython-0d5f6adbb3e5d829a64ef1b431f7ac76dd258c1e.tar.gz
cpython-0d5f6adbb3e5d829a64ef1b431f7ac76dd258c1e.tar.bz2
Issue #13012: Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4f55034..3c2ef37 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.3 Alpha 1?
Core and Builtins
-----------------
+- Issue #13012: The 'keepends' parameter to str.splitlines may now be passed
+ as a keyword argument: "my_string.splitlines(keepends=True)". The same
+ change also applies to bytes.splitlines and bytearray.splitlines.
+
- Issue #7732: Don't open a directory as a file anymore while importing a
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.