A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098346.html below:

[Python-Dev] Catch SIGINT at Python startup

[Python-Dev] Catch SIGINT at Python startup [Python-Dev] Catch SIGINT at Python startupVictor Stinner victor.stinner at haypocalc.com
Thu Mar 11 02:21:42 CET 2010
Hi,

Some news about my patch.

Le lundi 08 mars 2010 19:21:20, Maciej Fijalkowski a écrit :
> On Mon, Mar 8, 2010 at 10:47 AM, Guido van Rossum <guido at python.org> wrote:
> > Actually it sounds like there's some overly general except clause
> > somewhere that should be adjusted to catch just "Exception" instead of
> > "*".
> 
> There is at least one that prints "import 'site' failed" and continues
> to run your program.

I commited to patch and broke all buildbots \o/ There were errors in 
test_sysconfig and test_subprocess related to issues #7774 and #7880 (problems 
with sys.executable and modified sys.argv[0]).

I consider that it's a good point to detect the errors earlier, but it breaks 
code based on the errors :-) I will no backport the fix to 2.6 (or at least, 
not the fix about importing the site module)

Should I backport the fix to 3.1? (The backport to py3k is not done yet)

-- 
Victor Stinner
http://www.haypocalc.com/
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4