Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(29097)

Side by Side Diff: Doc/whatsnew/3.6.rst

Issue 25788: fileinput.hook_encoded has no way to pass arguments to codecs
Patch Set: Created 3 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 **************************** 1 ****************************
2 What's New In Python 3.6 2 What's New In Python 3.6
3 **************************** 3 ****************************
4 4
5 :Release: |release| 5 :Release: |release|
6 :Date: |today| 6 :Date: |today|
7 7
8 .. Rules for maintenance: 8 .. Rules for maintenance:
9 9
10 * Anyone can add text to this document. Do not spend very much time 10 * Anyone can add text to this document. Do not spend very much time
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 :class:`~telnetlib.Telnet` is now a context manager (contributed by 131 :class:`~telnetlib.Telnet` is now a context manager (contributed by
132 St├ęphane Wirtel in :issue:`25485`). 132 St├ęphane Wirtel in :issue:`25485`).
133 133
134 134
135 urllib.robotparser 135 urllib.robotparser
136 ------------------ 136 ------------------
137 137
138 :class:`~urllib.robotparser.RobotFileParser` now supports the ``Crawl-delay`` an d 138 :class:`~urllib.robotparser.RobotFileParser` now supports the ``Crawl-delay`` an d
139 ``Request-rate`` extensions. 139 ``Request-rate`` extensions.
140 (Contributed by Nikolay Bogoychev in :issue:`16099`.) 140 (Contributed by Nikolay Bogoychev in :issue:`16099`.)
141
142
143 fileinput
144 ---------
145
146 :func:`~fileinput.hook_encoded` now supports the *errors* keyword argument.
storchaka 2016/04/27 22:14:52 Added "(Contributed by Joseph Hackman in :issue:`2
141 147
142 148
143 Optimizations 149 Optimizations
144 ============= 150 =============
145 151
146 * The ASCII decoder is now up to 60 times as fast for error handlers 152 * The ASCII decoder is now up to 60 times as fast for error handlers
147 ``surrogateescape``, ``ignore`` and ``replace`` (Contributed 153 ``surrogateescape``, ``ignore`` and ``replace`` (Contributed
148 by Victor Stinner in :issue:`24870`). 154 by Victor Stinner in :issue:`24870`).
149 155
150 * The ASCII and the Latin1 encoders are now up to 3 times as fast for the 156 * The ASCII and the Latin1 encoders are now up to 3 times as fast for the
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 * When a relative import is performed and no parent package is known, then 287 * When a relative import is performed and no parent package is known, then
282 :exc:`ImportError` will be raised. Previously, :exc:`SystemError` could be 288 :exc:`ImportError` will be raised. Previously, :exc:`SystemError` could be
283 raised. (Contribute by Brett Cannon in :issue:`18018`.) 289 raised. (Contribute by Brett Cannon in :issue:`18018`.)
284 290
285 291
286 Changes in the C API 292 Changes in the C API
287 -------------------- 293 --------------------
288 294
289 * :c:func:`Py_Exit` (and the main interpreter) now override the exit status 295 * :c:func:`Py_Exit` (and the main interpreter) now override the exit status
290 with 120 if flushing buffered data failed. See :issue:`5319`. 296 with 120 if flushing buffered data failed. See :issue:`5319`.
OLDNEW
« Doc/library/fileinput.rst ('K') | « Doc/library/fileinput.rst ('k') | Lib/fileinput.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+