[Cython] Preparing Cython 3.0 with breaking changes

2018-08-18 Thread Stefan Behnel
Hi all, following the versioning discussion, I created a milestone to collect (breaking) changes that should go into the future Cython 3.0 release. https://github.com/cython/cython/milestone/58 While a major version change is a good time to fix things that, in retrospect, have led us too far in

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Jeroen Demeyer
On 2018-08-17 21:51, Robert Bradshaw wrote: It'd be nice to change the default of cython.binding as well (breaking change). Ideally, after PEP 580 is accepted :-) ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/l

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Jeroen Demeyer
On 2018-08-17 11:44, Stefan Behnel wrote: Hej, that gives us an alternative for the versioning switch. We could release Cython 3.0 when we change the default language level (and require users to select "language_level=2" for legacy code). Definitely a breaking change that merits inceasing the maj

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Jeroen Demeyer
On 2018-08-17 11:44, Stefan Behnel wrote: https://github.com/cython/cython/issues?q=is%3Aissue+is%3Aopen+label%3A%22Python+Semantics%22 Please add https://github.com/cython/cython/issues/1635 ___ cython-devel mailing list cython-devel@python.org https

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Robert Bradshaw
On Sat, Aug 18, 2018 at 10:24 AM, Jeroen Demeyer wrote: > On 2018-08-17 11:44, Stefan Behnel wrote: >> >> Hej, that gives us an alternative for the versioning switch. We could >> release Cython 3.0 when we change the default language level (and require >> users to select "language_level=2" for leg

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Jeroen Demeyer
On 2018-08-18 10:52, Robert Bradshaw wrote: Do the existing c_string_type and c_string_encoding directives not cover this usecase? Those seem to refer to C strings, I am talking about the Python type of string literals. I suppose what you're asking for is str being the str of the runtime, e

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Stefan Behnel
Am 18. August 2018 12:06:15 MESZ schrieb Jeroen Demeyer: >On 2018-08-18 10:52, Robert Bradshaw wrote: >> Do the existing c_string_type and c_string_encoding directives not >> cover this usecase? > >Those seem to refer to C strings, I am talking about the Python type of >string literals. > >> I supp

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Jeroen Demeyer
Basically I am asking for type("foo") is str both on Python 2 and Python 3. That's another breaking change I'm not following here... what I'm asking is how Cython behaves currently (with language_level=2). ___ cython-devel mailing list cython-dev

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-18 Thread Stefan Behnel
Am 18. August 2018 21:11:14 MESZ schrieb Jeroen Demeyer: >>> Basically I am asking for >>> >>> type("foo") is str >>> >>> both on Python 2 and Python 3. >> >> That's another breaking change > >I'm not following here... what I'm asking is how Cython behaves >currently (with language_level=2). But