summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-13 18:27:56 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-13 18:27:56 (GMT)
commitac23c9ea7f3c86bef03755a775cc058219260e9e (patch)
treef2310d569334fb7c3c7fd189c70c7c7568848cdf /Doc
parenteed1808dec59e299e3d81686a69f30af2ed3ef42 (diff)
downloadcpython-ac23c9ea7f3c86bef03755a775cc058219260e9e.zip
cpython-ac23c9ea7f3c86bef03755a775cc058219260e9e.tar.gz
cpython-ac23c9ea7f3c86bef03755a775cc058219260e9e.tar.bz2
Mention PEP 362: Function Signature Object in whatsnew.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.3.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 17f8fde..7cc439b 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -501,6 +501,23 @@ which stores the keys and their respective hashes). This reduces the memory
consumption of programs creating many instances of non-builtin types.
+PEP 362: Function Signature Object
+==================================
+
+:pep:`362`: - Function Signature Object
+ PEP written by Brett Cannon, Yury Selivanov, Larry Hastings, Jiwon Seo.
+ Implemented by Yury Selivanov.
+
+A new function :func:`inspect.signature` makes introspection of python
+callables easy and straightforward. A broad range of callables is supported:
+python functions, decorated or not, classes, and :func:`functools.partial`
+objects. New classes :class:`inspect.Signature`, :class:`inspect.Parameter`
+and :class:`inspect.BoundArguments` hold information about the call signatures,
+such as, annotations, default values, parameters kinds, and bound arguments,
+which considerably simplifies writing decorators and any code that validates
+or amends calling signatures or arguments.
+
+
Using importlib as the Implementation of Import
===============================================
:issue:`2377` - Replace __import__ w/ importlib.__import__