Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 20438: Add a note about deprecating old inspect APIs to whatsnew. | Yury Selivanov | 2015-05-22 | 1 | -2/+19 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Issue 20438: Deprecate inspect.getargspec() and friends. | Yury Selivanov | 2015-05-22 | 1 | -6/+7 |
| | |||||
* | Issue 24180: Fixes by Berker Peksag. | Yury Selivanov | 2015-05-21 | 1 | -7/+5 |
| | |||||
* | Issue 24180: Documentation for PEP 492 changes. | Yury Selivanov | 2015-05-21 | 1 | -0/+41 |
| | |||||
* | Issue 20691: Add follow_wrapped arg to inspect.signature/from_callable. | Yury Selivanov | 2015-05-20 | 1 | -4/+10 |
| | |||||
* | Add versionadded directive for BoundArguments.apply_defaults(). | Berker Peksag | 2015-05-16 | 1 | -0/+2 |
| | |||||
* | Issue 24190: Add inspect.BoundArguments.apply_defaults() method. | Yury Selivanov | 2015-05-16 | 1 | -21/+20 |
| | |||||
* | Issue 24191: Document BoundArguments.signature | Yury Selivanov | 2015-05-14 | 1 | -0/+4 |
|\ | |||||
| * | Issue 24191: Document BoundArguments.signature | Yury Selivanov | 2015-05-14 | 1 | -0/+4 |
| | | |||||
| * | docs.inspect: Fix BoundArguments example. Issue #22998. | Yury Selivanov | 2014-12-05 | 1 | -1/+2 |
| | | |||||
* | | Issue #15582: inspect.getdoc() now follows inheritance chains. | Serhiy Storchaka | 2015-04-03 | 1 | -0/+3 |
| | | |||||
* | | docs.inspect: Fix BoundArguments example. Issue #22998. | Yury Selivanov | 2014-12-05 | 1 | -1/+2 |
| | | |||||
* | | merge with 3.4 | Georg Brandl | 2014-10-31 | 1 | -10/+13 |
|\ \ | |/ | |||||
| * | #22613: minor other fixes in library docs (thanks Jacques Ducasse) | Georg Brandl | 2014-10-31 | 1 | -10/+13 |
| | | |||||
| * | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -0/+5 |
| | | |||||
* | | Issue #16808: inspect.stack() now returns a named tuple instead of a tuple. | Antoine Pitrou | 2014-08-24 | 1 | -2/+8 |
| | | | | | | | | Patch by Daniel Shahaf. | ||||
* | | Issue #21205: Complete the "versionchanged" note in inspect documentation | Victor Stinner | 2014-06-16 | 1 | -1/+3 |
| | | |||||
* | | Issue #21205: Add a new ``__qualname__`` attribute to generator, the qualified | Victor Stinner | 2014-06-16 | 1 | -0/+14 |
| | | | | | | | | | | | | | | name, and use it in the representation of a generator (``repr(gen)``). The default name of the generator (``__name__`` attribute) is now get from the function instead of the code. Use ``gen.gi_code.co_name`` to get the name of the code. | ||||
* | | inspect: Make Signature and Parameter hashable. Issue #20334. | Yury Selivanov | 2014-04-08 | 1 | -2/+2 |
| | | |||||
* | | inspect.docs: Document that Signature and Parameter are now picklable (issue ↵ | Yury Selivanov | 2014-03-29 | 1 | -0/+6 |
| | | | | | | | | #20726) | ||||
* | | inspect.docs: Fix indentation and version-added for Signature.from_callable | Yury Selivanov | 2014-03-29 | 1 | -1/+3 |
| | | |||||
* | | inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373 | Yury Selivanov | 2014-03-27 | 1 | -0/+12 |
| | | |||||
* | | Improve descriptions of introspection changes | Nick Coghlan | 2014-03-08 | 1 | -0/+5 |
|/ | | | | | | | | | Several of the introspection changes in Python 3.4 are indirect, where inspect module changes affected pydoc, and those in turn affected the help builtin. This update adds versionchanged notes in the key locations, as well as more coverage in the What's New document (in particular, a note in the porting section regarding the expanded domain for inspect.getfullargspec). | ||||
* | inspect.doc: Soften the note about inspect.signature not supporting | Yury Selivanov | 2014-01-30 | 1 | -2/+2 |
| | | | | all builtin functions. | ||||
* | inspect.docs: Document constructors for Signature & Parameter #20442 | Yury Selivanov | 2014-01-30 | 1 | -2/+11 |
| | |||||
* | inspect.signature: Use '/' to separate positional-only parameters from | Yury Selivanov | 2014-01-27 | 1 | -3/+6 |
| | | | | the rest in Signature.__str__. #20356 | ||||
* | doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380 | Yury Selivanov | 2014-01-27 | 1 | -1/+6 |
| | |||||
* | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -0/+3 |
| | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | merge 3.3 (closes #20108) | Benjamin Peterson | 2014-01-02 | 1 | -1/+1 |
|\ | |||||
| * | remove brackets | Benjamin Peterson | 2014-01-02 | 1 | -1/+1 |
| | | |||||
* | | Assorted 3.4 What's New updates | Nick Coghlan | 2013-10-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - cross-references and attributions for inspect changes - note improvements to inspect and pydoc handling of metaclasses and dynamic attributes (courtesy of the enum PEP) - group all CPython implementation specific changes into a common section - add see also links for most of the PEPs - fix the see also link for the release PEP - add suitable caveats on Argument Clinic inclusion - clarify the change to __wrapped__ handling | ||||
* | | Close #19030: inspect.getmembers and inspect.classify_class_attrs | Ethan Furman | 2013-10-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | Order of search is now: 1. Try getattr 2. If that throws an exception, check __dict__ directly 3. If still not found, walk the mro looking for the eldest class that has the attribute (e.g. things returned by __getattr__) 4. If none of that works (e.g. due to a buggy __dir__, __getattr__, etc. method or missing __slot__ attribute), ignore the attribute entirely. | ||||
* | | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -2/+3 |
| | | |||||
* | | Close #18626: add a basic CLI for the inspect module | Nick Coghlan | 2013-09-22 | 1 | -0/+17 |
| | | |||||
* | | Close #18929: inspect.classify_class_attrs will now search the metaclasses ↵ | Ethan Furman | 2013-09-15 | 1 | -2/+3 |
| | | | | | | | | (last) to find where an attr was defined. | ||||
* | | Issue #17934: Add a clear() method to frame objects, to help clean up ↵ | Antoine Pitrou | 2013-08-05 | 1 | -0/+4 |
| | | | | | | | | expensive details (local variables) and break reference cycles. | ||||
* | | Close #13266: Add inspect.unwrap | Nick Coghlan | 2013-07-28 | 1 | -0/+17 |
|/ | | | | Initial patch by Daniel Urban and Aaron Iles | ||||
* | Closes #4159: add LaTeX tabular column specifications to tables that ↵ | Georg Brandl | 2013-03-28 | 1 | -0/+2 |
| | | | | otherwise are cut off or have overlapping text. | ||||
* | Issue #16243: add example for inspect.formatargspec | Andrew Svetlov | 2012-10-26 | 1 | -2/+9 |
| | | | | Patch by Berker Peksag. | ||||
* | Mention that "defaults" can be None for inspect.getfullargspec. | Larry Hastings | 2012-09-21 | 1 | -5/+6 |
| | | | | Also minor formatting cleanups. | ||||
* | #15831: merge with 3.2 | Ezio Melotti | 2012-09-14 | 1 | -2/+2 |
|\ | |||||
* | | Review of signature docs. | Georg Brandl | 2012-08-14 | 1 | -65/+62 |
| | | |||||
* | | Minor update of docs for inspect module. | Andrew Svetlov | 2012-08-13 | 1 | -1/+1 |
| | | |||||
* | | Issue #15151: PEP 362 — document signature and related classes for inspect.py | Andrew Svetlov | 2012-08-13 | 1 | -0/+268 |
| | | | | | | | | Initial patch by Yury Selivanov | ||||
* | | Fix documentation for inspect module to pass doctest | Andrew Svetlov | 2012-08-09 | 1 | -5/+5 |
| | | |||||
* | | Close #15387: inspect.getmodulename() now uses a new ↵ | Nick Coghlan | 2012-07-18 | 1 | -3/+12 |
| | | | | | | | | importlib.machinery.all_suffixes() API rather than the deprecated inspect.getmoduleinfo() | ||||
* | | Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing ↵ | Nick Coghlan | 2012-06-23 | 1 | -0/+24 |
| | | | | | | | | of generator state updates | ||||
* | | Close #13062: Add inspect.getclosurevars to simplify testing stateful closures | Nick Coghlan | 2012-06-23 | 1 | -0/+16 |
| | | |||||
* | | Issue #13959: Deprecate imp.get_suffixes() for new attributes on | Brett Cannon | 2012-05-11 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense. |