[issue18538] `python -m dis ` relying on argparse

Michele Orrù report at bugs.python.org
Wed Jul 24 01:49:15 CEST 2013


New submission from Michele Orrù:

I feel a little bit embarassed for this patch;
while reading the stdlib's Lib/dis.py file, I saw that the _test() function parses by itself sys.argv. 

I tried to clean it up using argparse; diff and "manual tests" attached.

----------
title: `python -m dis ` -> `python -m dis ` relying on argparse
Added file: http://bugs.python.org/file31023/issue18538.log

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18538>
_______________________________________


More information about the Python-bugs-list mailing list