[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992366: marked as done (ITP: flake8-blind-except -- A flake8 extension that checks for blind, catch-all except: and except Exception: statements.)



Your message dated Mon, 23 Aug 2021 11:00:09 +0000
with message-id <E1mI7gX-000641-TB@fasolo.debian.org>
and subject line Bug#992366: fixed in flake8-blind-except 0.2.0-1
has caused the Debian Bug report #992366,
regarding ITP: flake8-blind-except -- A flake8 extension that checks for blind, catch-all except: and except Exception: statements.
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 owner@bugs.debian.org
immediately.)


-- 
992366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992366
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
Owner: Jose Luis Rivero <jrivero@osrfoundation.org>

* Package name    : flake8-blind-except
  Version         : 0.2.0
  Upstream Author : Elijah Andrews 
* URL             : https://github.com/elijahandrews/flake8-blind-except
* License         : MIT
  Programming Lang: python
  Description     : A flake8 extension that checks for blind, catch-all except: and except Exception: statements.


As of pycodestyle 2.1.0, "E722 do not use bare except, specify exception
instead" is built-in. However, bare Exception and BaseException are
still allowed. This extension flags them as B902.

Using except without explicitly specifying which exceptions to catch is
generally considered bad practice, since it catches system signals like
SIGINT. You probably want to handle system interrupts differently than
exceptions occuring in your code.

It's also usually better style to have many small try-except blocks
catching specific exceptions instead of a giant try: block with a
catch-all except: at the bottom. It's also nicer to your fellow
programmers to be a bit more specific about what exceptions they can
expect in specific parts of the code, and what the proper course of
action is when they occur.

--- End Message ---
--- Begin Message ---
Source: flake8-blind-except
Source-Version: 0.2.0-1
Done: Jose Luis Rivero <jrivero@osrfoundation.org>

We believe that the bug you reported is fixed in the latest version of
flake8-blind-except, which is due to be installed in the Debian FTP archive.

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 992366@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Luis Rivero <jrivero@osrfoundation.org> (supplier of updated flake8-blind-except 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 17 Aug 2021 21:05:00 +0000
Source: flake8-blind-except
Binary: python3-flake8-blind-except
Architecture: source all
Version: 0.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Jose Luis Rivero <jrivero@osrfoundation.org>
Changed-By: Jose Luis Rivero <jrivero@osrfoundation.org>
Description:
 python3-flake8-blind-except - flake8 extension that checks for blind, catch-all except
Closes: 992366
Changes:
 flake8-blind-except (0.2.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #992366)
Checksums-Sha1:
 2beb5dd4b1938070c92b5e5e3a04a0b2f3678a56 1954 flake8-blind-except_0.2.0-1.dsc
 33354c7e29b7021a171bce6bdfceaf18a1114432 3135 flake8-blind-except_0.2.0.orig.tar.gz
 4055b01b8828e22f9374a6f749ffcdf0048f156b 2200 flake8-blind-except_0.2.0-1.debian.tar.xz
 547b228cca7437987674d94f337dd64c5fb97b40 6539 flake8-blind-except_0.2.0-1_amd64.buildinfo
 7fc5bcf70603092b9be0acecd0a8dd95beda8ca6 4852 python3-flake8-blind-except_0.2.0-1_all.deb
Checksums-Sha256:
 e248ea1c22ae2186a399002ed83e780e094fe33b1104b07566713dbc64f34a35 1954 flake8-blind-except_0.2.0-1.dsc
 69c444a51a98c8fb951c29e179ff0d71da7a0b145c061528897c4c95606f8fe3 3135 flake8-blind-except_0.2.0.orig.tar.gz
 a6ba05ef7af8a20b2bb60f5d9d5edb2c66d43cd80a8cf6944617efd455f9b5ff 2200 flake8-blind-except_0.2.0-1.debian.tar.xz
 361965c7acc814f22faeccc384e08ee4f742ef665d9759cbbe827ddd44c73b06 6539 flake8-blind-except_0.2.0-1_amd64.buildinfo
 516063b18b81370c25a543cfdeca35fa491dae8c19e1ec403b8603aa8d022c4b 4852 python3-flake8-blind-except_0.2.0-1_all.deb
Files:
 38b9cbd067c8a8df6b84e58111f916af 1954 python optional flake8-blind-except_0.2.0-1.dsc
 6a0de12760835db30ab40e370037aefe 3135 python optional flake8-blind-except_0.2.0.orig.tar.gz
 66e80cca7cad155dbd567b629329162f 2200 python optional flake8-blind-except_0.2.0-1.debian.tar.xz
 cff16e963f2b5825390215c4cf2bcb7d 6539 python optional flake8-blind-except_0.2.0-1_amd64.buildinfo
 d871d015f4eb1ceec05f6087d0e1032a 4852 python optional python3-flake8-blind-except_0.2.0-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmEit74ACgkQ+C8H+466
LVnX0wv9FgbUNE+sOmuSyEv8kIeZM2Dwm28UkKmle6QJ8wAiwn9JCtSk5cc6Gu9u
CjUHCQx7LEPynp/VlOI6PZf2Pb+F4/B9HMFynCNlSJDBQqu0WuEslUehXeZO9rOi
W0767hi7AhwhnFxA72PXr2SxVOUdGHCoiKsKYf3xhe8vpHraC0x7bpatGMpjZnw4
lsFewNlpQdyBdc78rGoH8sYRxSRrT/B1HOiotI3inue1DIp9FihURAR7Gki0B0pl
6peS9cECL3usyOdEp2J+alI3MM7aZ5P1SHiQSJ+biX5QnNycYnMFq0zrGFyqCDYF
lxZZf8OyoeixghfKI3kvemTGzqS0BzUUbFgUofFhTBXqslM6BIlcbeKdr0Vans2e
dAfxiLwGU/kbracjQJaDxKa7Mj1/hEk5sswG34UFKUppQNC7zhwLUBbdjrYI15Kw
CLlph8dSPF2WrwW5zxdclmxfOjEX30FrbK9PNxcFA79VlD1t5Whi6s0GDtonCTcA
dZ44e/VW
=Qi76
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: