Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

printing special characters #724

Copy link
Copy link
@vaapadvaapad

Description

@vaapadvaapad
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.