From 84910f5f49e18aa2f2819cabe6fa1fa6227f0b51 2012-01-18 06:16:28 From: Paul Ivanov Date: 2012-01-18 06:16:28 Subject: [PATCH] shlex shouldn't parse out comments, closes #1269 --- diff --git a/IPython/utils/_process_common.py b/IPython/utils/_process_common.py index e352155..d01fb35 100644 --- a/IPython/utils/_process_common.py +++ b/IPython/utils/_process_common.py @@ -175,6 +175,7 @@ def arg_split(s, posix=False, strict=True): # and it shouldn't raise an exception. # It may be a bad idea to parse things that are not command-line args # through this function, but we do, so let's be safe about it. + lex.commenters='' #fix for GH-1269 tokens = [] while True: try: