diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-16 10:45:30 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-16 11:03:09 +0200 |
commit | c5f8b887bef5c11908913168ad566aa1bc07166e (patch) | |
tree | 2a76c84ec4c8a7fa17e94330105fd791f5d8d051 | |
parent | cc03ed6d2013f40c5e20efa2af8d822a47c592b2 (diff) | |
download | python-systemd-c5f8b887bef5c11908913168ad566aa1bc07166e.tar.gz |
NEWS: say that we'll drop support for python2 soon
I think it's nicer to make one last release with the remaining code
for python2 in place.
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | README.md | 9 |
2 files changed, 8 insertions, 9 deletions
@@ -12,15 +12,15 @@ CHANGES WITH 235: * id128: update for systemd-243 compatibility and other fixes. - * C syntax modernization. A minimum of C99 is assumed. + * C syntax modernization. A minimum of C99 is assumed. - * Fix seek_realtime to work with timezone aware date. + * Fix seek_realtime to work with timezone aware date on Python 3. * journal: add namespace support. - * Memory leak fixes. + * Fixes for memory leaks and documentation. - * Documentation and other fixes. + * Support for Python 2 will be removed after this release. CHANGES WITH 234: @@ -160,12 +160,11 @@ Notes ----- * Unlike the native C version of journald's `sd_journal_send()`, - printf-style substitution is not supported. Perform any - substitution using Python's f-strings first (or .format() - capabilities or `%` operator). + printf-style substitution is not supported. Perform any substitution + using Python's f-strings first (or `.format()` or the `%` operator). * A `ValueError` is raised if `sd_journald_sendv()` results in an - error. This might happen if there are no arguments or one of them - is invalid. + error. This might happen if there are no arguments or one of them is + invalid. A handler class for the Python logging framework is also provided: |