Merge lp:~schmichael/python-signalfd/helpers into lp:python-signalfd
Status: | Superseded |
---|---|
Proposed branch: | lp:~schmichael/python-signalfd/helpers |
Merge into: | lp:python-signalfd |
Diff against target: |
147 lines (+111/-3) 2 files modified
setup.py (+2/-1) signalfd/__init__.py (+109/-2) |
To merge this branch: | bzr merge lp:~schmichael/python-signalfd/helpers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jean-Paul Calderone | Pending | ||
Review via email: mp+50551@code.launchpad.net |
Description of the change
Without a helper to parse the 128 byte (80 meaningful bytes) siginfo_t, signalfds are pretty difficult to use, so I added the relevant struct and a couple helpers. I'm not picky about whether or not this is the final API; I just wanted to get something there to make signalfds usable.
Thanks for the great module! Sorry to see it didn't make it into 3.2. Hopefully 3.3?
Unmerged revisions
- 15. By Michael Schurter
-
Add a test for reading a nonblocking fd before it's ready
- 14. By Michael Schurter
-
Add some simple tests for {create_
,read_} signalfd helpers - 13. By Michael Schurter
-
Switch to a simpler namedtuples like class for SigInfo
- 12. By Michael Schurter
-
Match version in signalfd/
__init_ _.py - 11. By Michael Schurter
-
Remove use of setuptools
- 10. By Michael Schurter
-
Add basic bzrignore patterns
- 9. By Michael Schurter
-
No need for copyright attribution
- 8. By Michael Schurter
-
Default to no flags in create_signalfd helper
- 7. By Michael Schurter
-
Add signalfd creation and reader helpers