Nick Coghlan added the comment:

There was another change implemented as part of this: trailing whitespace is 
now stripped from the lines emitted by the disassembler, which made it possible 
to simplify the tests a bit (since they no longer have to strip that whitespace 
themselves, they can just do normal string comparisons)

I rediscovered this existing issue, since the new more comprehensive tests for 
correct handling of the file parameter didn't have the extra operations to 
strip the trailing whitespace from each line. Rather than adding it, I just 
fixed the dissassembler to avoid emitting it in the first place (that was a lot 
easier now that Instruction._disassemble was the sole place responsible for 
emitting each line)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19378>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to