diff options
author | Armin Rigo <arigo@tunes.org> | 2018-08-08 13:10:26 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2018-08-08 13:10:26 +0200 |
commit | 059a0f7b06e991617d876efd658599d4cb3b4111 (patch) | |
tree | d983780f4b8894abc60bd7a51de006af680e5cf6 /lib_pypy/cffi | |
parent | Tweak 746e52c25681 to make it work for rbigint too (diff) | |
download | pypy-059a0f7b06e991617d876efd658599d4cb3b4111.tar.gz pypy-059a0f7b06e991617d876efd658599d4cb3b4111.tar.bz2 pypy-059a0f7b06e991617d876efd658599d4cb3b4111.zip |
update to cffi/1dd7bdcf4993
Diffstat (limited to 'lib_pypy/cffi')
-rw-r--r-- | lib_pypy/cffi/_cffi_errors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_pypy/cffi/_cffi_errors.h b/lib_pypy/cffi/_cffi_errors.h index 60dcc3b86a..83cdad068d 100644 --- a/lib_pypy/cffi/_cffi_errors.h +++ b/lib_pypy/cffi/_cffi_errors.h @@ -50,7 +50,9 @@ static PyObject *_cffi_start_error_capture(void) "import sys\n" "class FileLike:\n" " def write(self, x):\n" - " of.write(x)\n" + " try:\n" + " of.write(x)\n" + " except: pass\n" " self.buf += x\n" "fl = FileLike()\n" "fl.buf = ''\n" |