温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有

Using functools.partial to make functions not considered as methods when given as enum values no longer works · Issue #125316 · python/cpython · GitHub

来源:github.com

Bug report Bug description: On python 3.10-3.12, the following snippet prints True, while on Python 3.13.0 it prints False: from enum import Enum from functools import partial def a(): pass def b(): pass class MyCallable…

以上为公开页面信息摘要,完整内容请前往原网站阅读。

前往原网站阅读全文

热门推荐记录