Calling `help` executes @classmethod @property decorated methods

randolf-scholz · GitHub

BPO

45356

Nosy

@rhettinger

,

@terryjreedy

,

@ambv

,

@berkerpeksag

,

@serhiy-storchaka

,

@wimglenn

,

@corona10

,

@pablogsal

,

@akulakov

,

@sirosen

,

@randolf-scholz

,

@AlexWaygood

PRs

gh-89519: fix incorrect access of class property in pydoc and inspect #29239

Files

classmethod_property.py

classmethod_property.py

ClassPropertyIdea.py

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more detailsGitHub fields:

assignee='https://github.com/rhettinger'closed_at=Nonecreated_at=<Date2021-10-03.19:45:55.963>labels= ['type-bug', '3.11'] title='Calling `help` executes @classmethod @property decorated methods'updated_at=<Date2022-02-17.20:03:40.349>user='https://github.com/randolf-scholz'bugs.python.org fields:

activity=<Date2022-02-17.20:03:40.349>actor='rhettinger'assignee='rhettinger'closed=Falseclosed_date=Nonecloser=Nonecomponents= [] creation=<Date2021-10-03.19:45:55.963>creator='randolf.scholz'dependencies= [] files= ['50325', '50326', '50344'] hgrepos= [] issue_num=45356keywords= ['patch'] message_count=23.0messages= ['403109', '403110', '403111', '403504', '403505', '403578', '403582', '403611', '403613', '403653', '403699', '403713', '405100', '405115', '405121', '405142', '405143', '406600', '406605', '406606', '407493', '407499', '413451'] nosy_count=13.0nosy_names= ['rhettinger', 'terry.reedy', 'grahamd', 'lukasz.langa', 'berker.peksag', 'serhiy.storchaka', 'wim.glenn', 'corona10', 'pablogsal', 'andrei.avk', 'sirosen0', 'randolf.scholz', 'AlexWaygood'] pr_nums= ['29239'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue45356'versions= ['Python 3.11']Linked PRs

gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 #110163