A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-August/145787.html below:

[Python-Dev] Rewrite @contextlib.contextmanager in C

[Python-Dev] Rewrite @contextlib.contextmanager in C [Python-Dev] Rewrite @contextlib.contextmanager in CYury Selivanov yselivanov.ml at gmail.com
Mon Aug 8 16:07:25 EDT 2016
On 2016-08-08 3:33 PM, Giampaolo Rodola' wrote:
> I wanted to give it a try rewriting this in C but since 
> @contextmanager has a lot of magic I wanted to ask first whether this 
> 1) is technically possible 2) is desirable.

It is definitely technologically possible.  However, the C 
implementation will be quite complex, and will require a lot of time to 
review and later maintain.  My question would be how critical is the 
performance of @contextmanager?  I'd say that unless it's used in a 
tight loop it can't affect the performance too much.

Yury
More information about the Python-Dev mailing list

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