summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
Commit message (Collapse)AuthorAgeFilesLines
* whatsnew/3.5: Mention new ssl memory bioYury Selivanov2015-08-051-5/+14
|
* whatsnew/3.5: Mention 'typing' module docs in seealso for pep 484Yury Selivanov2015-08-051-1/+2
|
* whatsnew: Add pep 448 to new syntax features sectionYury Selivanov2015-08-041-0/+1
|
* whatsnew/3.5: Briefly mention PEP 484Yury Selivanov2015-08-041-0/+22
|
* whatsnew/3.5: Mention PEP 448Yury Selivanov2015-08-041-0/+43
|
* whatsnew/3.5: Mention that 'async' is a bad name for modulesYury Selivanov2015-08-031-3/+3
|
* Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.Berker Peksag2015-07-301-0/+7
| | | | Patch by Martin Panter.
* What's New in Python 3.5: document os.urandom() changesVictor Stinner2015-07-291-0/+5
|
* What's New in Python 3.5: document socket.sendall() change on timeoutVictor Stinner2015-07-281-0/+4
|
* What's New in Python 3.5: Document ssl methods change on timeoutVictor Stinner2015-07-281-0/+9
|
* What's New in Python 3.5: move PEP 475 docVictor Stinner2015-07-281-52/+65
|
* Issue #24642: Adds installer notes and links to What's New for 3.5Steve Dower2015-07-171-0/+10
|
* Fix usage of the default role.Zachary Ware2015-07-071-1/+1
|
* Issue #24400: Resurrect inspect.isawaitable()Yury Selivanov2015-07-031-2/+3
| | | | | | | | collections.abc.Awaitable and collections.abc.Coroutine no longer use __instancecheck__ hook to detect generator-based coroutines. inspect.isawaitable() can be used to detect generator-based coroutines and to distinguish them from regular generator objects.
* Close #24458: PEP 489 documentationNick Coghlan2015-07-031-2/+2
| | | | Patch by Petr Viktorin.
* Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-0/+2
|
* Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.Yury Selivanov2015-07-031-0/+3
| | | | Patch by Benno Leslie and Yury Selivanov.
* Merge 3.4Benjamin Peterson2015-07-021-1/+1
|\
| * remove stray '(' (closes #24547)Benjamin Peterson2015-07-021-1/+1
| |
| * Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple ↵Senthil Kumaran2015-06-152-4/+4
| | | | | | | | | | | | | | | | | | documentation typos. Related Issues: #issue21528 #issue24453
* | Issue #24400: Remove inspect.isawaitable().Yury Selivanov2015-06-301-3/+2
| | | | | | | | | | | | isawaitable() was added before collections.abc.Awaitable; now, with Awaitable, it is no longer needed (we don't have ishashable() or isiterable() methods in the inspect module either).
* | upgrade to Unicode 8.0.0Benjamin Peterson2015-06-271-0/+7
| |
* | docs.whatsnew: Update ref to tp_as_asyncYury Selivanov2015-06-231-1/+1
| |
* | Issue #24400: Introduce a distinct type for 'async def' coroutines.Yury Selivanov2015-06-221-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes: 1. Coroutines now have a distinct, separate from generators type at the C level: PyGen_Type, and a new typedef PyCoroObject. PyCoroObject shares the initial segment of struct layout with PyGenObject, making it possible to reuse existing generators machinery. The new type is exposed as 'types.CoroutineType'. As a consequence of having a new type, CO_GENERATOR flag is no longer applied to coroutines. 2. Having a separate type for coroutines made it possible to add an __await__ method to the type. Although it is not used by the interpreter (see details on that below), it makes coroutines naturally (without using __instancecheck__) conform to collections.abc.Coroutine and collections.abc.Awaitable ABCs. [The __instancecheck__ is still used for generator-based coroutines, as we don't want to add __await__ for generators.] 3. Add new opcode: GET_YIELD_FROM_ITER. The opcode is needed to allow passing native coroutines to the YIELD_FROM opcode. Before this change, 'yield from o' expression was compiled to: (o) GET_ITER LOAD_CONST YIELD_FROM Now, we use GET_YIELD_FROM_ITER instead of GET_ITER. The reason for adding a new opcode is that GET_ITER is used in some contexts (such as 'for .. in' loops) where passing a coroutine object is invalid. 4. Add two new introspection functions to the inspec module: getcoroutinestate(c) and getcoroutinelocals(c). 5. inspect.iscoroutine(o) is updated to test if 'o' is a native coroutine object. Before this commit it used abc.Coroutine, and it was requested to update inspect.isgenerator(o) to use abc.Generator; it was decided, however, that inspect functions should really be tailored for checking for native types. 6. sys.set_coroutine_wrapper(w) API is updated to work with only native coroutines. Since types.coroutine decorator supports any type of callables now, it would be confusing that it does not work for all types of coroutines. 7. Exceptions logic in generators C implementation was updated to raise clearer messages for coroutines: Before: TypeError("generator raised StopIteration") After: TypeError("coroutine raised StopIteration")
* | Issue #24423: Fix formatting error in 3.5 whatsnewNed Deily2015-06-101-2/+2
| |
* | Issue 24180: Mention sys.(get|set)_coroutine_wrapper in whatsnewYury Selivanov2015-05-311-0/+6
| |
* | minor fix of module order in whatsnew/3.5Tal Einat2015-05-311-8/+8
| |
* | Issue #19543: Implementation of isclose as per PEP 485Tal Einat2015-05-311-0/+21
| | | | | | | | | | | | | | | | | | For details, see: PEP 0485 -- A Function for testing approximate equality Functions added: math.isclose() and cmath.isclose(). Original code by Chris Barker. Patch by Tal Einat.
* | Issue #24284: The startswith and endswith methods of the str class no longerSerhiy Storchaka2015-05-311-0/+4
| | | | | | | | | | return True when finding the empty string and the indexes are completely out of range.
* | improve section titleBenjamin Peterson2015-05-311-2/+2
| |
* | Reverting my previous commit.Yury Selivanov2015-05-302-167/+0
| | | | | | | | Something went horribly wrong when I was doing `hg rebase`.
* | Merge 3.5Yury Selivanov2015-05-302-0/+167
|\ \
| * | docs/whatsnew/3.6: Mention that 'async' and 'await' will be keywords in 3.7Yury Selivanov2015-05-281-0/+8
| | |
| * | Merge 3.5Yury Selivanov2015-05-281-0/+8
| |\ \
| * | | Add whatsnew for 3.6Yury Selivanov2015-05-282-0/+159
| | | |
* | | | docs/whatsnew: Mention OrderedDict C implementationYury Selivanov2015-05-301-0/+4
| |/ / |/| |
* | | docs/whatsnew: Mention that 'async' and 'await' will be keywords in 3.7Yury Selivanov2015-05-281-0/+8
|/ /
* | rephraseBenjamin Peterson2015-05-271-7/+7
| |
* | Fix bad indent in whatsnew/3.5.rst.Guido van Rossum2015-05-231-1/+1
| |
* | Add pointer to IDLE what's new file.Terry Jan Reedy2015-05-231-0/+9
| |
* | Merge with 3.4Terry Jan Reedy2015-05-231-1/+1
|\ \ | |/
| * whitespaceTerry Jan Reedy2015-05-231-1/+1
| |
* | Merge with 3.4Terry Jan Reedy2015-05-231-0/+10
|\ \ | |/
| * Add pointer to IDLE what's new file.Terry Jan Reedy2015-05-231-0/+10
| |
* | Fix Sphinx warnings.Berker Peksag2015-05-231-1/+1
| |
* | PEP 489: Multi-phase extension module initializationNick Coghlan2015-05-231-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles.
* | Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dirGregory P. Smith2015-05-221-1/+6
| | | | | | | | parameters and returns bytes in such situations (matching the os module APIs).
* | Issue 20438: Add a note about deprecating old inspect APIs to whatsnew.Yury Selivanov2015-05-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, deprecate formatargspec, formatargvalues, and getargvalues functions. Since we are deprecating 'getfullargspec' function in 3.5 (documentation only, no DeprecationWarning), it makes sense to also deprecate functions designed to be directly used with it. In 3.6 we will remove 'getargsspec' function (was deprecated since Python 3.0), and start raising DeprecationWarnings in other 'getarg*' family of functions. We can remove them in 3.7 or later. Also, it is worth noting, that Signature API does not provide 100% of functionality that deprecated APIs have. It is important to do a soft deprecation of outdated APIs in 3.5 to gather users feedback, and improve Signature object.
* | Fix extraneous BOM in whatsnew.Zachary Ware2015-05-221-1/+1
| | | | | | | | That's what I get for using Notepad to make a quick edit...
* | Issue #20035: Reimplement tkinter._fix module as a C function.Zachary Ware2015-05-221-1/+9
| | | | | | | | | | The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.