[New-bugs-announce] [issue42832] classmethod change in 3.9 needs better documentation

Irit Katriel report at bugs.python.org
Tue Jan 5 10:07:33 EST 2021


New submission from Irit Katriel <iritkatriel at yahoo.com>:

The change in issue 19072 broke our code where a decorator assumes that __get__ is only called for instance methods.

It might be worth adding this to What's new in 3.9.

Also in the documentation:
https://docs.python.org/3/library/functions.html#classmethod
It implies that before 3.9 it was not possible to wrap, but it was possible, it just behaved differently.

----------
assignee: docs at python
components: Documentation
messages: 384404
nosy: docs at python, iritkatriel
priority: normal
severity: normal
status: open
title: classmethod change in 3.9 needs better documentation
type: behavior
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42832>
_______________________________________


More information about the New-bugs-announce mailing list