[New-bugs-announce] [issue11747] unified_diff function product incorrect range information
Jan Koprowski
report at bugs.python.org
Sun Apr 3 06:57:16 CEST 2011
New submission from Jan Koprowski <jan.koprowski at gmail.com>:
Python:
---------------------------
>>> import difflib
>>> dl = difflib.unified_diff([], ['a\n', 'b\n'])
>>> print ''.join(dl),
---
+++
@@ -1,0 +1,2 @@
+a
+b
Gnu diff:
---------------------------
$diff -uN a b
--- a 1970-01-01 01:00:00.000000000 +0100
+++ b 2011-04-03 06:56:28.330543000 +0200
@@ -0,0 +1,2 @@
+a
+b
----------
components: Library (Lib)
messages: 132832
nosy: jan.koprowski
priority: normal
severity: normal
status: open
title: unified_diff function product incorrect range information
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11747>
_______________________________________
More information about the New-bugs-announce
mailing list