A collection of bugfixes and new warnings. No large changesets, the most
interesting one is definitely warning_scopes.diff.

>> bad_str_strip.diff
Warn about suspicious arguments in {bytes,str,unicode}.{l,r,}strip calls.

Closes #74013

>> dangerous_default_values.diff
Unify handling for dangerous default values and make sure that set, dict
and list literals
are treated the same way as list(), set() and dict().

(depends on correct set literal inference in logilab.astng)

>> duplicate_argname.diff
Warn about duplicate argument names. Python raises a SyntaxError, but it's
not
raised during the actual parsing, but in pass 2 (before bytecode
compilation).

Closes #123233

>> e1124_message.diff
Improve the warning message for E1124[redundant-keyword-arg].

>> fix_typo_get_msg_display_string.diff
Fix a wrong variable in get_msg_display_string.

>> warning_scopes.diff
Make sure that pragmas that apply to whole lines are interpreted literally,
so that
their scope is not extended to the whole scope if they occur at the
beginning of a
scope.

>> yield_in_lambda.diff
Lambdas can contain yields, do not warn about them.

Closes #123259

>> loop_break.diff
Emit a warning for loops that have an else clause but no break or return.

Closes #81378

Please pull from https://bitbucket.org/tmarek/pylint-patchqueue

Cheers,

// Torsten
-- 
Site Reliability Engineer ∘ Google  ✚  ∘ ⬕
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to