[issue9953] 2 scripts running from crontab simultaneously reference the same instance of a variable

Jean-Paul Calderone report at bugs.python.org
Sun Sep 26 15:55:28 CEST 2010


Jean-Paul Calderone <invalid at example.invalid> added the comment:

You can't rely on id() to return distinct values across different processes.  It guarantees uniqueness *within a single process* (at any particular moment).

In other words, you're misusing id() here.  This is not a Python bug.

----------
nosy: +exarkun
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9953>
_______________________________________


More information about the Python-bugs-list mailing list