Merge lp:~spiv/bzr/check-signals-2.0 into lp:bzr/2.0
Proposed by
Andrew Bennetts
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Martin Pool | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~spiv/bzr/check-signals-2.0 | ||||
Merge into: | lp:bzr/2.0 | ||||
Diff against target: |
103 lines (+20/-7) 2 files modified
NEWS (+4/-0) bzrlib/_readdir_pyx.pyx (+16/-7) |
||||
To merge this branch: | bzr merge lp:~spiv/bzr/check-signals-2.0 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pool | Approve | ||
John A Meinel | Approve | ||
Review via email: mp+16520@code.launchpad.net |
To post a comment you must log in.
This patch makes _readdir_pyx call PyErr_CheckSignals if the errno is EINTR. We don't have any concrete evidence that this has caused problems (see bug 495023), but it does seem like the correct thing to do regardless. If nothing else it should make _readdir_pyx a little more responsive to Ctrl-C (don't retry the readdir if the user wants to interrupt bzr!).
I've made the patch against lp:bzr/2.0, and this proposal is targetted to 2.0, but as 2.1 draws closer we may decide to play it safe with 2.0.