equal
deleted
inserted
replaced
3489 for line in getstackframes(skip + 1, depth=depth): |
3489 for line in getstackframes(skip + 1, depth=depth): |
3490 f.write(line) |
3490 f.write(line) |
3491 f.flush() |
3491 f.flush() |
3492 |
3492 |
3493 |
3493 |
3494 def finddirs(path): |
|
3495 pos = path.rfind(b'/') |
|
3496 while pos != -1: |
|
3497 yield path[:pos] |
|
3498 pos = path.rfind(b'/', 0, pos) |
|
3499 yield b'' |
|
3500 |
|
3501 |
|
3502 # convenient shortcut |
3494 # convenient shortcut |
3503 dst = debugstacktrace |
3495 dst = debugstacktrace |
3504 |
3496 |
3505 |
3497 |
3506 def safename(f, tag, ctx, others=None): |
3498 def safename(f, tag, ctx, others=None): |