| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
journald.send() is renamed to journald.sendv(), and a replacement
journald.send() is added. This new function has a more pythonic API,
where one positional argument is used for the message, and keyword
arguments can be used to specify other fields.
Implementing argument parsing in C would be really painful, for little
gain, so a pure-python module is added, which provides send(), which
in turn calls sendv().
|
|
|
|
|
| |
Should work with Python 3.0 - 3.2. Compatibility with Python 3.3 might
require additional changes.
|
|
|
|
|
|
| |
When the #ifdefs neccesary to support Python 2 and 3 are added,
there will be many more paths through the code. This style of error
handling makes the code easier to read.
|
| |
|
|
|
|
|
|
|
|
| |
This should make the operation microscopically faster.
A second difference is that strings with embedded NULLs will now be
allowed, although I'm not really sure what is the impact of that
change.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|