summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue 24298: Fix signature() to properly unwrap wrappers around bound methodsYury Selivanov2015-05-281-0/+9
|\
| * Issue 24298: Fix signature() to properly unwrap wrappers around bound methodsYury Selivanov2015-05-281-0/+8
| |
* | Issue 20438: Adjust stacklevel of inspect.getargspec() warning.Yury Selivanov2015-05-221-1/+2
| |
* | Issue 20438: Deprecate inspect.getargspec() and friends.Yury Selivanov2015-05-221-1/+4
| |
* | Set stacklevel to 2 to get more accurate warning messages from deprecated ↵Berker Peksag2015-05-211-2/+4
| | | | | | | | functions.
* | Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__Yury Selivanov2015-05-211-3/+3
|\ \ | |/ | | | | Patch by Mike Bayer.
| * Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__Yury Selivanov2015-05-211-3/+3
| |
| * inspect: Fix getsource() to load updated source of reloaded moduleYury Selivanov2014-12-081-5/+11
| | | | | | | | Issue #1218234. Initial patch by Berker Peksag.
* | Issue 24017: Use abc.Coroutine in inspect.iscoroutine() functionYury Selivanov2015-05-211-2/+1
| |
* | Issue 24248: Deprecate inspect.Signature.from_function and .from_builtinYury Selivanov2015-05-211-0/+6
| |
* | inspect.Signature: Factor out Signature.from_function to a private helperYury Selivanov2015-05-201-78/+83
| |
* | Issue 20691: Add follow_wrapped arg to inspect.signature/from_callable.Yury Selivanov2015-05-201-4/+5
| |
* | Issue 24205: Improve inspect.Signature.bind() error messages.Yury Selivanov2015-05-191-6/+10
| |
* | 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