[Eric] ANN: eric 20.2 released

Detlev Offenbach detlev at die-offenbachs.de
Mon Feb 3 18:50:29 GMT 2020


Hello Mikhail and list,

in order to get rid of this you have to manually modify 
Plugins/CheckerPlugins/SyntaxChecker/pyflakes/checker.py and add 
"NAMEDEXPR" to the long assignment statement where handleChildren is 
assigned (begins with BOOLOP) (should be line 1244).

Here is the respective diff.

diff -r 6c4a12fa7146 
eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/checker.py

--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/checker.py Sun 
Feb 02 11:28:34 2020 +0100

+++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/checker.py Mon 
Feb 03 19:47:45 2020 +0100

@@ -1241,7 +1241,7 @@

# "expr" type nodes

BOOLOP = BINOP = UNARYOP = IFEXP = SET = \

CALL = REPR = ATTRIBUTE = SUBSCRIPT = \

- STARRED = NAMECONSTANT = handleChildren

+ STARRED = NAMECONSTANT = NAMEDEXPR = handleChildren

NUM = STR = BYTES = ELLIPSIS = CONSTANT = ignore

Detlev

Am 02.02.20 um 23:58 schrieb Mikhail Terekhov:
> On 2/2/20 5:55 AM, Detlev Offenbach wrote:
>>
>> Hello Pythonistas,
>>
>> I just uploaded eric 20.2. It fixes some bugs. There are no new 
>> functionalities this month.
>>
>> It is available via the eric web site or PyPI.
>>
>> https://eric-ide.python-projects.org/index.html
>>
>> https://pypi.org/project/eric-ide/
>>
>> Regards,
>>
>> Detlev
>>
> Hello Detlev,
>
> Is it possible to turn off syntax errors for the new Python 3.8 
> features like:
>
>     if m:= re.match("...",x): print(m.groups())
>
> Regards,
>
> Mikhail
>
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/eric

-- 
Detlev Offenbach
detlev at die-offenbachs.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20200203/dfca522a/attachment.html>


More information about the Eric mailing list