A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20171102/c8be2682/attachment.html below:

<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, 1 Nov 2017 at 16:17 Lukasz Langa <<a href="mailto:lukasz@langa.pl">lukasz@langa.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I find this sad. In the JavaScript community the existence of Babel is very important for the long-term evolution of the language independently from the runtime. With Babel, JavaScript programmers can utilize new language syntax while being able to deploy on dated browsers. While there's always some experimentation, I doubt our community would abuse the new syntactic freedom that the PEP provided.<br>
<br>
Then again, maybe we should do what Babel did, e.g. release a tool like it totally separately from the runtime.<br></blockquote><div><br></div><div>I think the trick here would be getting people more comfortable with ahead-of-time compilation and then adding the appropriate support to bytecode files to load other "optimization" levels/tags. Then you load the .pyc files and rely on co_lnotab as Victor pointed out to get your source mapping by compiling your source code explicitly instead of as a side-effect of import. And since this approach would then just be about generalizing how to specify different tags to match against in .pyc file names it's easier to get accepted.<br></div><div><br></div><div>-Brett<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- Å<br>
<br>
> On Oct 17, 2017, at 1:23 PM, Victor Stinner <<a href="mailto:victor.stinner@gmail.com" target="_blank">victor.stinner@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I rejected my own PEP 511 "API for code transformers" that I wrote in<br>
> January 2016:<br>
><br>
> <a href="https://github.com/python/peps/commit/9d8fd950014a80324791d7dae3c130b1b64fdace" rel="noreferrer" target="_blank">https://github.com/python/peps/commit/9d8fd950014a80324791d7dae3c130b1b64fdace</a><br>
><br>
> Rejection Notice:<br>
><br>
> """<br>
> This PEP was rejected by its author.<br>
><br>
> This PEP was seen as blessing new Python-like programming languages<br>
> which are close but incompatible with the regular Python language. It<br>
> was decided to not promote syntaxes incompatible with Python.<br>
><br>
> This PEP was also seen as a nice tool to experiment new Python features,<br>
> but it is already possible to experiment them without the PEP, only with<br>
> importlib hooks. If a feature becomes useful, it should be directly part<br>
> of Python, instead of depending on an third party Python module.<br>
><br>
> Finally, this PEP was driven was the FAT Python optimization project<br>
> which was abandonned in 2016, since it was not possible to show any<br>
> significant speedup, but also because of the lack of time to implement<br>
> the most advanced and complex optimizations.<br>
> """<br>
><br>
> Victor<br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/lukasz%40langa.pl" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/lukasz%40langa.pl</a><br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div></div>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4