Your message dated Tue, 25 Jan 2011 10:17:19 +0000
with message-id <[email protected]>
and subject line Bug#585328: fixed in pyserial 2.5-1
has caused the Debian Bug report #585328,
regarding python-serial: Python string exceptions no more allowed in Python 2.6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
585328: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585328
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-serial
Version: 2.3-1
Severity: minor
User: [email protected]
Usertags: python2.6
Hello,
One of the changes brought by Python 2.6 is the removal of string
exceptions, so they won't work in Python 2.6 (just a side note: they
were also buggy before, since they were not guaranteed to work
reliable even in <2.6); as an example:
$ python2.5 -c "raise 'eggs'"
-c:1: DeprecationWarning: raising a string exception is deprecated
Traceback (most recent call last):
File "<string>", line 1, in <module>
eggs
$ python2.6 -c "raise 'eggs'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: exceptions must be old-style classes or derived from BaseException,
not str
Since 2.6 is the planned default version for the upcoming new Debian
stable release, there are chances your package may be affected by this
change.
We are not sure your package is impacted, since the exception raise
can be in a dead or very rare branch of the code, and so simply never
being executed. We would like to leverage your package maintainer
status and the relationship with upstream authors to inspect more
deeply the issue and act accordingly (that includes: making this bug
release critical, closing it as irrelevant, tagging it 'wontfix', or
whatever is appropriate).
Jakub Wilk made the discovery of the problem and kindly prepared a
list [1] of all identified packages (downloaded on 2010-06-09) along
with files & lines that triggered the pattern search.
[1] http://people.debian.org/~morph/strexp/string-exceptions.lintian
This mass-bug filing was announced at 2010-06-06 on [2] (see the
thread and the references there).
[2] http://lists.debian.org/debian-devel/2010/06/msg00097.html
We do not consider the whole situation a stopper for the Python
transition to 2.6, except (of course) for those single bugs where
severity will be increased.
Thanks in advance for your attention,
Sandro on behalf of debian-python
--- End Message ---
--- Begin Message ---
Source: pyserial
Source-Version: 2.5-1
We believe that the bug you reported is fixed in the latest version of
pyserial, which is due to be installed in the Debian FTP archive:
pyserial_2.5-1.diff.gz
to main/p/pyserial/pyserial_2.5-1.diff.gz
pyserial_2.5-1.dsc
to main/p/pyserial/pyserial_2.5-1.dsc
pyserial_2.5.orig.tar.gz
to main/p/pyserial/pyserial_2.5.orig.tar.gz
python-serial_2.5-1_all.deb
to main/p/pyserial/python-serial_2.5-1_all.deb
python3-serial_2.5-1_all.deb
to main/p/pyserial/python3-serial_2.5-1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated pyserial package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 25 Jan 2011 07:59:17 +0100
Source: pyserial
Binary: python-serial python3-serial
Architecture: source all
Version: 2.5-1
Distribution: experimental
Urgency: low
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
python-serial - pyserial - module encapsulating access for the serial port
python3-serial - pyserial - module encapsulating access for the serial port
Closes: 520618 585328
Changes:
pyserial (2.5-1) experimental; urgency=low
.
* New upstream version. Closes: #520618.
* Build a python3-serial package.
* Don't use string exception in miniterm.py. Closes: #585328.
Checksums-Sha1:
3ad2cd4eb4d158a7c96a7f01fc2cd6188bfb48b3 1042 pyserial_2.5-1.dsc
fd991f9cf9bb02dfb3bd2cb48b582c2216f90031 106278 pyserial_2.5.orig.tar.gz
6420fbd23440de1c56d042d5e95c41a5c426265c 3209 pyserial_2.5-1.diff.gz
7b13bcb5306752c12a13b11d0913ce0238a4a015 79034 python-serial_2.5-1_all.deb
073681550ad3ea7fd4a5e770ef1833e2d8b3ff27 52462 python3-serial_2.5-1_all.deb
Checksums-Sha256:
948b626455dea349f84d3bac82a9148568febc2eb146d514928d5f082fab9985 1042
pyserial_2.5-1.dsc
eddd22280e0dac0888c6cddd8906ebd902fa42467fee151c43ecde4196bbf511 106278
pyserial_2.5.orig.tar.gz
6e90fc161e9718745057d4e89131c2d723c200b8904949ef8911689dfc919c14 3209
pyserial_2.5-1.diff.gz
12090a23bbc9dbd1ef6ca24348617a736191bd9b841c3249f2e836f32297abe0 79034
python-serial_2.5-1_all.deb
5c3b908f850e7a93d5e12e5d3a9b0c41a7622479ce2a68a5781a0a4327fb1130 52462
python3-serial_2.5-1_all.deb
Files:
9968fc85a0e9f9835f17d82f13620889 1042 python optional pyserial_2.5-1.dsc
34340820710239bea2ceca7f43ef8cab 106278 python optional
pyserial_2.5.orig.tar.gz
d657f9ee532e9d50df5414cdd4c95f95 3209 python optional pyserial_2.5-1.diff.gz
95ad49b521727d07f4bacc2964469f40 79034 python optional
python-serial_2.5-1_all.deb
2221688a24bb8592ad4290160425c85c 52462 python optional
python3-serial_2.5-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk0+hycACgkQStlRaw+TLJwxWACgjmnTowUCAoeJSkPgWluMcVSY
oIAAoIwCNnZsOdJl0jvK6QH93ibN4mJY
=kAjr
-----END PGP SIGNATURE-----
--- End Message ---