New submission from Nikita Sobolev <m...@sobolevn.me>:
After https://github.com/python/cpython/pull/28279 and https://bugs.python.org/issue45166 `ForwardRef` and `_type_check` now have `is_class` kw-only argument. It is now inconsistent with `is_argument` and `module` arguments. It would be quite nice to make them all kw-only. Quoting @ambv: > _type_check we can just change in Python 3.11 without any further ado. > ForwardRef() will need a deprecation period when the users is calling > is_argument= and module= as non-keyword arguments ---------- components: Library (Lib) messages: 402561 nosy: sobolevn priority: normal severity: normal status: open title: Make `is_attribute` and `module` arguments to `ForwardRef` kw-only type: behavior versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45281> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com