[Bug 837221] Re: "Variable referenced before initialization" using Cython 0.15 to compile extensions
Launchpad Bug Tracker
837221 at bugs.launchpad.net
Sat Nov 5 00:50:12 UTC 2011
This bug was fixed in the package bzr - 2.5.0~beta2-0ubuntu1
---------------
bzr (2.5.0~beta2-0ubuntu1) precise; urgency=low
* New upstream release.
+ Fixes compatibility with cython 0.15. LP: #837221
+ Fixes handling of timestamps in diffs for absent files in working tree.
LP: #847435
+ Fixes overflow error in dirstate when dealing with large files.
LP: #683191
* Merge from Debian. Remaining changes:
+ Drop build dependencies on python-{subunit,meliae,lzma,medusa}, which are
not in main.
+ Disable support for running selftest in parallel (requires subunit).
-- Jelmer Vernooij <jelmer at debian.org> Fri, 04 Nov 2011 22:55:11 +0100
** Changed in: bzr (Ubuntu)
Status: In Progress => 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 Committed
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