Antoine Pitrou wrote:
On Sun, 26 Feb 2012 09:02:59 +0100
nick.coghlan wrote:
+def get_output(self, code, filename=None):
+"""
+Run the specified code in Python (in a new child process)
and read the
+output from the standard error or from a file (if filename
is set).
On Sun, Feb 26, 2012 at 11:54 PM, Antoine Pitrou wrote:
>> + def prepare_subprocess():
>> + # don't create core file
>> + try:
>> + setrlimit(RLIMIT_CORE, (0, 0))
>> + except (ValueError, resource_error):
>> + pass
>
> Really? This sounds quite wrong,
On Sun, 26 Feb 2012 09:02:59 +0100
nick.coghlan wrote:
> +
> +No debugging capability is lost, as the original exception context remains
> +available if needed (for example, if an intervening library has incorrectly
> +suppressed valuable underlying details)::
That's debatable, since you now have