Re: [systemd-devel] [PATCH] systemd-python: export new sd_journal_{process, get_events, get_timeout}

2013-04-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 15, 2013 at 08:24:08AM +0100, Steven Hiscocks wrote: > On 14/04/13 23:55, Zbigniew Jędrzejewski-Szmek wrote: > >get_timeout_ms is added as a convenience function, since > >it is abysmally hard to call clock_gettime() in Python > >versions lower than 3.3. And even for Python 3.3 users >

Re: [systemd-devel] [PATCH] systemd-python: export new sd_journal_{process, get_events, get_timeout}

2013-04-15 Thread Steven Hiscocks
On 14/04/13 23:55, Zbigniew Jędrzejewski-Szmek wrote: get_timeout_ms is added as a convenience function, since it is abysmally hard to call clock_gettime() in Python versions lower than 3.3. And even for Python 3.3 users it saves a few lines. --- Hello, I'd apply this directly, but since we're c

[systemd-devel] [PATCH] systemd-python: export new sd_journal_{process, get_events, get_timeout}

2013-04-14 Thread Zbigniew Jędrzejewski-Szmek
get_timeout_ms is added as a convenience function, since it is abysmally hard to call clock_gettime() in Python versions lower than 3.3. And even for Python 3.3 users it saves a few lines. --- Hello, I'd apply this directly, but since we're currently discussing changes pin the API, I thought it'd