python3 compatibility fix for external editor
python3 compatibility fix for external editor

--HG--
branch : scroll-frontend

wevial/bpython,kdart/bpython,aktorion/bpython,aktorion/bpython,kdart/bpython,wevial/bpython