This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients BTaskaya, benjamin.peterson, brett.cannon, eamanu, levkivskyi, serhiy.storchaka, yselivanov
Date 2020-03-08.08:33:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2020-03-08 08:33:57serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, benjamin.peterson, yselivanov, levkivskyi, eamanu, BTaskaya
2020-03-08 08:33:57serhiy.storchakasetmessageid: <[email protected]>
2020-03-08 08:33:57serhiy.storchakalinkissue36287 messages
2020-03-08 08:33:56serhiy.storchakacreate