This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CCLDArjun
Recipients CCLDArjun
Date 2021-06-13.00:44:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623545064.0.0.0970757041396.issue44405@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-06-13 00:44:24CCLDArjunsetrecipients: + CCLDArjun
2021-06-13 00:44:24CCLDArjunsetmessageid: <1623545064.0.0.0970757041396.issue44405@roundup.psfhosted.org>
2021-06-13 00:44:23CCLDArjunlinkissue44405 messages
2021-06-13 00:44:23CCLDArjuncreate