Damien George
0bfc7638ba
py: Protect mp_parse and mp_compile with nlr push/pop block.
...
To enable parsing constants more efficiently, mp_parse should be allowed
to raise an exception, and mp_compile can already raise a MemoryError.
So these functions need to be protected by an nlr push/pop block.
This patch adds that feature in all places. This allows to simplify how
mp_parse and mp_compile are called: they now raise an exception if they
have an error and so explicit checking is not needed anymore.
2015-02-07 18:33:58 +00:00
..
2015-01-20 11:55:10 +00:00
2015-01-14 00:38:33 +00:00
2015-01-01 18:07:43 +00:00
2015-01-14 00:38:33 +00:00
2015-01-01 18:07:43 +00:00
2015-01-22 14:08:58 +00:00
2015-01-22 14:08:58 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 18:07:43 +00:00
2015-01-13 15:55:54 +00:00
2015-01-16 17:47:07 +00:00
2015-01-01 20:32:09 +00:00
2015-01-27 22:49:01 +02:00
2015-01-01 20:32:09 +00:00
2015-01-12 22:30:49 +00:00
2015-01-20 12:47:20 +00:00
2015-01-29 13:57:23 +00:00
2015-02-07 18:33:58 +00:00
2015-02-07 18:33:58 +00:00
2015-01-28 23:43:01 +00:00
2015-01-20 12:47:20 +00:00
2015-01-16 12:24:49 +00:00
2015-01-28 23:43:01 +00:00
2015-01-24 23:14:12 +00:00
2015-01-24 23:14:12 +00:00
2015-01-01 20:32:09 +00:00
2015-01-29 15:13:40 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 11:52:12 +02:00
2015-01-20 11:52:12 +02:00
2015-02-07 17:24:10 +00:00
2015-01-07 20:33:00 +00:00
2014-12-27 17:33:30 +00:00
2015-01-30 00:27:46 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 22:40:38 +00:00
2015-01-07 20:33:00 +00:00
2015-01-16 17:47:07 +00:00
2015-01-29 13:57:23 +00:00
2014-06-07 13:14:45 +01:00
2014-11-06 18:48:38 +00:00
2015-01-01 20:32:09 +00:00
2015-01-28 23:53:13 +00:00
2015-02-02 12:52:14 +00:00
2015-01-01 20:32:09 +00:00
2015-02-07 17:24:10 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 12:47:20 +00:00
2015-01-21 23:18:02 +00:00
2015-02-07 17:24:10 +00:00
2015-01-31 00:35:56 +02:00
2015-01-07 20:33:00 +00:00
2015-02-07 17:24:10 +00:00
2015-01-27 17:47:38 +00:00
2015-01-24 23:12:58 +00:00
2015-01-21 17:00:01 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-08 16:24:44 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-25 18:35:54 +00:00
2015-01-25 18:35:54 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-02-02 12:52:14 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-21 23:17:27 +00:00
2015-01-07 20:33:00 +00:00
2015-01-20 14:11:27 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-24 20:54:28 +00:00
2015-01-24 20:54:28 +00:00
2015-01-24 20:54:28 +00:00
2015-01-24 20:54:28 +00:00
2015-02-02 15:14:22 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 14:11:27 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-01-24 20:21:09 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 14:11:27 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-21 00:19:42 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-29 13:57:23 +00:00
2015-01-23 02:15:56 +02:00
2015-01-20 23:50:43 +00:00
2015-01-28 14:14:57 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-01-31 00:35:56 +02:00
2015-01-07 21:07:23 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-02-07 18:33:58 +00:00
2015-02-07 18:33:58 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 12:47:20 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 12:47:20 +00:00
2015-01-20 12:47:20 +00:00
2015-01-12 22:30:49 +00:00
2014-06-07 09:16:42 +02:00
2015-02-07 18:33:58 +00:00
2015-01-16 17:47:07 +00:00
2015-01-11 22:06:53 +00:00
2015-01-31 00:35:56 +02:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2014-12-27 16:12:17 +02:00
2015-02-07 18:33:58 +00:00
2015-02-07 17:24:10 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-20 12:47:20 +00:00
2015-01-27 18:02:25 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-28 23:43:01 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-13 15:55:54 +00:00
2015-01-13 15:55:54 +00:00
2015-01-29 13:57:23 +00:00
2015-01-12 22:30:49 +00:00