[issue27884] during 'make install', pre-existing site-packages residents are recompiled. Twice.

2016-08-28 Thread R. David Murray
R. David Murray added the comment: As far as I can tell, this is working as designed, and in fact you ought to see site-packages getting compiled *three* times (normal, -O, and -OO). I wonder if this is a holdover from when we didn't have per-interpreter pyc files, and its just that no one not

[issue27884] during 'make install', pre-existing site-packages residents are recompiled. Twice.

2016-08-28 Thread Matt Morrison
New submission from Matt Morrison: I've been building Python 3 from source on Linux for a long time (at least since 3.2 days), and I honestly can't remember if this has happened before 3.6 or not, which is why I'm only tagging this 3.6. Basically, when running 'make install' (after building e