a @ b.
typing (Type Hints) and zipapp (Improved Python ZIP Application Support).
bytes % args, bytearray % args.
bytes.hex(), bytearray.hex() and memoryview.hex() methods. (Contributed by Arnon Yaari in issue 9951.)
memoryview now supports tuple indexing (including multi-dimensional). (Contributed by Antoine Pitrou in issue 23632.)
RecursionError exception is now raised when maximum recursion depth is reached. (Contributed by Georg Brandl in issue 19235.)
collections.OrderedDict is now implemented in C, which makes it 4 to 100 times faster.
os.scandir() function provides a better and significantly faster way of directory traversal.
SSLv3 is now disabled throughout the standard library. It can still be enabled by instantiating a ssl.SSLContext manually. This change has also been backported to CPython 3.4 and 2.7.
4.2 in Fedora 24. Notable changes include:
Important
PasswordDeriveBytes class. See http://www.mono-project.com/docs/about-mono/releases/4.2.1/#systemsecuritycryptography-changes for more information.
PPDB debugging format.
"str".freeze has been optimized to reduce object allocation. Ruby 2.3 introduces a new magic comment and command line option to freeze all string literals in the source files. Additionally for debugging, you can get where the object is created on can't modify frozen String error by --enable-frozen-string-literal-debug.
obj&.foo. Array#dig and Hash#dig are also available.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as experimental features.
did_you_mean gem is bundled. This gem provides suggestions on NameError and NoMethodError to ease debugging.
$SAFE=2 and $SAFE=3 are now obsolete.
Important
Client.last_sent() and Client.last_received() have been removed. See the relevant upstream issue for a workaround.
glibc) is upgraded to version 2.23 in Fedora 24. The upgraded version brings improved performance, a significant amount of bug fixes, improvements to POSIX compliance, additional locales, and other improvements. For full information about the new release, see the upstream NEWS at https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;hb=HEAD.
librtkaio). Instead, the binary compatible POSIX Realtime library (librt) will be used for all applications. Applications expecting librtkaio may experience a performance degradation and it is suggested they upgrade to libaio. A compatibility symlink is being provided for this release to ensure a smooth transition; however, this symlink may be removed in future releases.
glibc provides localized strings, totalling over 100MB on disk in the locale archive at /usr/lib/locale/locale-archive. Fedora now provides glibc translations for each locale in a separate package, reducing unnecessary disk usage. Use the glibc-all-langpacks package to provide all locales, or install the glibc-langpack-language code package for a given language code.
-std=gnu++14 instead of -std=gnu++98.
musl C library. It can be selected using the new -mmusl option.