Package: python2.5
Version: 2.5.2-15
Severity: grave
Justification: causes non-serious data loss

When I mix different type of variable, I obtain some strange results:

a = Decimal.decimal(1)
b = 2
c = 2.

>>> a * b
Decimal("2")

>>> a < b
True

>>> a * c
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for *: 'Decimal' and 'float'
>>> a < c
False

The same result with Debian Etch.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_CH, LC_CTYPE=fr_CH (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.5 depends on:
ii  libbz2-1.0                1.0.5-1        high-quality block-sorting file co
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libdb4.5                  4.5.20-13      Berkeley v4.5 Database Libraries [
ii  libncursesw5              5.7+20081213-1 shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libsqlite3-0              3.5.9-5        SQLite 3 shared library
ii  libssl0.9.8               0.9.8g-15      SSL shared libraries
ii  mime-support              3.44-1         MIME files 'mime.types' & 'mailcap
ii  python2.5-minimal         2.5.2-15       A minimal subset of the Python lan

python2.5 recommends no packages.

Versions of packages python2.5 suggests:
pn  python-profiler               <none>     (no description available)
ii  python2.5-doc                 2.5.2-2    Documentation for the high-level o

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to