(a, b, sh, abs=abs, cmp=cmp)
| 290 | # 2 for funny cases (can't stat, NUL bytes, etc.) |
| 291 | # |
| 292 | def _cmp(a, b, sh, abs=abs, cmp=cmp): |
| 293 | try: |
| 294 | return not abs(cmp(a, b, sh)) |
| 295 | except (OSError, ValueError): |
| 296 | return 2 |
| 297 | |
| 298 | |
| 299 | # Return a copy with items that occur in skip removed. |