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

2018-05-31 Thread Robert Bradshaw
Language level affects things like integer division (for example). I agree it makes sense to start putting a warning in. On Thu, May 31, 2018 at 7:35 AM, Erik Bray wrote: > On Mon, May 28, 2018 at 8:56 PM, Stefan Behnel > wrote: > > Hi, > > > > Python 3 is clearly taking over the world these

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

2018-05-31 Thread Erik Bray
On Mon, May 28, 2018 at 8:56 PM, Stefan Behnel wrote: > 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