summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue 24190: Add inspect.BoundArguments.apply_defaults() method.Yury Selivanov2015-05-161-0/+30
| |
* | inspect: Remove "0x..." IDs from Signature objects' __repr__Yury Selivanov2015-05-151-6/+3
| | | | | | | | Issue 24200.
* | Issue 22547: Implement informative __repr__ for inspect.BoundArgumentsYury Selivanov2015-05-141-0/+7
| |
* | inspect: Micro-optimize __eq__ for Signature, Parameter and BoundArgumentsYury Selivanov2015-05-141-10/+22
| | | | | | | | Provide __ne__ method for consistency.
* | inspect: Add __slots__ to BoundArguments.Yury Selivanov2015-05-131-0/+9
| |
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-2/+24
| |
* | Issue #21217: inspect.getsourcelines() now tries to compute the start andAntoine Pitrou2015-04-141-14/+23
| | | | | | | | | | end lines from the code object, fixing an issue when a lambda function is used as decorator argument. Patch by Thomas Ballinger.
* | Issue #15582: inspect.getdoc() now follows inheritance chains.Serhiy Storchaka2015-04-031-0/+73
| |
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-9/+0
| | | | | | | | implementation in issue #21408 they are redundant.
* | inspect: Fix getsource() to load updated source of reloaded moduleYury Selivanov2014-12-081-5/+11
| | | | | | | | Issue #1218234. Initial patch by Berker Peksag.
* | Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
|\ \ | |/ | | | | Patch by Févry Thibault.
| * Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
| | | | | | | | Patch by Févry Thibault.
| * inspect: Validate that __signature__ is None or an instance of Signature.Yury Selivanov2014-06-231-0/+4
| | | | | | | | Closes #21801.
| * inspect.signautre: Fix functools.partial support. Issue #21117Yury Selivanov2014-04-081-73/+62
| |
| * inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.Yury Selivanov2014-03-271-1/+1
| | | | | | | | Patch by Jeremiah Lowin. Closes #20817.
| * inspect: Fix getcallargs() to raise correct TypeErrorYury Selivanov2014-03-271-1/+1
| | | | | | | | | | ... for missing keyword-only arguments. Patch by Jeremiah Lowin. Closes #20816.
| * inspect.signature: Check for function-like objects before builtins. Issue #17159Yury Selivanov2014-02-211-4/+4
| |
| * inspect: Fix getfullargspec to support builtin module-level functions. Issue ↵Yury Selivanov2014-02-211-2/+9
| | | | | | | | #20711
| * inspect: Fix getfullargspec() to not to follow __wrapped__ chainsYury Selivanov2014-02-191-46/+65
| | | | | | | | Initial patch by Nick Coghlan.
* | inspect: Fix getsource() to support decorated functions.Yury Selivanov2014-09-261-0/+1
| | | | | | | | Issue #1764286. Patch by Claudiu Popa.
* | inspect.Signature: Fix discrepancy between __eq__ and __hash__.Yury Selivanov2014-09-121-39/+14
| | | | | | | | Issue #20334. Thanks to Antony Lee for bug report & initial patch.
* | Issue #16808: inspect.stack() now returns a named tuple instead of a tuple.Antoine Pitrou2014-08-241-2/+6
| | | | | | | | Patch by Daniel Shahaf.
* | Issue #22032: __qualname__ instead of __name__ is now always used to formatSerhiy Storchaka2014-07-221-2/+2
| | | | | | | | fully qualified class names of Python implemented classes.
* | Fix getargspec() doctring (varkw -> keywords).Guido van Rossum2014-07-151-4/+3
| |
* | inspect: Validate that __signature__ is None or an instance of Signature.Yury Selivanov2014-06-231-0/+4
| | | | | | | | Closes #21801.
* | inspect: Make Signature and Parameter hashable. Issue #20334.Yury Selivanov2014-04-081-0/+16
| |
* | inspect.signautre: Fix functools.partial support. Issue #21117Yury Selivanov2014-04-081-76/+63
| |
* | inspect: Remove references to Python-3000Yury Selivanov2014-04-011-2/+2
| |
* | inspect: Update docstrings; Rename _signature_internal to ↵Yury Selivanov2014-03-291-57/+78
| | | | | | | | _signature_from_callable.
* | inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.Yury Selivanov2014-03-271-1/+1
| | | | | | | | Patch by Jeremiah Lowin. Closes #20817.
* | inspect: Fix getcallargs() to raise correct TypeErrorYury Selivanov2014-03-271-1/+1
| | | | | | | | | | ... for missing keyword-only arguments. Patch by Jeremiah Lowin. Closes #20816.
* | inspect.signature: Improve repr of Signature and Parameter. Closes #20378Yury Selivanov2014-03-271-2/+6
| |
* | inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373Yury Selivanov2014-03-271-30/+56
| |
* | inspect.signature: Make Signature and Parameter picklable. Closes #20726Yury Selivanov2014-03-271-0/+20
| |
* | inspect.signature: Use enum for parameter kind constants. Closes #19573Yury Selivanov2014-03-271-14/+13
| | | | | | | | Patch by Antony Lee.
* | inspect.signature: Check for function-like objects before builtins. Issue #17159Yury Selivanov2014-02-211-4/+4
| |
* | inspect: Fix getfullargspec to support builtin module-level functions. Issue ↵Yury Selivanov2014-02-211-2/+9
| | | | | | | | #20711
* | inspect: Fix getfullargspec() to not to follow __wrapped__ chainsYury Selivanov2014-02-191-46/+65
|/ | | | Initial patch by Nick Coghlan.
* Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-091-23/+92
| | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* inspect.signature: Add (restore) support for builtin classes #20473Yury Selivanov2014-02-031-131/+164
|
* inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'Yury Selivanov2014-02-021-1/+2
|
* inspect: Add some comments in Parameter.__eq__ methodYury Selivanov2014-01-311-0/+11
|
* inspect.Signauture.from_function: validate duck functions in Signature ↵Yury Selivanov2014-01-311-5/+11
| | | | constructor #17159
* inspect.signature: Support duck-types of Python functions (Cython, for ↵Yury Selivanov2014-01-311-2/+30
| | | | instance) #17159
* inspect.classify_class_attrs: Classify object.__new__ and __init__ correctly ↵Yury Selivanov2014-01-311-1/+1
| | | | #18801
* inspect.Signature.from_function: Use CO_VARARGS & CO_VARKEYWORDS constantsYury Selivanov2014-01-291-3/+3
|
* inspect.signature: Make sure that if a callable object has '_patialmethod'Yury Selivanov2014-01-291-11/+12
| | | | attribute, that attribute is an instance of 'functools.partialmethod'.
* inspect.Signature.bind: Update method signature to rule out possiblityYury Selivanov2014-01-291-4/+4
| | | | | of name conflict between '__bind_self' and actual keyword argument to 'bind' or 'bind_partial'.
* inspect: Rename private helper functionYury Selivanov2014-01-291-5/+5
|
* inspect.getfullargspec: Use inspect.signature API behind the scenes #17481Yury Selivanov2014-01-291-6/+105
|