[Bug 1097783] Re: re module apis return longs now
Barry Warsaw
1097783 at bugs.launchpad.net
Thu Jan 10 16:54:18 UTC 2013
Cool, so Benjamin reverted the API change in upstream hg by using PyInt*
instead of PyLong* apis. You'll see this the next time Matthias syncs
to upstream.
** Changed in: python2.7 (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1097783
Title:
re module apis return longs now
Status in “genshi” package in Ubuntu:
Triaged
Status in “python2.7” package in Ubuntu:
Fix Committed
Bug description:
In raring, some library functions are returning longs instead of ints.
This is different from behaviour in quantal. This is causing an FTBFS
in genshi due to doctest failures.
Building from upstream source exhibits correct behaviour, including
from upstream orig tarballs and upstream 2.7 hg tip. But if I build
using the packaging, I get the problem (including sid and
experimental). So I presume the problem is in Debian's packaging. But
the problem does not occur in a sid chroot, so is this Ubuntu
toolchain related?
Test case:
import re
re.compile('.').match('.', 0).end()
Expected result: an int
Actual result: a long
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/genshi/+bug/1097783/+subscriptions
More information about the foundations-bugs
mailing list