<br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 17:21, Victor Stinner <span dir="ltr"><<a href="mailto:victor.stinner@haypocalc.com">victor.stinner@haypocalc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Some news about my patch.<br>
<br>
Le lundi 08 mars 2010 19:21:20, Maciej Fijalkowski a écrit :<br>
<div class="im">> On Mon, Mar 8, 2010 at 10:47 AM, Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br>
> > Actually it sounds like there's some overly general except clause<br>
> > somewhere that should be adjusted to catch just "Exception" instead of<br>
> > "*".<br>
><br>
> There is at least one that prints "import 'site' failed" and continues<br>
> to run your program.<br>
<br>
</div>I commited to patch and broke all buildbots \o/ There were errors in<br>
test_sysconfig and test_subprocess related to issues #7774 and #7880 (problems<br>
with sys.executable and modified sys.argv[0]).<br>
<br>
I consider that it's a good point to detect the errors earlier, but it breaks<br>
code based on the errors :-) I will no backport the fix to 2.6 (or at least,<br>
not the fix about importing the site module)<br>
<br>
Should I backport the fix to 3.1? (The backport to py3k is not done yet)<br>
<div class="im"><br></div></blockquote><div><br></div><div>Once you are happy with the stability then please port it to 3.1.</div><div><br></div><div>-Brett</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
--<br>
Victor Stinner<br>
<a href="http://www.haypocalc.com/" target="_blank">http://www.haypocalc.com/</a><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/brett%40python.org" target="_blank">http://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</div></div></blockquote></div><br>