Message395720
python dis module should have a program passed in as string.
Currently, you can do this:
$ echo "x = 6" | python -m dis /dev/stdin
1 0 LOAD_CONST 0 (6)
2 STORE_NAME 0 (x)
4 LOAD_CONST 1 (None)
6 RETURN_VALUE
would be convenient like this:
$ ./python.exe -m dis -c "x=6"
1 0 LOAD_CONST 0 (6)
2 STORE_NAME 0 (x)
4 LOAD_CONST 1 (None)
6 RETURN_VALUE
these changes seem to be working. |
|
Date |
User |
Action |
Args |
2021-06-13 00:44:24 | CCLDArjun | set | recipients:
+ CCLDArjun |
2021-06-13 00:44:24 | CCLDArjun | set | messageid: <1623545064.0.0.0970757041396.issue44405@roundup.psfhosted.org> |
2021-06-13 00:44:23 | CCLDArjun | link | issue44405 messages |
2021-06-13 00:44:23 | CCLDArjun | create | |
|