diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 19:38:46 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 19:38:46 (GMT) |
commit | 4700d86488bc675713802e380ccd9378774d7e92 (patch) | |
tree | 2659469805e659240c824918053fc1dd6e8a18fd /Doc/whatsnew | |
parent | b93626404cf5d8f9c39082de6fd7f1d048996980 (diff) | |
parent | 3c35fdb8fbf72c750ab19036b6145751ccbec856 (diff) | |
download | cpython-4700d86488bc675713802e380ccd9378774d7e92.zip cpython-4700d86488bc675713802e380ccd9378774d7e92.tar.gz cpython-4700d86488bc675713802e380ccd9378774d7e92.tar.bz2 |
Merge from 3.6.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 3beea09..5b5884d 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -1155,6 +1155,13 @@ implicit ``.0`` parameters generated by the compiler for comprehension and generator expression scopes as if they were positional-only parameters called ``implicit0``. (Contributed by Jelle Zijlstra in :issue:`19611`.) +To reduce code churn when upgrading from Python 2.7 and the legacy +:func:`inspect.getargspec` API, the previously documented deprecation of +:func:`inspect.getfullargspec` has been reversed. While this function is +convenient for single/source Python 2/3 code bases, the richer +:func:`inspect.signature` interface remains the recommended approach for new +code. (Contributed by Nick Coghlan in :issue:`27172`) + json ---- |