Author andrei.avk
Recipients andrei.avk, eric.smith, jmg, rhettinger, terry.reedy
Date 2021-07-20.20:51:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626814269.39.0.507369023238.issue42414@roundup.psfhosted.org>
In-reply-to
Content
John-Mark: yep, it's just a draft patch for now.

It doesn't need to be two lines; it can be updated to start with an empty dict and perhaps use a shorter special name for the doc dict and then you can do:

f1:int = 1
FDOC['f1'] = 'foo'

f2:str = 'a'
FDOC['f2'] = 'bar'

... the nice thing is that you have the flexibility to either group all docs into one place or set them after each field, I can imagine many users will prefer the former.
History
Date User Action Args
2021-07-20 20:51:09andrei.avksetrecipients: + andrei.avk, rhettinger, terry.reedy, eric.smith, jmg
2021-07-20 20:51:09andrei.avksetmessageid: <1626814269.39.0.507369023238.issue42414@roundup.psfhosted.org>
2021-07-20 20:51:09andrei.avklinkissue42414 messages
2021-07-20 20:51:09andrei.avkcreate