ekorn added the comment:
https://github.com/ipython/ipython/issues/1109#issuecomment-3072571
It seems this was an IPython bug due to slight abuse of the shlex module.
Closing as invalid; thanks for your help.
--
resolution: -> invalid
status: open ->
ekorn added the comment:
FYI, Min RK commented on the IPython issue:
https://github.com/ipython/ipython/issues/1109#issuecomment-3071470
In short,
shlex.shlex('blob f(" ")', posix=False)
fails, whereas
shlex.shlex('blob f( " ")', posix=False)
"
New submission from ekorn :
It seems shlex fails on processing strings ending in space, causing this bug
that I reported for IPython:
https://github.com/ipython/ipython/issues/1109
Fernando Perez made a minimal example of the problem, quoted below. As he
points out, it would be best to fix
New submission from ekorn :
Combining multiple option flags to doctest.testmod(optionflags=...) requires
the bitwise or operator |, not plain "or". I therefore suggest rewording
"or-ing together individual option flags." to "or-ing together individual
option fla
New submission from ekorn <[EMAIL PROTECTED]>:
I don't understand this doctest error, resulting from
python test_doctest.py
Failed example:
numpy.array2string(numpy.arange(2))
Expected:
[0 1]
Got:
'[0 1]'
The specified output was copied-and-pasted directly from