Skip to content

Bpython displays logging on single line in Python 3.4 & 3.5 #658

Closed
@xlash

Description

@xlash

The following is not displayed properly in Python 3.4.2, and 3.5.2. Is successfull on 2.7.12. Only happens in a loop scenario, but it's not a flushing timing.

✗ bpython             
bpython version 0.16 on top of Python 3.4.2 /home/gnm/PyEnvs/MSS_Reports/bin/python3.4
>>> import logging
>>> for i in range(0,10,1):
...     logging.critical('test')
...     
... 










CRITICAL:root:testCRITICAL:root:testCRITICAL:root:testCRITICAL:root:testCRITICAL:root:testCRITICAL:root:testCRITICAL:root:testCRITICAL:root:testCR
ITICAL:root:testCRITICAL:root:test
>>> for i in range(0,10,1):
...     print('test')
...     
... 
test
test
test
test
test
test
test
test
test
test

This is working also correctly in the normal python interpreter.

Thanks for help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions