New GitHub issue #103056 from RomanSteinberg:<br>
<hr>
<pre>
# Bug report
[Here](https://github.com/python/cpython/blob/2cdc5189a6bc3157fddd814662bde99ecfd77529/Lib/enum.py#L1149) and in two more places in the same file function `_generate_next_value_` supposed to be called for instance. But it will not work properly in that case, because it behaves like static method. Consider `staticmethod` decorator.
As far as I understand there is no problem right now and all calls are correct. But in future it will be more robust if it would be static.
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/103056">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>