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

Robie Basak 1097783 at bugs.launchpad.net
Wed Jan 9 14:37:30 UTC 2013


Public bug reported:

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

** Affects: genshi (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: genshi (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: genshi (Ubuntu)
       Status: New => Triaged

** Changed in: genshi (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to genshi in Ubuntu.
https://bugs.launchpad.net/bugs/1097783

Title:
  Regression: some python library functions return wrong types

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/genshi/+bug/1097783/+subscriptions



More information about the Ubuntu-server-bugs mailing list