This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vpelletier
Recipients BreamoreBoy, amaury.forgeotdarc, dmaurer, eric.araujo, eric.snow, facundobatista, flub, gvanrossum, jotr, meador.inge, pitrou, python-dev, vpelletier
Date 2012-01-18.15:47:31
SpamBayes Score 0.00016835221
Marked as misclassified No
Message-id <1326901652.23.0.0837709945921.issue1785@psf.upfronthosting.co.za>
In-reply-to
Content
This change causes the following behaviour:

>>> import inspect
>>> class B(object):
...   def f(self):
...     pass
... 
>>> inspect.getmembers(B, inspect.ismethod)
[]

While I would expect the result to contain f:

>>> inspect.ismethod(B.f)
True

Isn't this a regression ?

Regards,
Vincent Pelletier
History
Date User Action Args
2012-01-18 15:47:32vpelletiersetrecipients: + vpelletier, gvanrossum, facundobatista, dmaurer, amaury.forgeotdarc, pitrou, flub, eric.araujo, meador.inge, jotr, BreamoreBoy, python-dev, eric.snow
2012-01-18 15:47:32vpelletiersetmessageid: <1326901652.23.0.0837709945921.issue1785@psf.upfronthosting.co.za>
2012-01-18 15:47:31vpelletierlinkissue1785 messages
2012-01-18 15:47:31vpelletiercreate