New submission from Irit Katriel <iritkatr...@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@python
components: Documentation
messages: 384404
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42832>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to