Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
3e8a7ad7fc6224f8cae7d1c43d676d2093442611
/
Lib
/
inspect.py
3018cc4
Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes.
by Serhiy Storchaka
· 9 years ago
46c759d
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods
by Yury Selivanov
· 9 years ago
bf341fb
Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__
by Yury Selivanov
· 9 years ago
7de2968
inspect: Fix getsource() to load updated source of reloaded module
by Yury Selivanov
· 10 years ago
f23530f
Issue #22186: Fix typos in Lib/.
by Berker Peksag
· 10 years ago
c0f964f
inspect: Validate that __signature__ is None or an instance of Signature.
by Yury Selivanov
· 10 years ago
0fceaf4
inspect.signautre: Fix functools.partial support. Issue #21117
by Yury Selivanov
· 10 years ago
2542b66
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
by Yury Selivanov
· 10 years ago
b1d060b
inspect: Fix getcallargs() to raise correct TypeError
by Yury Selivanov
· 10 years ago
8dfb457
inspect.signature: Check for function-like objects before builtins. Issue #17159
by Yury Selivanov
· 10 years ago
d224b6a
inspect: Fix getfullargspec to support builtin module-level functions. Issue #20711
by Yury Selivanov
· 10 years ago
ff385b8
inspect: Fix getfullargspec() to not to follow __wrapped__ chains
by Yury Selivanov
· 10 years ago
2623c8c
Issue #20530: Argument Clinic's signature format has been revised again.
by Larry Hastings
· 10 years ago
7d2bfed
inspect.signature: Add (restore) support for builtin classes #20473
by Yury Selivanov
· 11 years ago
1d24183
inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'
by Yury Selivanov
· 11 years ago
0ba5f0d
inspect: Add some comments in Parameter.__eq__ method
by Yury Selivanov
· 11 years ago
5334bcd
inspect.Signauture.from_function: validate duck functions in Signature constructor #17159
by Yury Selivanov
· 11 years ago
63da7c7
inspect.signature: Support duck-types of Python functions (Cython, for instance) #17159
by Yury Selivanov
· 11 years ago
0860a0b
inspect.classify_class_attrs: Classify object.__new__ and __init__ correctly #18801
by Yury Selivanov
· 11 years ago
89ca85c
inspect.Signature.from_function: Use CO_VARARGS & CO_VARKEYWORDS constants
by Yury Selivanov
· 11 years ago
0486f81
inspect.signature: Make sure that if a callable object has '_patialmethod'
by Yury Selivanov
· 11 years ago
c45873e
inspect.Signature.bind: Update method signature to rule out possiblity
by Yury Selivanov
· 11 years ago
421f0c7
inspect: Rename private helper function
by Yury Selivanov
· 11 years ago
d82eddc
inspect.getfullargspec: Use inspect.signature API behind the scenes #17481
by Yury Selivanov
· 11 years ago
07a9e45
inspect.Signature: ensure that non-default params don't follow default ones #20427
by Yury Selivanov
· 11 years ago
76c6c59
inspect.signature: Add support for decorated (wrapped) builtins #20425
by Yury Selivanov
· 11 years ago
b77511d
inspect.Signature: Make from_builtin to raise an exception if no signature can
by Yury Selivanov
· 11 years ago
9b9ac95
inspect.Signature.bind: Add **kwargs/positional-only check back
by Yury Selivanov
· 11 years ago
38b0d5a
inspect.Signature.bind: Fix pos-only params with defaults; fix *args in named args #19140
by Yury Selivanov
· 11 years ago
8757ead
inspect: Fix docstrings for Parameter & Signature classes
by Yury Selivanov
· 11 years ago
62560fb
inspect.signature: Handle bound methods with '(*args)' signature correctly #20401
by Yury Selivanov
· 11 years ago
581ee36
Issue #20326: Argument Clinic now uses a simple, unique signature to
by Larry Hastings
· 11 years ago
e7dcc5e
inspect.signature: Support classes without user-defined __init__/__new__ #20308
by Yury Selivanov
· 11 years ago
da5fe4f
inspect.signature: Add support for 'functools.partialmethod' #20223
by Yury Selivanov
· 11 years ago
2393dca
inspect.signature: Use '/' to separate positional-only parameters from
by Yury Selivanov
· 11 years ago
2eed8b7
inspect.getfile: Don't crash on classes without '__module__' attribute #20372
by Yury Selivanov
· 11 years ago
5c66189
Issue #20189: Four additional builtin types (PyTypeObject,
by Larry Hastings
· 11 years ago
2a72791
Issue #20226: Major improvements to Argument Clinic.
by Larry Hastings
· 11 years ago
16c5191
Issue #20144: Argument Clinic now supports simple constants as parameter
by Larry Hastings
· 11 years ago
c22eaec
merge 3.3 (closes #20108)
by Benjamin Peterson
· 11 years ago
3e6ab17
avoid parameter name clash (closes #20108)
by Benjamin Peterson
· 11 years ago
44e2eaa
Issue #19674: inspect.signature() now produces a correct signature
by Larry Hastings
· 11 years ago
b0c84cd
Issue #19030: final pieces for proper location of various class attributes located in the metaclass.
by Ethan Furman
· 11 years ago
a8b0707
Issue #19030: special-cased __dict__ as the actual dict is not returned, a proxy is.
by Ethan Furman
· 11 years ago
63c141c
Close #19030: inspect.getmembers and inspect.classify_class_attrs
by Ethan Furman
· 11 years ago
e03ea37
Close #19030: improvements to inspect and Enum.
by Ethan Furman
· 11 years ago
f94a16b
Close #18626: add a basic CLI for the inspect module
by Nick Coghlan
· 11 years ago
668dede
Close #18929: inspect.classify_class_attrs will now search the metaclasses (last) to find where an attr was defined.
by Ethan Furman
· 11 years ago
1e0d82c
Issue #18830: inspect.getclasstree() no more produces duplicated entries even
by Serhiy Storchaka
· 11 years ago
362c1b5
Issue #18830: inspect.getclasstree() no more produces duplicated entries even
by Serhiy Storchaka
· 11 years ago
9a3777e
#18705: merge with 3.3.
by Ezio Melotti
· 11 years ago
30b9d5d
#18705: fix a number of typos. Patch by Févry Thibault.
by Ezio Melotti
· 11 years ago
e8c45d6
Close #13266: Add inspect.unwrap
by Nick Coghlan
· 11 years ago
cd171c8
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
by Brett Cannon
· 11 years ago
e4f41de
Issue #17177: The imp module is pending deprecation.
by Brett Cannon
· 11 years ago
0a14066
Issue #18200: Update the stdlib (except tests) to use ModuleNotFoundError.
by Brett Cannon
· 11 years ago
4c14b5d
#17115,17116: Have modules initialize the __package__ and __loader__
by Brett Cannon
· 11 years ago
0503de9
#17526: merge with 3.3.
by Ezio Melotti
· 11 years ago
1b14592
#17526: fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle.
by Ezio Melotti
· 11 years ago
64a5562
Issue #17071: Signature.bind() now works when one of the keyword arguments is named self.
by Antoine Pitrou
· 12 years ago
bd41d1b
Issue #17071: Signature.bind() now works when one of the keyword arguments is named ``self``.
by Antoine Pitrou
· 12 years ago
f7a17b4
Replace IOError with OSError (#16715)
by Andrew Svetlov
· 12 years ago
8fda359
Issue #15401: Fix typo in inspect.getclosurevars docstring.
by Meador Inge
· 12 years ago
76e0770
Close #15387: inspect.getmodulename() now uses a new importlib.machinery.all_suffixes() API rather than the deprecated inspect.getmoduleinfo()
by Nick Coghlan
· 12 years ago
04e2e3f
Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates
by Nick Coghlan
· 12 years ago
2f92e54
Close #13062: Add inspect.getclosurevars to simplify testing stateful closures
by Nick Coghlan
· 12 years ago
7c7cbfc
Issue #15008: Implement PEP 362 "Signature Objects". Patch by Yury Selivanov.
by Larry Hastings
· 12 years ago
2b88fcf
Issue #14987: Add a missing import statement
by Brett Cannon
· 12 years ago
cb66eb0
Issue #13959: Deprecate imp.get_suffixes() for new attributes on
by Brett Cannon
· 12 years ago
85530aa
Merge
by Michael Foord
· 13 years ago
3ba95f8
Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static.
by Michael Foord
· 13 years ago
12f65d1
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
by Antoine Pitrou
· 13 years ago
86a8a9a
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
by Antoine Pitrou
· 13 years ago
a699a2d
Merge 3.2
by Michael Foord
· 13 years ago
a51623b
Fix inspect.getattr_static to work on modules (again). Closes issue 11813.
by Michael Foord
· 13 years ago
c8e0320
Merge 3.2
by Éric Araujo
· 13 years ago
a74f8ef
Fix inspect.getmodule to use a copy of sys.modules for iteration (#13487).
by Éric Araujo
· 13 years ago
274271d
remove unused imports (closes #12432)
by Benjamin Peterson
· 13 years ago
e109c70
give the names of missing positional or keyword-only arguments (closes #12356)
by Benjamin Peterson
· 13 years ago
703f7c4
merge 3.2 (#9284)
by Benjamin Peterson
· 13 years ago
9620cc0
allow "fake" filenames in findsource (closes #9284)
by Benjamin Peterson
· 13 years ago
b204a42
greatly improve argument parsing error messages (closes #12265)
by Benjamin Peterson
· 13 years ago
6a2638b
Correct handling of functions with only kwarg args in getcallargs (closes #11256)
by Benjamin Peterson
· 13 years ago
dcebe0f
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution
by Michael Foord
· 13 years ago
7921b9f
Issue 10220: switch to using string constants rather than integers for inspect.getgeneratorstate() return values and make debugging friendly str() and repr() for generator states a requirement in the test suite
by Nick Coghlan
· 14 years ago
e0f0465
Issue #10220: Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt
by Nick Coghlan
· 14 years ago
35184ed
Issue 9732: __class__ no longer checked on objects by getattr_static
by Michael Foord
· 14 years ago
e516265
Issue 9732: fetch the method resolution order from the type metaclass directly in getattr_static
by Michael Foord
· 14 years ago
cc7ebb8
Issue 9732: remove use of __class__ in inspect.getattr_static and note the mro exception to code execution
by Michael Foord
· 14 years ago
95fc51d
Issue 9732: addition of getattr_static to the inspect module
by Michael Foord
· 14 years ago
b82c8e5
classic classes are gone; whoppie!
by Benjamin Peterson
· 14 years ago
e8f5832
Issue #9308: Removed redundant coding cookies. Added tests for
by Alexander Belopolsky
· 14 years ago
c1c4bf8
#9683: remove broken dead code dealing with nested arguments removed from Py3k, and update the docs and docstrings accordingly.
by Georg Brandl
· 14 years ago
09c8123
Address XXX comment in dis.py: inspect.py now attempts to reuse the dis.py compiler flag values before resorting to defining its own
by Nick Coghlan
· 14 years ago
977a684
Issue #8983: Corrected docstrings.
by Alexander Belopolsky
· 14 years ago
a3a3fc6
typo
by Benjamin Peterson
· 14 years ago
42ac475
don't alias directly, so that extra arguments don't appear #6678
by Benjamin Peterson
· 14 years ago
88968ad
only take into account positional arguments count in related error messages
by Benjamin Peterson
· 14 years ago
a1b3740
Merged revisions 82039 via svnmerge from
by R. David Murray
· 14 years ago
28a691b
PEP 3147
by Barry Warsaw
· 14 years ago
Next »