Staging
v0.5.1
https://github.com/python/cpython
Revision 52dfc74080a8bc6949ca713d862c9324ac62ca5c authored by R David Murray on 19 March 2013, 06:32:35 UTC, committed by R David Murray on 19 March 2013, 06:32:35 UTC
This fixes a regression relative to Python2.  (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).

This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.

Original patch by Matt Bachmann.
2 parent s 6227c69 + 9929bc5
History
Tip revision: 52dfc74080a8bc6949ca713d862c9324ac62ca5c authored by R David Murray on 19 March 2013, 06:32:35 UTC
#17476: make allmethods actually return all methods.
Tip revision: 52dfc74
File Mode Size
Python.asdl -rw-r--r-- 4.5 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 10.9 KB
asdl_c.py -rwxr-xr-x 40.7 KB
bitset.c -rw-r--r-- 1.0 KB
firstsets.c -rw-r--r-- 2.8 KB
grammar.c -rw-r--r-- 6.7 KB
grammar1.c -rw-r--r-- 1.2 KB
listnode.c -rw-r--r-- 1.2 KB
metagrammar.c -rw-r--r-- 2.4 KB
myreadline.c -rw-r--r-- 5.8 KB
node.c -rw-r--r-- 4.4 KB
parser.c -rw-r--r-- 11.7 KB
parser.h -rw-r--r-- 1.0 KB
parsetok.c -rw-r--r-- 9.2 KB
parsetok_pgen.c -rw-r--r-- 35 bytes
pgen.c -rw-r--r-- 17.4 KB
pgenmain.c -rw-r--r-- 3.8 KB
printgrammar.c -rw-r--r-- 2.9 KB
spark.py -rw-r--r-- 26.5 KB
tokenizer.c -rw-r--r-- 48.3 KB
tokenizer.h -rw-r--r-- 3.3 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top