yapi
This commit is contained in:
@@ -88,11 +88,11 @@ blank(Text) :-
|
||||
|
||||
|
||||
streams(false) :-
|
||||
close(user_input),
|
||||
%close(user_input),
|
||||
close(user_output),
|
||||
close(user_error).
|
||||
streams( true) :-
|
||||
open('/python/input', read, _Input, [alias(user_input),bom(false),script(false)]),
|
||||
%open('/python/input', read, _Input, [alias(user_input),bom(false),script(false)]),
|
||||
open('/python/sys.stdout', append, _Output, [alias(user_output)]),
|
||||
open('/python/sys.stderr', append, _Error, [alias(user_error)]).
|
||||
|
||||
|
@@ -704,7 +704,6 @@ class YAPRun(InteractiveShell):
|
||||
else:
|
||||
linec = True
|
||||
rcell = cell[1:].strip()
|
||||
print(cell)
|
||||
try:
|
||||
[magic,cell] = rcell.split(maxsplit = 1, sep = '\n')
|
||||
except:
|
||||
|
Reference in New Issue
Block a user