Re: [Cython] Should we start requiring "language_level=2" for .pyx files?

2018-05-28 Thread Nathan Goldbaum
It would help if cython could generate compiler warnings for a release or two about py2-specific constructs before officially switching the default language level. On Mon, May 28, 2018 at 2:14 PM Stefan Behnel wrote: > Hi, > > Python 3 is clearly taking over the world these days, so it starts fe

[Cython] Should we start requiring "language_level=2" for .pyx files?

2018-05-28 Thread Stefan Behnel
Hi, Python 3 is clearly taking over the world these days, so it starts feeling arcane to require Py2 syntax in .pyx files. Increasingly, it means that people cannot just rename .py files anymore to start optimising them, because the .py file has a high chance of being written in Py3 syntax. Event