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 ncoghlan
Recipients Steve.Thompson, amaury.forgeotdarc, barry, brian.curtin, desolat, eric.araujo, eric.snow, kevin.chen, markon, mucisland, ncoghlan, pdsimanyi, pitrou
Date 2012-10-19.11:02:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350644529.88.0.804138830443.issue6074@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting - the test case I wrote for this was failing on Linux as well. Same fix worked both places, though (i.e. ensuring S_IWUSR is always set on .pyc files so they can be updated properly)

2.7 update incoming, we'll see what the Windows buildbots have to say before doing anything to 3.x.

(Kevin: I didn't end up using your patch, as I decided it was simpler to just create the files with the user's write permission set. This doesn't weaken the security, as any attacker running with the user's privileges could just change the permissions anyway)
History
Date User Action Args
2012-10-19 11:02:10ncoghlansetrecipients: + ncoghlan, barry, amaury.forgeotdarc, pitrou, eric.araujo, brian.curtin, pdsimanyi, markon, mucisland, Steve.Thompson, desolat, eric.snow, kevin.chen
2012-10-19 11:02:09ncoghlansetmessageid: <1350644529.88.0.804138830443.issue6074@psf.upfronthosting.co.za>
2012-10-19 11:02:09ncoghlanlinkissue6074 messages
2012-10-19 11:02:09ncoghlancreate