From: Petri Lehtinen Date: Fri, 15 Jun 2012 18:01:39 +0000 (+0300) Subject: #15036: Make a repeated changes and flushes work with single-file mailboxes X-Git-Tag: v3.3.0b1~237^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a717d563d0807b4c95231fcebfd3fd7b5d567c26;p=python #15036: Make a repeated changes and flushes work with single-file mailboxes --- a717d563d0807b4c95231fcebfd3fd7b5d567c26 diff --cc Misc/NEWS index ef0145de95,f9abb66720..d701044350 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,63 -10,78 +10,67 @@@ 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 #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 #14699: Fix calling the classmethod descriptor directly. - -- Issue #14433: Prevent msvcrt crash in interactive prompt when stdin - is closed. - -- Issue #11603 (again): Setting __repr__ to __str__ now raises a RuntimeError - when repr() or str() is called on such an object. +- Issue #14673: Add Eric Snow's sys.implementation implementation. -- Issue #14658: Fix binding a special method to a builtin implementation of a - special method with a different name. +Library +------- -- Issue #14630: Fix a memory access bug for instances of a subclass of int - with value 0. ++- Issue #15036: Allow removing or changing multiple items in ++ single-file mailboxes (mbox, MMDF, Babyl) flushing the mailbox ++ between the changes. + -- Issue #14612: Fix jumping around with blocks by setting f_lineno. +- Issue #14059: Implement multiprocessing.Barrier. -- Issue #14607: Fix keyword-only arguments which started with ``__``. +- 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 #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 #13841: Make child processes exit using sys.exit() on Windows. -- Issue #14474: Save and restore exception state in thread.start_new_thread() - while writing error message if the thread leaves a unhandled exception. +- Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API. + Patch by Robin Schreiber. -- Issue #13019: Fix potential reference leaks in bytearray.extend(). Patch - by Suman Saha. +- 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 #14378: Fix compiling ast.ImportFrom nodes with a "__future__" string as - the module name that was not interned. +- Rename adjusted attribute to adjustable in time.get_clock_info() result. -- Issue #14331: Use significantly less stack space when importing modules by - allocating path buffers on the heap instead of the stack. +- Issue #3518: Remove references to non-existent BaseManager.from_address() + method. -- Issue #14334: Prevent in a segfault in type.__getattribute__ when it was not - passed strings. +- Issue #13857: Added textwrap.indent() function (initial patch by Ezra + Berch) -- Issue #1469629: Allow cycles through an object's __dict__ slot to be - collected. (For example if ``x.__dict__ is x``). +- Issue #2736: Added datetime.timestamp() method. -- Issue #14172: Fix reference leak when marshalling a buffer-like object - (other than a bytes object). +- Issue #13854: Make multiprocessing properly handle non-integer + non-string argument to SystemExit. -- 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 #12157: Make pool.map() empty iterables correctly. Initial + patch by mouad. -- Issue #14471: Fix a possible buffer overrun in the winreg module. +- Issue #11823: disassembly now shows argument counts on calls with keyword args. -Library -------- +- Issue #14711: os.stat_float_times() has been deprecated. -- Issue #15036: Allow removing or changing multiple items in - single-file mailboxes (mbox, MMDF, Babyl) flushing the mailbox - between the changes. +- LZMAFile now accepts the modes "rb"/"wb"/"ab" as synonyms of "r"/"w"/"a". -- Issue #10133: Make multiprocessing deallocate buffer if socket read - fails. Patch by Hallvard B Furuseth. +- The bz2 and lzma modules now each contain an open() function, allowing + compressed files to readily be opened in text mode as well as binary mode. -- Issue #13854: Make multiprocessing properly handle non-integer - non-string argument to SystemExit. +- BZ2File.__init__() and LZMAFile.__init__() now accept a file object as their + first argument, rather than requiring a separate "fileobj" argument. -- Issue #12157: Make pool.map() empty iterables correctly. Initial - patch by mouad. +- gzip.open() now accepts file objects as well as filenames. - Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError when the path existed and had the S_ISGID mode bit set when it was