[issue2504] Add gettext.pgettext() and variants support

2010-05-19 Thread Bernie H. Innocenti
Bernie H. Innocenti ber...@codewiz.org added the comment: While we're waiting for this patch to be upstreamed, what's the best way to emulate this functionality with the current gettext module? I'm looking at the patch and it seems that code similar to this might work? def pgettext(ctx, msg

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
New submission from Bernie H. Innocenti ber...@codewiz.org: On startup, the Python interpreter changes the default behavior of SIGINT, which results in many Python programs to ignore the keyboard interrupt exactly in the situations when users are most likely to use it (i.e.: when the program

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
Bernie H. Innocenti ber...@codewiz.org added the comment: This is a fundemental behavior that will never change. If you dislike it, you can remove the signal handler for it with the signal module. What? We could break the syntax of print statements and cannot change this minor detail

[issue6901] Runaway programs often become unresponsive to CTRL-C

2009-09-13 Thread Bernie H. Innocenti
Bernie H. Innocenti ber...@codewiz.org added the comment: Ok -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6901 ___ ___ Python-bugs-list