6.31 time 6.32 sys 6.33 tracemalloc 6.34 typing 6.35 unicodedata 6.36 venv 6.37 xml 12 White space characters within attributes are now preserved when serializing$_{xml.etree.ElementTree}$ to XML file. EOLNs are no longer normalized to “n”. This is the result of discussion about how to interpret section 2.11 of XML spec. (Contributed by Mefistotelis in bpo-39011.) The activation scripts provided by$_{venv}$ now all specify their prompt customization consistently by always using the value specified by$_{__VENV_PROMPT__}$. Previously some scripts unconditionally used$_{__VENV_PROMPT__}$, oth- ers only if it happened to be set (which was the default case), and one used$_{__VENV_NAME__}$instead. (Contributed by Brett Cannon in bpo-37663.) The Unicode database has been updated to version 13.0.0. (bpo-39926). PEP 593 introduced an$_{typing.Annotated}$ type to decorate existing types with context-specific metadata and new$_{include_extras}$ parameter to$_{typing.get_type_hints()}$ to access the metadata at runtime. (Con- tributed by Till Varoquaux and Konstantin Kashin.) Added tracemalloc.reset_peak() to set the peak size of traced memory blocks to the current size, to measure the peak of specific pieces of code. (Contributed by Huon Wilson in bpo-40630.) Previously,$_{sys.stderr}$was block-buffered when non-interactive. Now$_{stderr}$ defaults to always being line- buffered. (Contributed by Jendrik Seipp in bpo-13601.) Added a new sys.platlibdir attribute: name of the platform-specific library directory. It is used to build the path of standard library and the paths of installed extension modules. It is equal to "lib" on most platforms. On Fe- dora and SuSE, it is equal to$_{"lib64"}$ on 64-bit platforms. (Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in bpo-1294959.) On AIX,$_{thread_time()}$ is now implemented with$_{thread_cputime()}$ which has nanosecond resolution, rather than$_{clock_gettime(CLOCK_THREAD_CPUTIME_ID)}$ which has a resolution of 10 ms. (Contributed by Batuhan Taskaya in bpo-40192)