fixed ipython namespace.py json.loads() loading an empty string
if ( not sys.stdin.isatty() and (text := sys.stdin.read()) != '' ):
first clause is true if IPython or piped in terminal
second clause is true if piped in terminal (but would wait indefinitely if not for first clause)
fixed ipython namespace.py json.loads() loading an empty string
if ( not sys.stdin.isatty() and (text := sys.stdin.read()) != '' ):
first clause is true if IPython or piped in terminal second clause is true if piped in terminal (but would wait indefinitely if not for first clause)