[issue14332] difflib.ndiff appears to ignore linejunk argument

2012-03-16 Thread Éric Araujo
Éric Araujo added the comment: Unfortunately Python 2.6 only gets fixes for security bugs now, not regular bugs. Can you reproduce the problem with 2.7 or 3.2? -- nosy: +eric.araujo, terry.reedy versions: -Python 2.6 ___ Python tracker

[issue14332] difflib.ndiff appears to ignore linejunk argument

2012-03-15 Thread Weronika Patena
New submission from Weronika Patena : According to difflib.ndiff help, the optional linejunk argument is "A function that should accept a single string argument, and return true iff the string is junk." Presumably the point is to ignore the junk lines in the comparison. But the function does