#592379 lintian: Check for Python packages with “except” overwriting builtins

#592379#5
Date:
2010-08-09 17:37:05 UTC
From:
To:
Some python-based applications use incorrect constructs in their
exception handling, which was reported in the following thread and
results in some exceptions not being handled properly.

http://lists.debian.org/debian-python/2010/08/msg00001.html
http://lists.debian.org/debian-python/2010/08/threads.html#00001

According to Jakub Wilk, the following regex can be used to find python
files which use the built-in exception types incorrectly:

^\s*except\s+[\w.]+\s*,\s*((?:Base)?Exception|(?:Arithmetic|Assertion|Attribute|Buffer|EOF|Environment|FloatingPoint|IO|Import|Indentation|Index|Key|Lookup|Memory|Name|NotImplemented|OS|Overflow|Reference|Runtime|Standard|Syntax|System|Tab|Type|UnboundLocal|UnicodeDecode|UnicodeEncode|Unicode|UnicodeTranslate|Value|ZeroDivision)Error|(?:Generator|System)Exit|(?:Bytes|Deprecation|Future|Import|Overflow|PendingDeprecation|Runtime|Syntax|Unicode|User)?Warning|StopIteration|KeyboardInterrupt)\s*:

If the lintian package shouldn't contain individual language-specific
tests like this, then this test should be implemented in pychecker,
pylint or pyflakes and a lintian extras test implemented to use these
tools to check python stuff.

#592379#12
Date:
2021-09-22 04:23:55 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com