Message168624
| Author |
kevin.chen |
| Recipients |
Steve.Thompson, amaury.forgeotdarc, barry, brian.curtin, desolat, eric.araujo, kevin.chen, markon, mucisland, ncoghlan, pdsimanyi, pitrou |
| Date |
2012年08月20日.06:50:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345445428.32.0.797848982508.issue6074@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi I made the following patch for this issue.
It addresses the #2051 security bug. So the .pyc and .pyo files are created using the same permission as .py
The MS_WINDOWS version will chmod the permission of .pyc and .pyo files to write accessible before deleting them.
I have also created a test for it. This test needs cleaning up, because it is the first time I have written a test for cpython. I would love to have a look at the final committed test so I can learn how to make it better next time. I will also be happy to keep extending that test to make sure it covers more cases.
A great big thanks to Nick for your help! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月20日 06:50:28 | kevin.chen | set | recipients:
+ kevin.chen, barry, amaury.forgeotdarc, ncoghlan, pitrou, eric.araujo, brian.curtin, pdsimanyi, markon, mucisland, Steve.Thompson, desolat |
| 2012年08月20日 06:50:28 | kevin.chen | set | messageid: <1345445428.32.0.797848982508.issue6074@psf.upfronthosting.co.za> |
| 2012年08月20日 06:50:07 | kevin.chen | link | issue6074 messages |
| 2012年08月20日 06:50:07 | kevin.chen | create |
|