More info: this bug only crops up if ipython is set as the default.
Currently, I have
(setq py-shell-name "/Library/Frameworks/EPD64.framework/Versions/7.2/bin/ipython")
in my init.el
If I change this to
(setq py-shell-name "/Library/Frameworks/EPD64.framework/Versions/7.2/bin/python")
(the same, but with python rather than ipython), py-separator-char now returns the correct value. I guess ipython insists on returning some extra text along with the output of whatever command you feed it.
More info: this bug only crops up if ipython is set as the default.
Currently, I have
(setq py-shell-name "/Library/ Frameworks/ EPD64.framework /Versions/ 7.2/bin/ ipython" )
in my init.el
If I change this to
(setq py-shell-name "/Library/ Frameworks/ EPD64.framework /Versions/ 7.2/bin/ python" )
(the same, but with python rather than ipython), py-separator-char now returns the correct value. I guess ipython insists on returning some extra text along with the output of whatever command you feed it.