[Python-Dev] PEG parser and raw strings

2020-05-28 Thread Vito De Tullio
Hi.
Just a question about the new PEG parser: will it support lone slash in 
raw strings?

the fact that r'\' doesn't work as expected it's a strange exception to 
remember.

___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/VSEB5O33WTNHBAJ63MC2WMZ772GJNMJC/
Code of Conduct: http://python.org/psf/codeofconduct/


Re: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().

2013-10-12 Thread Vito De Tullio
Cameron Simpson wrote:

>> >polysemic: having more than one meaning; having multiple meanings
>> 
>> IMHO a poor word to use.  I'm a middle aged Brit who's never heard
>> of it so people who have English as a second language have little or
>> no chance :(
> 
> IMO a fine word. New to me, but perfectly clear and memorable once
> explained.
> 
> People with English as a second language might do better than us
> if they've cottoned onto the patterns arising from the root languages,
> versus a native speaker basing things entirely on memory.


just as a data point: polysemic (from my italian native language) it's 
pretty "self-explanatory": "poly-" it's a very common prefix for "many", and 
"semic" has the same root of "semantic". Btw the italian version (polisemia) 
it's pronounced almost the same, so it's "an easy one" to translate.



-- 
By ZeD

___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Lambda [was Re: PEP 8 modernisation]

2013-08-01 Thread Vito De Tullio
Steven D'Aprano wrote:

> Lambda is still useful for the reason lambda has always been useful: it is
> an expression, not a statement, so you can embed it directly where needed.

are there some possibilities to change def to an expression? do I need to 
wait 'till python9k?

yes, this brings to the possibility to write something like

foo = def bar():
pass

but at least should let the lambda to die in peace...


-- 
ZeD

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com