Damien George
f50b64cab5
py/runtime: Be sure that non-intercepted thrown object is an exception.
...
The VM expects that, if mp_resume() returns MP_VM_RETURN_EXCEPTION, then
the returned value is an exception instance (eg to add a traceback to it).
It's possible that a value passed to a generator's throw() is not an
exception so must be explicitly checked for if the thrown value is not
intercepted by the generator.
Thanks to @jepler for finding the bug.
2018-03-30 12:43:38 +11:00
..
2017-10-19 18:57:26 +11:00
2018-02-24 23:10:20 +11:00
2017-11-15 11:46:49 +11:00
2017-12-08 19:07:00 +11:00
2018-02-24 23:10:20 +11:00
2017-11-15 11:46:49 +11:00
2018-02-24 23:10:20 +11:00
2017-11-15 11:46:49 +11:00
2018-02-24 23:10:20 +11:00
2018-02-24 23:10:20 +11:00
2017-11-15 11:46:49 +11:00
2017-10-05 10:49:44 +11:00
2017-10-10 10:37:38 +11:00
2017-10-04 12:37:50 +11:00
2017-11-16 13:17:51 +11:00
2017-10-04 12:37:50 +11:00
2017-11-16 13:17:51 +11:00
2018-02-20 18:00:44 +11:00
2018-02-24 23:03:17 +11:00
2017-10-04 12:37:50 +11:00
2018-02-14 18:41:17 +11:00
2018-02-14 18:41:17 +11:00
2018-02-14 18:41:17 +11:00
2017-11-15 11:46:49 +11:00
2018-03-01 17:00:02 +11:00
2018-02-19 16:08:20 +11:00
2017-10-04 12:37:50 +11:00
2017-10-21 11:06:32 +03:00
2018-03-16 23:54:06 +11:00
2018-02-22 12:48:51 +11:00
2017-12-20 16:55:42 +11:00
2017-12-19 13:37:15 +11:00
2018-03-13 13:23:30 +11:00
2017-11-15 11:56:58 +11:00
2018-02-22 12:48:51 +11:00
2018-02-19 16:12:44 +11:00
2018-02-21 22:39:25 +11:00
2017-12-19 16:59:08 +11:00
2017-10-10 16:01:04 +11:00
2018-02-20 18:30:22 +11:00
2017-10-04 12:37:50 +11:00
2017-12-11 13:49:09 +11:00
2018-02-21 22:39:25 +11:00
2017-12-07 10:31:14 +02:00
2018-02-26 16:08:58 +11:00
2018-02-25 22:59:19 +11:00
2017-12-29 14:05:48 +11:00
2017-10-11 18:54:34 +11:00
2017-12-29 22:24:53 +11:00
2017-12-29 22:24:46 +11:00
2017-12-28 16:46:30 +11:00
2018-02-18 01:35:27 +01:00
2017-12-29 22:24:46 +11:00
2017-12-29 22:24:46 +11:00
2017-12-28 16:46:30 +11:00
2017-10-04 12:37:50 +11:00
2018-03-30 11:13:32 +11:00
2017-11-24 14:48:23 +11:00
2017-10-04 12:37:50 +11:00
2017-12-11 13:49:09 +11:00
2017-10-04 12:37:50 +11:00
2018-02-21 23:36:46 +11:00
2018-02-18 21:51:04 -06:00
2018-03-17 00:31:40 +11:00
2018-03-17 00:31:40 +11:00
2018-02-08 14:35:43 +11:00
2017-12-11 13:49:09 +11:00
2017-12-15 20:20:36 +02:00
2017-10-04 12:37:50 +11:00
2017-12-08 20:40:55 +02:00
2017-11-24 14:48:23 +11:00
2018-03-02 11:01:24 +11:00
2017-10-24 22:39:36 +11:00
2018-03-13 14:03:15 +11:00
2018-02-20 17:56:58 +11:00
2018-02-20 17:56:58 +11:00
2017-11-20 09:30:06 +02:00
2017-11-20 09:30:06 +02:00
2017-10-04 12:37:50 +11:00
2017-12-12 16:53:44 +11:00
2017-10-04 12:37:50 +11:00
2017-10-04 12:37:50 +11:00
2018-02-14 23:17:06 +11:00
2017-10-04 12:37:50 +11:00
2017-12-19 14:01:19 +11:00
2017-10-04 12:37:50 +11:00
2017-10-04 12:37:50 +11:00
2018-03-30 11:13:32 +11:00
2017-11-16 13:53:04 +11:00
2017-10-04 12:37:50 +11:00
2018-02-14 18:19:22 +11:00
2017-10-04 12:37:50 +11:00
2018-02-07 15:44:29 +11:00
2017-12-12 16:53:44 +11:00
2017-11-24 14:48:23 +11:00
2017-12-29 13:44:26 +11:00
2018-02-08 14:02:50 +11:00
2018-02-14 18:41:17 +11:00
2018-02-23 17:24:57 +11:00
2018-02-19 00:26:14 +11:00
2017-12-11 13:49:09 +11:00
2017-11-29 17:01:39 +11:00
2018-02-19 16:12:44 +11:00
2018-02-19 00:26:14 +11:00
2018-02-19 16:12:44 +11:00
2017-11-24 14:48:23 +11:00
2017-12-05 00:38:41 +02:00
2018-03-30 12:43:38 +11:00
2017-12-11 13:49:09 +11:00
2017-10-04 12:37:50 +11:00
2017-10-05 10:49:44 +11:00
2017-12-11 22:39:12 +11:00
2017-12-11 13:49:09 +11:00
2017-10-04 12:37:50 +11:00
2018-02-14 18:19:22 +11:00
2018-02-27 15:48:09 +11:00
2017-10-05 10:49:44 +11:00