<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/python-systemd.git, branch master</title>
<subtitle>github.com: systemd/python-systemd.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/'/>
<entry>
<title>journal: remove ChainMap</title>
<updated>2020-11-12T18:19:47+00:00</updated>
<author>
<name>Glandos</name>
<email>bugs-github@antipoul.fr</email>
</author>
<published>2018-07-26T09:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=2166b5759ca0ead2b0ba1bf28eef5220268ae0ef'/>
<id>2166b5759ca0ead2b0ba1bf28eef5220268ae0ef</id>
<content type='text'>
"after some quick testing, the execution time got halved (32-ish
seconds to 16-ish seconds) when going through all journal entries."

Closes #63.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"after some quick testing, the execution time got halved (32-ish
seconds to 16-ish seconds) when going through all journal entries."

Closes #63.
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: add namespace support</title>
<updated>2020-11-12T18:10:13+00:00</updated>
<author>
<name>Alexander Olekhnovich</name>
<email>alex@aiven.io</email>
</author>
<published>2020-08-20T08:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=9cbc4e93b40b452296be6daf0f61a2533630a007'/>
<id>9cbc4e93b40b452296be6daf0f61a2533630a007</id>
<content type='text'>
Add log namespace support which is added since systemd v245
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add log namespace support which is added since systemd v245
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: allow JournalHandler constructor to be called with args in a positional param</title>
<updated>2020-11-12T18:05:37+00:00</updated>
<author>
<name>Tamaki Nishino</name>
<email>otamachan@gmail.com</email>
</author>
<published>2017-10-20T12:50:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=5dd8afda3ec83d245a4708638a40ca267d0dfed0'/>
<id>5dd8afda3ec83d245a4708638a40ca267d0dfed0</id>
<content type='text'>
This change enables to add extra fields to JournalHandler in a
configuration file loaded by `logging.config.fileConfig`, which only allows positional
parameters:

class=systemd.journal.JournalHandler
args={'level': INFO, 'SYSLOG_IDENTIFIER': 'my-cool-app'}

[zj: originally the patch added a new positional parameter to
__init__(), but that is not backwards compatible. So I added a new
classmethod to allow the positional parameters to be passed.]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change enables to add extra fields to JournalHandler in a
configuration file loaded by `logging.config.fileConfig`, which only allows positional
parameters:

class=systemd.journal.JournalHandler
args={'level': INFO, 'SYSLOG_IDENTIFIER': 'my-cool-app'}

[zj: originally the patch added a new positional parameter to
__init__(), but that is not backwards compatible. So I added a new
classmethod to allow the positional parameters to be passed.]
</pre>
</div>
</content>
</entry>
<entry>
<title>test: make sure $NOTIFY_SOCKET is unset in test</title>
<updated>2020-11-12T16:20:05+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2020-11-12T16:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=397dec74114dcdc72728cbe3fe8fa6b982b44f1b'/>
<id>397dec74114dcdc72728cbe3fe8fa6b982b44f1b</id>
<content type='text'>
When running the tests in Fedora's mock, the test would
fail because NOTIFY_SOCKET is set to /run/systemd/nspawn/notify, and
we get a permission error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running the tests in Fedora's mock, the test would
fail because NOTIFY_SOCKET is set to /run/systemd/nspawn/notify, and
we get a permission error.
</pre>
</div>
</content>
</entry>
<entry>
<title>reader: make PY_SSIZE_T_CLEAN</title>
<updated>2020-11-12T16:14:34+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2020-11-12T15:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=c71bbac357f0ac722e1bcb2edfa925b68cca23c9'/>
<id>c71bbac357f0ac722e1bcb2edfa925b68cca23c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: avoid warning about deprecated constant</title>
<updated>2020-11-12T16:14:34+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2020-11-11T21:36:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=9bacacace4c56de3260bcc196decba4af80f3942'/>
<id>9bacacace4c56de3260bcc196decba4af80f3942</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix seek_realtime to work with timezone aware date</title>
<updated>2020-11-12T07:50:25+00:00</updated>
<author>
<name>Léonard Gérard</name>
<email>34161+leolchat@users.noreply.github.com</email>
</author>
<published>2020-07-02T06:15:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=4c9a241949067fc8d55f3ea12170ad364bd8b18d'/>
<id>4c9a241949067fc8d55f3ea12170ad364bd8b18d</id>
<content type='text'>
`strftime("%s")` is not in the official python documentation but in my system (ubuntu 18.04 python 3.6.9) it is not aware of the object timezone and will return the wrong value if the timezone is specified and is not the system local one.

There are multiple ways to ensure a python `datetime.datetime` is in local timezone, the easiest (with python 3.3+) is to call `.astimezone()` If one wants to support earlier versions of python an extra dependency might be needed like `dateutil.tz.tzlocal()`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`strftime("%s")` is not in the official python documentation but in my system (ubuntu 18.04 python 3.6.9) it is not aware of the object timezone and will return the wrong value if the timezone is specified and is not the system local one.

There are multiple ways to ensure a python `datetime.datetime` is in local timezone, the easiest (with python 3.3+) is to call `.astimezone()` If one wants to support earlier versions of python an extra dependency might be needed like `dateutil.tz.tzlocal()`.</pre>
</div>
</content>
</entry>
<entry>
<title>make: Move -std=99 to setup.py</title>
<updated>2020-11-11T21:38:04+00:00</updated>
<author>
<name>Dominik Prien</name>
<email>dprien@users.noreply.github.com</email>
</author>
<published>2019-07-01T17:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=d08f8dd0f4607a72f1d5497467a2f0cf5a8ee5d4'/>
<id>d08f8dd0f4607a72f1d5497467a2f0cf5a8ee5d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>include endian.h for htobe16 definition</title>
<updated>2020-11-11T21:37:22+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-11-12T20:14:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=ced5a2098691f0e5199e98974ead7cb42d7e69c1'/>
<id>ced5a2098691f0e5199e98974ead7cb42d7e69c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo</title>
<updated>2020-11-11T21:36:55+00:00</updated>
<author>
<name>Hendrikto</name>
<email>hendrik.to@gmail.com</email>
</author>
<published>2020-01-19T19:46:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-systemd.git/commit/?id=4cfc17e862daaf7da4971164c45293a03ee40887'/>
<id>4cfc17e862daaf7da4971164c45293a03ee40887</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
