Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'argument': 0.05; 'output': 0.05; 'attribute': 0.07; 'class,': 0.07; 'context': 0.07; 'explicit': 0.07; 'fixes': 0.07; 'removes': 0.07; 'skip:` 10': 0.07; 'subject:ANN': 0.07; 'subject:released': 0.07; 'string': 0.09; 'builtin': 0.09; 'dan': 0.09; 'instance.': 0.09; 'mixed': 0.09; 'objects,': 0.09; 'spelling': 0.09; 'statements': 0.09; 'python': 0.11; 'itself.': 0.14; 'changes': 0.15; '2to3).': 0.16; 'accepts': 0.16; 'ast': 0.16; 'check.': 0.16; 'docstring': 0.16; 'editable': 0.16; 'emit': 0.16; 'encountered.': 0.16; 'iterating': 0.16; 'leaks': 0.16; 'modules.': 0.16; 'node,': 0.16; 'nodes.': 0.16; 'nose': 0.16; 'operator.': 0.16; 'porting': 0.16; 'positional': 0.16; 'starred': 0.16; 'to:addr:python-announce- list': 0.16; 'appropriate': 0.16; 'fix': 0.17; "skip:' 30": 0.19; 'subject:] ': 0.20; 'import': 0.22; 'error': 0.23; 'errors.': 0.24; 'skip:` 20': 0.24; 'function': 0.29; 'chris': 0.29; 'patch': 0.29; 'errors': 0.30; 'mode': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'included': 0.31; "skip:' 10": 0.31; 'base,': 0.31; 'crash': 0.31; 'omitted': 0.31; 'option.': 0.31; 'class': 0.32; 'open': 0.33; 'announce': 0.33; 'checking': 0.33; 'classes': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'false': 0.36; 'found.': 0.36; 'joined': 0.36; 'method': 0.36; 'example,': 0.37; 'positive': 0.37; 'implement': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'ability': 0.39; 'subject:[': 0.39; 'obtain': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'skip:u 10': 0.60; 'catch': 0.60; 'subject: / ': 0.60; 'new': 0.61; 'first': 0.61; 'name': 0.63; 'our': 0.64; 'to:2**2': 0.65; 'account': 0.65; 'brain': 0.68; 'combining': 0.68; 'containing': 0.69; 'hesitate': 0.70; 'qualified': 0.72; 'to:no real name:2**2': 0.72; 'closes': 0.84; 'flag.': 0.84; 'intern': 0.84; 'sfxlen:1': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lleFaAkmwD8wONKeMh9dZEtPrDsCmAS0dEz9XenMcbg=; b=l+R/wFIzI286mGZt8J1HcPxAA6TNFuuO4U4fNUh4xC8K+6kBhcyfVatGiLaCD3VIP4 Bgmb1i5RJBsTCrhHgqw+bG2SSg6BQnJ3EjhVe+n5TFeya8MACs8xKx8kw0BXuzgsm4zl IuIorUkFmEcaugvpo8GBBCKXLX0I+73sQpkXDEe2tD4lqFa9ie4pTY75qTsyckKkCXzY 6VQER1iVC+aGymKZlMMlKVJ6ArsCx/13F5SkqFrgH9cW5cnir3FOLh80dov9Ua1qJ6ZI yo8+5rHmL2N/UKwDgKqqoc5qf2WY5GWtJwTIrvpIQIj1j06uSuNo4/+5KSgBqequY5Aq qWGQ== MIME-Version: 1.0 X-Received: by 10.50.66.141 with SMTP id f13mr39642686igt.9.1426079644023; Wed, 11 Mar 2015 06:14:04 -0700 (PDT) Date: Wed, 11 Mar 2015 15:14:03 +0200 Subject: [ANN] Pylint 1.4.2 / Astroid 1.3.5 released From: Claudiu Popa To: pylint-dev@lists.logilab.org, python-list@python.org, "code-quality@python.org" , python-announce-list@python.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Wed, 11 Mar 2015 14:32:25 +0100 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 92 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1426080746 news.xs4all.nl 2916 [2001:888:2000:d::a6]:49790 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:1609 Hello, I'm happy to announce the release of Pylint 1.4.2 and astroid 1.3.5. The following changes were included in these releases: For pylint: * Don't require a docstring for empty modules. Closes issue #261. * Fix a false positive with `too-few-format-args` string warning, emitted when the string format contained a normal positional argument ('{0}'), mixed with a positional argument which did an attribute access ('{0.__class__}'). Closes issue #463. * Take in account all the methods from the ancestors when checking for too-few-public-methods. Closes issue #471. * Catch enchant errors and emit 'invalid-characters-in-docstring' when checking for spelling errors. Closes issue #469. * Use all the inferred statements for the super-init-not-called check. Closes issue #389. * Add a new warning, 'unichr-builtin', emitted by the Python 3 porting checker, when the unichr builtin is found. Closes issue #472. * Add a new warning, 'intern-builtin', emitted by the Python 3 porting checker, when the intern builtin is found. Closes issue #473. * Add support for editable installations. * The HTML output accepts the `--msg-template` option. Patch by Dan Goldsmith. * Add 'map-builtin-not-iterating' (replacing 'implicit-map-evaluation'), 'zip-builtin-not-iterating', 'range-builtin-not-iterating', and 'filter-builtin-not-iterating' which are emitted by `--py3k` when the appropriate built-in is not used in an iterating context (semantics taken from 2to3). * Add a new warning, 'unidiomatic-typecheck', emitted when an explicit typecheck uses type() instead of isinstance(). For example, `type(x) == Y` instead of `isinstance(x, Y)`. Patch by Chris Rebert. Closes issue #299. * Add support for combining the Python 3 checker mode with the --jobs flag (--py3k and --jobs). Closes issue #467. * Add a new warning for the Python 3 porting checker, 'using-cmp-argument', emitted when the `cmp` argument for the `list.sort` or `sorted builtin` is encountered. * Make the --py3k flag commutative with the -E flag. Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437. For astroid: * Add the ability to optimize small ast subtrees, with the first use in the optimization of multiple BinOp nodes. This removes recursivity in the rebuilder when dealing with a lot of small strings joined by the addition operator. Closes issue #59. * Obtain the methods for the nose brain tip through an unittest.TestCase instance. Closes Pylint issue #457. * Fix a crash which occurred when a class was the ancestor of itself. Closes issue #78. * Improve the scope_lookup method for Classes regarding qualified objects, with an attribute name exactly as one provided in the class itself. For example, a class containing an attribute 'first', which was also an import and which had, as a base, a qualified name or a Gettattr node, in the form 'module.first', then Pylint would have inferred the `first` name as the function from the Class, not the import. Closes Pylint issue #466. * Implement the assigned_stmts operation for Starred nodes, which was omitted when support for Python 3 was added in astroid. Closes issue #36. If you find any bugs, don't hesitate to open a new issue on our issue tracker. Enjoy!