Ray.Allen <ysj....@gmail.com> added the comment: Yes there may be.
Here is the updated patch: Add a new keyword argument to context_diff() and unified_diff() named "warn_no_newline_at_end". If true, emit "\ No newline etc". It defaults to True, set it to false to get the old behavior. I'm not sure if this name is too long, but I haven't got a better name. ---------- Added file: http://bugs.python.org/file21207/issue_2142_2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2142> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com