[Bug 837221] Re: "Variable referenced before initialization" using Cython 0.15 to compile extensions
Launchpad Bug Tracker
837221 at bugs.launchpad.net
Mon Jan 28 11:27:11 UTC 2013
This bug was fixed in the package bzr - 2.4.2-0ubuntu1
---------------
bzr (2.4.2-0ubuntu1) oneiric-proposed; urgency=low
* New upstream release.
+ Fix OverflowError in _dirstate_helpers_pyx.c. LP: #683191
+ Fix compatibility with Cython 0.15. LP: #837221
-- Jelmer Vernooij <jelmer at debian.org> Wed, 02 Nov 2011 15:01:08 +0100
** Changed in: bzr (Ubuntu Oneiric)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/837221
Title:
"Variable referenced before initialization" using Cython 0.15 to
compile extensions
Status in Bazaar Version Control System:
Fix Released
Status in Bazaar 2.4 series:
Fix Released
Status in “bzr” package in Ubuntu:
Fix Released
Status in “bzr” source package in Oneiric:
Fix Released
Bug description:
I did a test build, upgrading to Cython 0.15 (the current latest).
They changed the code so that now variables are no longer implicitly
initialized. eg:
cdef foo
if foo is not None:
...
In earlier Cython (and Pyrex) objects were always initialized to None,
and other variables to a reasonable default (pointers to NULL, etc).
The one bit I investigated was spurious, the variable was being set by
a function call as an 'out' parameter. However, there were about 10
warnings, and it would be nice to be warning free.
This would apply to older versions of bzr as well, since the windows
build host uses the same version of Cython across all versions.
To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/837221/+subscriptions
More information about the foundations-bugs
mailing list