Author mbussonn
Recipients asvetlov, brett.cannon, mbussonn, minrk, njs, pmpp, willingc, xtreak, yselivanov
Date 2019-05-04.15:38:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556984316.99.0.178590343925.issue34616@roundup.psfhosted.org>
In-reply-to
Content
> Did I miss something?

No I think for the async stuff that should be a big improvement already. 
Either a flag, or different "MODE", like 'single','exec' and 'eval'.

I'l love for something like 'exec' but where not only we can have multiple statement, but where the last statement behave like single and "expression statements that evaluate to something other than None will be printed".

The other thing would be for this mode to not turn the the fist statement into a module docstring in the AST if it is a string.

I know that most of these are slightly orthogonal but do have backward compatibility consequences.

I'll try to be at PyCon "Mentored Sprints" this afternoon, I'll be ha[[y to be mentored into contributing this to CPython. 

I'm also happy to discuss writing this in a pep.
History
Date User Action Args
2019-05-04 15:38:37mbussonnsetrecipients: + mbussonn, brett.cannon, njs, asvetlov, pmpp, yselivanov, willingc, minrk, xtreak
2019-05-04 15:38:36mbussonnsetmessageid: <1556984316.99.0.178590343925.issue34616@roundup.psfhosted.org>
2019-05-04 15:38:36mbussonnlinkissue34616 messages
2019-05-04 15:38:36mbussonncreate