Package: python2.3
Version: 2.3.5-1
Severity: normal
Calling int to get a long integer generates a warning that is
suppressed by the default settings of the warning system. It would be
better if int didn't generate warnings, since then I could more easily
find warnings elsewhere in my code.
lobus:~> python
Python 2.3.5 (#2, Feb 9 2005, 00:38:15)
[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> warnings.filterwarnings('error')
>>> int("42949672960")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OverflowError: string/unicode conversion
>>>
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (1500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-treo
Locale: LANG=C, LC_CTYPE=C
Versions of packages python2.3 depends on:
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-17 Berkeley v4.2 Database Libraries [
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libreadline4 4.3-11 GNU readline and history libraries
ii libssl0.9.7 0.9.7d-5 SSL shared libraries
ii zlib1g 1:1.2.2-3 compression library - runtime
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]