[New-bugs-announce] [issue8620] wrong truncation of line in Cmd.cmd

Mattelaer report at bugs.python.org
Wed May 5 13:35:55 CEST 2010

New submission from Mattelaer <olivier.mattelaer at uclouvain.be>:

When using the Cmd module on a file. 
it happens that the last line is truncated from the last caracther.

The problem is simply that it can happen that the last line doesn't finish by '\n' charcacter. In consequence the line which is suppose to suppress the '\n' suppress another character.



components: None
messages: 105012
nosy: omatt
priority: normal
severity: normal
status: open
title: wrong truncation of line in Cmd.cmd
type: behavior
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list