[Bug 837221] Re: "Variable referenced before initialization" using Cython 0.15 to compile extensions
Martin Pitt
martin.pitt at ubuntu.com
Fri Nov 4 20:36:01 UTC 2011
Please update bzr in precise first, as per SRU policy. Otherwise this
can't progress into -updates.
** Package changed: bazaar (Ubuntu) => bzr (Ubuntu)
** Also affects: bzr (Ubuntu Oneiric)
Importance: Undecided
Status: New
** Changed in: bzr (Ubuntu Oneiric)
Status: New => Fix Committed
** Tags added: verification-needed
--
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:
New
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