[Cython] call for contribution: PEP 498 - Literal String Interpolation

Stefan Behnel stefan_ml at behnel.de
Sat Sep 5 20:32:13 CEST 2015


Hi!

It looks like PEP 498 (f-strings) is going to be accepted soon. Anyone
interested in implementing it for Cython?

https://www.python.org/dev/peps/pep-0498/

It's certainly a bit of work, but it's also very much Python-level
functionality and most of it can be handled in the parser, so I would count
it as an entry-level project for working on Cython. There is already an
initial implementation for CPython (in C) which should provide an answer to
the tricky details of the functionality itself, as well as tests for it
(eventually).

https://bugs.python.org/issue24965

So, if this feature, and if extending the Cython language and working on a
real compiler sounds tempting to you, please speak up on the cython-devel
mailing list.

Stefan


More information about the cython-devel mailing list