[Bug 1097783] Re: Regression: some python library functions return wrong types

Brian Murray brian at ubuntu.com
Thu Jan 10 15:49:19 UTC 2013


** Changed in: python2.7 (Ubuntu)
   Importance: Undecided => High

-- 
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:
  Regression: some python library functions return wrong types

Status in “genshi” package in Ubuntu:
  Triaged
Status in “python2.7” package in Ubuntu:
  New

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