Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

PR 18843 solves this issue by setting None as class attributes for optional  
fields and attributes (like "kind" or "end_col_offset").

It is not so easy for fields like "type_ignores". They are mutable lists, so 
this approach cannot be applied to them.

I want to get rid also from "ctx=Load()", but it is more complex change.

----------
versions:  -Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to