Skip to content

printing special characters #724

Description

@vaapadvaapad

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions