Package: python2.4 Version: 2.4.2-2 Severity: normal When I try to convert a string to an int, python2.4 fails: idem with a float. NB: however, it works fine with 567, however, I would like to use big numbers.
[EMAIL PROTECTED]:~$ python2.4 Python 2.4.2 (#2, Nov 20 2005, 17:04:48) [GCC 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> int('567') 567 >>> int('1.234.567') Traceback (most recent call last): File "<stdin>", line 1, in ? ValueError: invalid literal for int(): 1.234.567 >>> float('567') 567.0 >>> float('567,89') Traceback (most recent call last): File "<stdin>", line 1, in ? ValueError: invalid literal for float(): 567,89 -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages python2.4 depends on: ii libbz2-1.0 1.0.3-3 high-quality block-sorting file co ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libdb4.3 4.3.29-4.1 Berkeley v4.3 Database Libraries [ ii libncurses5 5.5-2 Shared libraries for terminal hand ii libreadline5 5.1-7 GNU readline and history libraries ii libssl0.9.8 0.9.8b-2 SSL shared libraries ii python2.4-minimal 2.4.2-2 A minimal subset of the Python lan python2.4 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]