[Cython] Cython alpha 0.24

Jason Madden jason.madden at nextthought.com
Sat Mar 19 10:51:12 EDT 2016


[Ack, really sorry for the premature send. Here's the whole thing:]

gevent compiles and passes all its tests with this release.

However, compilation produces 420 warnings of the form:

  warning: gevent/corecext.pyx:1893:4: 'property rpid:' syntax is
deprecated, use '@property'

That's a lot of warnings.

There's also this comment in the code, which seems to indicate that the
warnings aren't actually desired, but the test for it includes `if True:`
so warnings are always emitted.  I'm a bit confused as to the intent; are
the warnings going to be in the final release?

    def visit_PropertyNode(self, node):
        # Suppress warning for our code until we can convert all our uses
over.
        if isinstance(node.pos[0], str) or True:
            warning(node.pos, "'property %s:' syntax is deprecated, use
'@property'" % node.name, 2)

As I understand it, this was added with pull #462 which is only in
master/0.24, so there's no way for me to fix these warnings while still
being able to compile on 0.23; is that right? (That is, @property doesn't
work right in 0.23) If so, this would seem to at least merit a mention in
CHANGES.rst?

Thanks,
jason

On Sat, Mar 19, 2016 at 9:44 AM, Jason Madden <jason.madden at nextthought.com>
wrote:

> gevent compiles and passes all its tests with this release.
>
> However, compilation produces 420 warnings of the form:
>
>   warning: gevent/corecext.pyx:1893:4: 'property rpid:' syntax is
> deprecated, use '@property'
>
> That's a lot of warnings.
>
> As I understand it, this was added with pull #462 which is only in
> master/0.24, so there
>
>
> On Fri, Mar 11, 2016 at 2:23 AM, Robert Bradshaw <robertwb at gmail.com>
> wrote:
>
>> We are getting ready to push a new major release. A first alpha is up
>> at http://cython.org/release/Cython-0.24a0.tar.gz
>>
>> To avoid surprises, please test and report.
>>
>> Thanks,
>> Robert
>> _______________________________________________
>> cython-devel mailing list
>> cython-devel at python.org
>> https://mail.python.org/mailman/listinfo/cython-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20160319/62744d6d/attachment.html>


More information about the cython-devel mailing list