[Python-ideas] Python-ideas Digest, Vol 90, Issue 30

Ned Batchelder ned at nedbatchelder.com
Thu May 22 22:10:11 CEST 2014


On 5/22/14 11:49 AM, M.-A. Lemburg wrote:
> On 22.05.2014 17:46, Paul Moore wrote:
>> On 22 May 2014 16:41, M.-A. Lemburg <mal at egenix.com> wrote:
>>> Why not simply have the new option disable writing PYC files ?
>> That's what I said. But you also need to not read them as well,
>> because otherwise you could read an optimised file if the source
>> hasn't changed.
> Good point :-)
>

For the use-case I am considering, it would be best to write .pyc files 
as usual.  These are large test suites that already have detailed 
choreography, usually involving new working trees for each run, or 
explicitly deleted pyc files.  Avoiding pyc's altogether will slow 
things down, and test suites are universally considered to take too long 
as it is.

--Ned.


More information about the Python-ideas mailing list