Skip to content

printing special characters #724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vaapadvaapad opened this issue Jan 5, 2018 · 1 comment
Open

printing special characters #724

vaapadvaapad opened this issue Jan 5, 2018 · 1 comment
Assignees

Comments

@vaapadvaapad
Copy link

Hi Team!

Recently I've noticed that it's impossible to print string containing "\t" character using bpython and print function (I have 0.17 on python 3.6.3 on Fedora 27 system).
Please find below simple test case:

python interpreter:

>>> print("aaa\tbbb\tccc")
aaa	bbb	ccc
>>> 

bpython:

>>> print("aaa\tbbb\tccc")

>>> 

So I guess that '\t' prevents string from being properly displayed. For example - '\n' works correctly:

python interpreter:

>>> print("aaa\nbbb\nccc")
aaa
bbb
ccc
>>> 

bpython:

>>> print("aaa\nbbb\nccc")
aaa
bbb
ccc
>>>

Have I missed something or it can be considered as a bug? Would you please take a look at it?

Best regards and thanks a lot for your glorious work on bpython!
Andrzej

@ikanobori
Copy link
Contributor

Mrm, I can't reproduce this on my machine (also 3.6), can you try updating to 0.17.1 and see if the problem re-occurs. If so, I know where to look, if not I'll dive into it a bit deeper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants