Jeffrey Armstrong added the comment:

Under the conditions I described in Modules/posixmodules.c on line 4815, the 
utime() function is called.  With the current code, the following correct 
compiler error is emitted:

./Modules/posixmodule.c(4815): Error! E1012: Expression is not a function

The above occurs because utime is treated as a local variable and an attempt is 
made at calling it as a function.

The use of a possible (and fairly standard) function name as a local variable 
is unfortunate, and I'm guessing these conditions haven't been tested in a 
while.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22568>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to