homepage

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 pitrou
Recipients brett.cannon, neologix, pitrou
Date 2012年02月21日.22:36:07
SpamBayes Score 3.2497002e-08
Marked as misclassified No
Message-id <1329863561.3401.5.camel@localhost.localdomain>
In-reply-to <CAH_1eM0PGT4LoXAvfL+dmFcRhR_3FzJ4YeJy2SEAKGF1H=AB6w@mail.gmail.com>
Content
> IIRC, the reason is to avoid having a stale pyc file indefinitely in
> case of crash:
> if we always used, let's say, path + '.tmp', if the process crashes
> before the rename, then all subsequent attempts to write the bytecode
> will fail because of the stale temporary file.
But that will also fail if id(path) happens to be fairly
deterministic :) I don't know how much deterministic it can be in
practice, that probably depends on the OS and on the code path?
History
Date User Action Args
2012年02月21日 22:36:07pitrousetrecipients: + pitrou, brett.cannon, neologix
2012年02月21日 22:36:07pitroulinkissue14077 messages
2012年02月21日 22:36:07pitroucreate

AltStyle によって変換されたページ (->オリジナル) /