Not totally convinced about this. It would require PEP writers to fully
implement their proposed feature, people can usually get a pretty good idea of
how a feature is supposed to work through PEPs (most of which are extremely
well written), and these "mods" wouldn't be used in production code
I wholly support this proposal.
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
Op di 11 sep. 2018 om 10:42 schreef Brice Parent :
> Le 11/09/2018 à 02:15, Abe Dillon a écrit :
>
> [Steven D'Aprano]
>
>> It would be great for non-C coders to be able to prototype proposed
>> syntax changes to get a feel for what works and what doesn't.
>
>
> I think it would be great in genera
[Steven D'Aprano]
> It would be great for non-C coders to be able to prototype proposed
> syntax changes to get a feel for what works and what doesn't.
I think it would be great in general for the community to be able to try
out ideas and mull things over.
If there was something like a Python F
On 09/07/2018 04:57 AM, Robert Vanden Eynde wrote:
Actually, I might start to write this lib, that looks fun.
You should also check out MacroPy:
https://pypi.org/project/MacroPy/
Although I freely admit I don't know if does what you are talking about.
--
~Ethan~
__
On Fri, Sep 07, 2018 at 11:57:50AM +, Robert Vanden Eynde wrote:
> Many features on this list propose different syntax to python,
> producing different python "dialects" that can statically be
> transformed to python :
[...]
> Using a modified version of ast, it is relatively easy to modifi
Many features on this list propose different syntax to python, producing
> different python "dialects" that can statically be transformed to python :
>
> - a,b += f(x) → _t = f(x); a += _t; b += _t; (augmented assignement
> unpacking)
> - a = 2x + 1 → a = 2*x + 1 (juxtaposition is product)
>
Many features on this list propose different syntax to python, producing
different python "dialects" that can statically be transformed to python :
- a,b += f(x) → _t = f(x); a += _t; b += _t; (augmented assignement unpacking)
- a = 2x + 1 → a = 2*x + 1 (juxtaposition is product)
- f(*, x, y) →