[Bug 837221] Re: "Variable referenced before initialization" using Cython 0.15 to compile extensions
Martin Packman
martin.packman at canonical.com
Fri Jan 25 11:49:11 UTC 2013
Ran an oneiric instance using the following image:
smoser-cloud-images/ubuntu-oneiric-11.10-amd64-server-20120722
Upgraded bzr and related packaged to 2.4.2 from the -proposed archive:
Commandline: apt-get upgrade bzr
Upgrade: byobu:amd64 (4.37-0ubuntu1, 4.37-0ubuntu1.1), unattended-upgrades:amd64 (0.73ubuntu1, 0.73ubuntu1.1), python-bzrlib.tests:amd64 (2.4.1-1ubuntu1, 2.4.2-0ubuntu1), procps:amd64 (3.2.8-10ubuntu5, 3.2.8-10ubuntu5.1), python-bzrlib:amd64 (2.4.1-1ubuntu1, 2.4.2-0ubuntu1), bzr:amd64 (2.4.1-1ubuntu1, 2.4.2-0ubuntu1), libgcrypt11:amd64 (1.5.0-1, 1.5.0-1ubuntu0.1)
To verify that the upgrade from 2.4.1 to 2.4.2 worked as expected, ran
the test suite:
ubuntu at test:~$ bzr selftest
bzr selftest: /usr/bin/bzr
/usr/lib/python2.7/dist-packages/bzrlib
bzr-2.4.2 python-2.7.2 Linux-3.0.0-23-virtual-x86_64-with-Ubuntu-11.10-oneiric
...
----------------------------------------------------------------------
Ran 26912 tests in 1392.984s
FAILED (failures=1, known_failure_count=34)
1299 tests skipped
The test failure is some minor apport/vm weirdness in bt.test_crash that
also failed prior to the package upgrade.
** Tags removed: verification-needed
** Tags added: verification-done
--
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