|
Original |
Translation |
|
2873
|
The decoding of UTF-8, UTF-16 and LATIN-1 is now two to four times faster.
|
|
|
2874
|
(Contributed by Antoine Pitrou and Amaury Forgeot d'Arc, :issue:`4868`.)
|
|
|
2875
|
The :mod:`json` module now has a C extension to substantially improve its performance. In addition, the API was modified so that json works only with :class:`str`, not with :class:`bytes`. That change makes the module closely match the `JSON specification <http://json.org/>`_ which is defined in terms of Unicode.
|
|
|
2876
|
(Contributed by Bob Ippolito and converted to Py3.1 by Antoine Pitrou and Benjamin Peterson; :issue:`4136`.)
|
|
|
2877
|
Unpickling now interns the attribute names of pickled objects. This saves memory and allows pickles to be smaller.
|
|
|
2878
|
|
2879
|
|
|
|
2880
|
IDLE's format menu now provides an option to strip trailing whitespace from a source file.
|
|
|
2881
|
(Contributed by Roger D. Serwy; :issue:`5150`.)
|
|
|
2882
|
Integers are now stored internally either in base 2**15 or in base 2**30, the base being determined at build time. Previously, they were always stored in base 2**15. Using base 2**30 gives significant performance improvements on 64-bit machines, but benchmark results on 32-bit machines have been mixed. Therefore, the default is to use base 2**30 on 64-bit machines and base 2**15 on 32-bit machines; on Unix, there's a new configure option ``--enable-big-digits`` that can be used to override this default.
|
|