rspec/rules/S5754/python/comments-and-links.adoc

10 lines
452 B
Plaintext
Raw Normal View History

=== Related: RSPEC-1181
=== Related: RSPEC-2142
=== Related: RSPEC-2738
=== On 2020-03-06T15:05:41Z Nicolas Harraudeau Wrote:
This rule is similar to RSPEC-2142 but this one is a code smell because python 2 forced developers to use a bare ``++except:++`` for a long time. Thus old projects will have many issues. Yet even in python 2 it is possible to handle properly the exception. Thus we raise a code smell issue for both python 2 and python 3.