Campbell Barton
00c7e760b3
Python: add opcodes for safe py-drivers
...
The following opcodes have been added, see [0] for details:
- LIST_TO_TUPLE: convert a list to a tuple,
use for constructing lists/tuples in some cases.
- LIST_EXTEND: use for constructing lists with unpacking.
- SET_UPDATE: use for constructing sets with unpacking.
- CONTAINS_OP: check if `a in b` generally useful.
When writing tests these op-codes where needed for basic operations
and can be safely supported.
Add note why dictionary manipulation op-codes have been left out.
Also restrict namsepace access to anything with an underscore prefix
since these may be undocumented.
[0]: https://docs.python.org/3.10/library/dis.html
2022-07-12 16:05:13 +10:00
..
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-06-08 13:29:32 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-07-05 13:41:49 +10:00
2022-02-11 09:14:36 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-06-02 20:16:20 +10:00
2022-02-11 09:14:36 +11:00
2022-04-06 19:08:10 +10:00
2022-05-03 18:22:54 +10:00
2022-07-12 16:05:13 +10:00
2022-07-12 16:05:13 +10:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-05-03 18:22:54 +10:00
2022-07-07 12:30:45 +10:00
2022-03-08 22:15:12 +11:00
2022-03-08 22:15:12 +11:00
2022-05-17 12:54:05 +10:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-03-14 17:08:46 +01:00
2022-02-11 09:14:36 +11:00
2022-04-20 13:17:16 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-05-31 14:19:06 +10:00
2022-02-11 09:14:36 +11:00
2022-03-14 17:08:46 +01:00
2022-02-11 09:14:36 +11:00
2022-03-28 14:14:31 +11:00
2022-03-14 17:08:46 +01:00
2022-02-11 09:14:36 +11:00
2022-04-26 16:51:20 +10:00
2022-04-26 16:51:20 +10:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-08 13:28:55 +10:00
2022-05-19 11:17:01 +10:00
2022-05-18 21:43:38 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-05-13 09:29:25 +10:00
2022-04-20 12:16:11 +10:00
2022-07-05 13:41:55 +10:00
2022-03-28 17:15:41 +11:00
2022-03-14 17:08:46 +01:00
2022-02-11 09:14:36 +11:00
2022-05-09 16:34:11 +02:00
2022-02-11 09:14:36 +11:00
2022-05-31 14:07:08 +10:00
2022-04-04 13:34:42 +10:00
2022-06-08 13:29:32 +10:00
2022-02-11 09:14:36 +11:00