Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+1 |
|\ | | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | ||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+1 |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
| * | inspect: Fix getsource() to load updated source of reloaded module | Yury Selivanov | 2014-12-08 | 1 | -1/+32 |
| | | | | | | | | Issue #1218234. Initial patch by Berker Peksag. | ||||
* | | inspect: Fix getsource() to load updated source of reloaded module | Yury Selivanov | 2014-12-08 | 1 | -1/+32 |
| | | | | | | | | Issue #1218234. Initial patch by Berker Peksag. | ||||
* | | Merge: #12780: update inspect test skipIf for PEP 3147. | R David Murray | 2014-10-03 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | #12780: update inspect test skipIf for PEP 3147. | R David Murray | 2014-10-03 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | The test needs to be skipped if unicodedata is either part of the main binary (a repackaging of cpython on Windows?) or has python source (pypy?). PEP 3147 makes __file__ point to the .py source, so we need to change the extension check from looking for the old .pyc/.pyo to just looking for .py. Note that this skip should never trigger on CPython itself, so one could argue it should be dropped instead. But since it exists, why risk breaking someone else's python. | ||||
| * | inspect: Validate that __signature__ is None or an instance of Signature. | Yury Selivanov | 2014-06-23 | 1 | -0/+7 |
| | | | | | | | | Closes #21801. | ||||
| * | inspect.signautre: Fix functools.partial support. Issue #21117 | Yury Selivanov | 2014-04-08 | 1 | -20/+79 |
| | | |||||
| * | inspect: Fix getcallargs() to fail correctly if more than 3 args are missing. | Yury Selivanov | 2014-03-27 | 1 | -0/+6 |
| | | | | | | | | Patch by Jeremiah Lowin. Closes #20817. | ||||
| * | inspect: Fix getcallargs() to raise correct TypeError | Yury Selivanov | 2014-03-27 | 1 | -0/+8 |
| | | | | | | | | | | ... for missing keyword-only arguments. Patch by Jeremiah Lowin. Closes #20816. | ||||
| * | Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__ | Yury Selivanov | 2014-03-02 | 1 | -0/+5 |
| | | |||||
| * | inspect.signature: Check for function-like objects before builtins. Issue #17159 | Yury Selivanov | 2014-02-21 | 1 | -0/+16 |
| | | |||||
| * | inspect: Fix getfullargspec to support builtin module-level functions. Issue ↵ | Yury Selivanov | 2014-02-21 | 1 | -0/+7 |
| | | | | | | | | #20711 | ||||
| * | inspect: Fix getfullargspec() to not to follow __wrapped__ chains | Yury Selivanov | 2014-02-19 | 1 | -0/+40 |
| | | | | | | | | Initial patch by Nick Coghlan. | ||||
| * | Mangle __parameters in __annotations__ dict properly. Issue #20625. | Yury Selivanov | 2014-02-18 | 1 | -0/+16 |
| | | |||||
* | | inspect: Fix getsource() to support decorated functions. | Yury Selivanov | 2014-09-26 | 1 | -0/+3 |
| | | | | | | | | Issue #1764286. Patch by Claudiu Popa. | ||||
* | | inspect.Signature: Fix discrepancy between __eq__ and __hash__. | Yury Selivanov | 2014-09-12 | 1 | -0/+24 |
| | | | | | | | | 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 Pitrou | 2014-08-24 | 1 | -0/+8 |
| | | | | | | | | Patch by Daniel Shahaf. | ||||
* | | Issue #20184: Add signature introspection for 30 of the builtins | Nick Coghlan | 2014-08-17 | 1 | -1/+53 |
| | | | | | | | | | | Also adds a test to test_inspect to track progress on builtin introspection support, to ensure it doesn't regress in the future. | ||||
* | | inspect: Validate that __signature__ is None or an instance of Signature. | Yury Selivanov | 2014-06-23 | 1 | -0/+7 |
| | | | | | | | | Closes #21801. | ||||
* | | inspect: Make Signature and Parameter hashable. Issue #20334. | Yury Selivanov | 2014-04-08 | 1 | -10/+30 |
| | | |||||
* | | inspect.signautre: Fix functools.partial support. Issue #21117 | Yury Selivanov | 2014-04-08 | 1 | -22/+79 |
| | | |||||
* | | inspect: Fix getcallargs() to fail correctly if more than 3 args are missing. | Yury Selivanov | 2014-03-27 | 1 | -0/+6 |
| | | | | | | | | Patch by Jeremiah Lowin. Closes #20817. | ||||
* | | inspect: Fix getcallargs() to raise correct TypeError | Yury Selivanov | 2014-03-27 | 1 | -0/+8 |
| | | | | | | | | | | ... for missing keyword-only arguments. Patch by Jeremiah Lowin. Closes #20816. | ||||
* | | inspect.signature: Improve repr of Signature and Parameter. Closes #20378 | Yury Selivanov | 2014-03-27 | 1 | -0/+4 |
| | | |||||
* | | inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373 | Yury Selivanov | 2014-03-27 | 1 | -0/+13 |
| | | |||||
* | | inspect.signature: Make Signature and Parameter picklable. Closes #20726 | Yury Selivanov | 2014-03-27 | 1 | -0/+53 |
| | | |||||
* | | Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__ | Yury Selivanov | 2014-03-02 | 1 | -0/+5 |
| | | |||||
* | | inspect.signature: Check for function-like objects before builtins. Issue #17159 | Yury Selivanov | 2014-02-21 | 1 | -0/+16 |
| | | |||||
* | | inspect: Fix getfullargspec to support builtin module-level functions. Issue ↵ | Yury Selivanov | 2014-02-21 | 1 | -0/+7 |
| | | | | | | | | #20711 | ||||
* | | inspect: Fix getfullargspec() to not to follow __wrapped__ chains | Yury Selivanov | 2014-02-19 | 1 | -0/+40 |
| | | | | | | | | Initial patch by Nick Coghlan. | ||||
* | | Mangle __parameters in __annotations__ dict properly. Issue #20625. | Yury Selivanov | 2014-02-18 | 1 | -0/+16 |
|/ | |||||
* | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -8/+65 |
| | | | | | | | 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. | ||||
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -2/+11 |
|\ | |||||
* | | inspect.signature: Add (restore) support for builtin classes #20473 | Yury Selivanov | 2014-02-03 | 1 | -0/+26 |
| | | |||||
* | | inspect.tests: Fix tests to work on python built with ↵ | Yury Selivanov | 2014-02-01 | 1 | -0/+3 |
| | | | | | | | | '--without-doc-strings' #20471 | ||||
* | | inspect.signature: Support duck-types of Python functions (Cython, for ↵ | Yury Selivanov | 2014-01-31 | 1 | -0/+60 |
| | | | | | | | | instance) #17159 | ||||
* | | inspect.classify_class_attrs: Classify object.__new__ and __init__ correctly ↵ | Yury Selivanov | 2014-01-31 | 1 | -0/+4 |
| | | | | | | | | #18801 | ||||
* | | inspect.signature: Make sure that if a callable object has '_patialmethod' | Yury Selivanov | 2014-01-29 | 1 | -0/+5 |
| | | | | | | | | attribute, that attribute is an instance of 'functools.partialmethod'. | ||||
* | | inspect.test.getfullargspec: Add a unittest to ensure correct annotations | Yury Selivanov | 2014-01-29 | 1 | -0/+9 |
| | | | | | | | | handling #17481 | ||||
* | | inspect.getfullargspec: Use inspect.signature API behind the scenes #17481 | Yury Selivanov | 2014-01-29 | 1 | -1/+41 |
| | | |||||
* | | inspect.Signature: ensure that non-default params don't follow default ones ↵ | Yury Selivanov | 2014-01-29 | 1 | -1/+12 |
| | | | | | | | | #20427 | ||||
* | | inspect.signature: Add support for decorated (wrapped) builtins #20425 | Yury Selivanov | 2014-01-29 | 1 | -0/+15 |
| | | |||||
* | | inspect.Signature: Make from_builtin to raise an exception if no signature can | Yury Selivanov | 2014-01-29 | 1 | -0/+4 |
| | | | | | | | | be provided #20422 | ||||
* | | inspect.Signature.bind: Fix pos-only params with defaults; fix *args in ↵ | Yury Selivanov | 2014-01-28 | 1 | -0/+25 |
| | | | | | | | | | | | | named args #19140 Initial patch by Yann Kaiser (epsy). | ||||
* | | inspect.signature: Handle bound methods with '(*args)' signature correctly ↵ | Yury Selivanov | 2014-01-28 | 1 | -4/+19 |
| | | | | | | | | #20401 | ||||
* | | inspect.tests: Remove redundant unittest | Yury Selivanov | 2014-01-28 | 1 | -5/+0 |
| | | | | | | | | The removed unittest duplicates the other one (test_signature_on_builtins_no_signature) | ||||
* | | inspect.signature: Support classes without user-defined __init__/__new__ #20308 | Yury Selivanov | 2014-01-28 | 1 | -0/+14 |
| | | |||||
* | | inspect.signature: Add support for 'functools.partialmethod' #20223 | Yury Selivanov | 2014-01-27 | 1 | -0/+27 |
| | | |||||
* | | inspect.signature: Use '/' to separate positional-only parameters from | Yury Selivanov | 2014-01-27 | 1 | -16/+24 |
| | | | | | | | | the rest in Signature.__str__. #20356 |