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 petri.lehtinen
Recipients brett.cannon, joshtriplett, ncoghlan, petri.lehtinen, vstinner
Date 2011-05-30.18:50:42
SpamBayes Score 2.3197415e-05
Marked as misclassified No
Message-id <20110530185040.GA1724@ihaa>
In-reply-to <1306769923.75.0.0905485505254.issue12082@psf.upfronthosting.co.za>
Content
STINNER Victor wrote:
> If we cannot get the file modification time, .pyc/.pyo writing must be disabled. If your OS/libc/filesystem doesn't have fstat(), you don't have file modification, so no .pyc/.pyo write.

Should I go on and write a patch? Any hints on how this code path (of
not writing .pyc/.pyo because of missing stat() and fstat()) could be
tested?
History
Date User Action Args
2011-05-30 18:50:43petri.lehtinensetrecipients: + petri.lehtinen, brett.cannon, ncoghlan, vstinner, joshtriplett
2011-05-30 18:50:42petri.lehtinenlinkissue12082 messages
2011-05-30 18:50:42petri.lehtinencreate