From: Petri Lehtinen Date: Mon, 18 Jun 2012 07:45:56 +0000 (+0300) Subject: Fix NEWS entry for #15036 X-Git-Tag: v3.3.0b1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10e65881d5baf13d186821fcf7451f25f06db95e;p=python Fix NEWS entry for #15036 --- 10e65881d5baf13d186821fcf7451f25f06db95e diff --cc Misc/NEWS index 3321b244da,02064c0a15..da360a462a --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,71 -10,72 +10,71 @@@ What's New in Python 3.3.0 Beta 1 Core and Builtins ----------------- -- Issue #14775: Fix a potential quadratic dict build-up due to the garbage - collector repeatedly trying to untrack dicts. - -- Issue #14494: Fix __future__.py and its documentation to note that - absolute imports are the default behavior in 3.0 instead of 2.7. - Patch by Sven Marnach. - -- Issue #14761: Fix potential leak on an error case in the import machinery. +- Issue #13783: Generator objects now use the identifier APIs internally -- Issue #14699: Fix calling the classmethod descriptor directly. +- Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels. + Patch by Serhiy Storchaka. -- Issue #14433: Prevent msvcrt crash in interactive prompt when stdin - is closed. +- Issue #15026: utf-16 encoding is now significantly faster (up to 10x). + Patch by Serhiy Storchaka. -- Issue #11603 (again): Setting __repr__ to __str__ now raises a RuntimeError - when repr() or str() is called on such an object. +- Issue #11022: open() and io.TextIOWrapper are now calling + locale.getpreferredencoding(False) instead of locale.getpreferredencoding() + in text mode if the encoding is not specified. Don't change temporary the + locale encoding using locale.setlocale(), use the current locale encoding + instead of the user preferred encoding. -- Issue #14658: Fix binding a special method to a builtin implementation of a - special method with a different name. +- Issue #14673: Add Eric Snow's sys.implementation implementation. -- Issue #14630: Fix a memory access bug for instances of a subclass of int - with value 0. +Library +------- -- Issue #14612: Fix jumping around with blocks by setting f_lineno. +- Issue #14657: The frozen instance of importlib used for bootstrap is now + also the module imported as importlib._bootstrap. -- Issue #14607: Fix keyword-only arguments which started with ``__``. +- Issue #14055: Add __sizeof__ support to _elementtree. -- Issue #13889: Check and (if necessary) set FPU control word before calling - any of the dtoa.c string <-> float conversion functions, on MSVC builds of - Python. This fixes issues when embedding Python in a Delphi app. +- Issue #15054: A bug in tokenize.tokenize that caused string literals + with 'b' prefixes to be incorrectly tokenized has been fixed. + Patch by Serhiy Storchaka. -- Issue #14474: Save and restore exception state in thread.start_new_thread() - while writing error message if the thread leaves a unhandled exception. +- Issue #15006: Allow equality comparison between naive and aware + time or datetime objects. -- Issue #13019: Fix potential reference leaks in bytearray.extend(). Patch - by Suman Saha. +- Issue #14982: Document that pkgutil's iteration functions require the + non-standard iter_modules() method to be defined by an importer (something + the importlib importers do not define). - - Issue #15036: Allow removing or changing multiple items in - single-file mailboxes (mbox, MMDF, Babyl) flushing the mailbox - between the changes. -- Issue #14378: Fix compiling ast.ImportFrom nodes with a "__future__" string as - the module name that was not interned. ++- Issue #15036: Mailbox no longer throws an error if a flush is done ++ between operations when removing or changing multiple items in mbox, ++ MMDF, or Babyl mailboxes. -- Issue #14331: Use significantly less stack space when importing modules by - allocating path buffers on the heap instead of the stack. +- Issue #14059: Implement multiprocessing.Barrier. -- Issue #14334: Prevent in a segfault in type.__getattribute__ when it was not - passed strings. +- Issue #15061: The inappropriately named hmac.secure_compare has been + renamed to hmac.compare_digest, restricted to operating on bytes inputs + only and had its documentation updated to more accurately reflect both its + intent and its limitations -- Issue #1469629: Allow cycles through an object's __dict__ slot to be - collected. (For example if ``x.__dict__ is x``). +- Issue #13841: Make child processes exit using sys.exit() on Windows. -- Issue #14172: Fix reference leak when marshalling a buffer-like object - (other than a bytes object). +- Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API. + Patch by Robin Schreiber. -- Issue #13521: dict.setdefault() now does only one lookup for the given key, - making it "atomic" for many purposes. Patch by Filip Gruszczyński. +- Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields + in struct tm, time.struct_time objects returned by time.gmtime(), + time.localtime() and time.strptime() functions now have tm_zone and + tm_gmtoff attributes. Original patch by Paul Boddie. -- Issue #14471: Fix a possible buffer overrun in the winreg module. +- Rename adjusted attribute to adjustable in time.get_clock_info() result. -Library -------- +- Issue #3518: Remove references to non-existent BaseManager.from_address() + method. -- Issue #15036: Mailbox no longer throws an error if a flush is done - between operations when removing or changing multiple items in mbox, - MMDF, or Babyl mailboxes. +- Issue #13857: Added textwrap.indent() function (initial patch by Ezra + Berch) -- Issue #10133: Make multiprocessing deallocate buffer if socket read - fails. Patch by Hallvard B Furuseth. +- Issue #2736: Added datetime.timestamp() method. - Issue #13854: Make multiprocessing properly handle non-integer non-string argument to SystemExit.