On Thu, Mar 15, 2018 at 2:10 AM, Terry Reedy <tjre...@udel.edu> wrote:
> On 3/14/2018 8:32 PM, Mikhail V wrote:
>>
>> ...
>>
>> Also in 1d case one might omit the line continuation \:
>>
>> L ===*
>>      "msg1"
>>      "msg2"
>>      "error"
>>
>> returns:
>> ["msg1", "msg2", "error"]
>
>
> No, this would return "msg1msg2error"
>

Ah well, if we already in implementation details - sure,
a complete solution would be a whole new layer in parser - lists, tuples,
lists of tuples, dicts.
It'd be what I suppose is called a [new to python] micro-language, with
own preprocessing.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to