Petr Viktorin
25a9bccdee
py/compile: Disallow 'import *' outside module level.
...
This check follows CPython's behaviour, because 'import *' always populates
the globals with the imported names, not locals.
Since it's safe to do this (doesn't lead to a crash or undefined behaviour)
the check is only enabled for MICROPY_CPYTHON_COMPAT.
Fixes issue #5121 .
2019-10-04 16:46:47 +10:00
..
2014-04-17 16:21:43 +01:00
2014-04-17 16:21:43 +01:00
2014-04-17 16:21:43 +01:00
2015-02-16 12:11:41 +02:00
2017-06-28 12:21:29 +10:00
2017-01-16 15:59:33 +11:00
2017-06-28 12:21:29 +10:00
2014-04-17 23:21:52 +01:00
2014-04-17 23:21:52 +01:00
2014-04-17 16:21:43 +01:00
2014-04-17 16:21:43 +01:00
2016-10-11 12:30:32 +11:00
2014-04-17 16:21:43 +01:00
2014-07-28 21:21:59 +03:00
2018-11-01 13:33:16 +11:00
2018-11-01 13:33:16 +11:00
2019-07-31 22:37:44 +10:00
2016-09-30 14:48:22 +10:00
2014-07-05 06:14:29 +01:00
2014-07-05 06:14:29 +01:00
2014-07-05 06:14:29 +01:00
2014-07-05 06:14:29 +01:00
2015-02-16 12:11:41 +02:00
2017-01-16 15:59:33 +11:00
2017-01-16 15:59:33 +11:00
2019-10-04 16:46:47 +10:00
2018-10-23 11:22:50 +11:00
2018-10-23 11:56:58 +11:00
2019-03-05 16:25:07 +11:00
2019-03-05 16:25:07 +11:00
2019-10-01 12:26:22 +10:00
2019-03-08 17:20:17 +11:00
2015-06-27 00:40:22 +03:00
2014-07-05 06:14:29 +01:00