This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jeffrey.Armstrong
Recipients Arfrever, Jeffrey.Armstrong, larry
Date 2014-10-06.20:01:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412625668.68.0.688074783942.issue22568@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-10-06 20:01:08Jeffrey.Armstrongsetrecipients: + Jeffrey.Armstrong, larry, Arfrever
2014-10-06 20:01:08Jeffrey.Armstrongsetmessageid: <1412625668.68.0.688074783942.issue22568@psf.upfronthosting.co.za>
2014-10-06 20:01:08Jeffrey.Armstronglinkissue22568 messages
2014-10-06 20:01:08Jeffrey.Armstrongcreate