]> git.proxmox.com Git - mirror_libseccomp.git/commit
python: use Cython language "3str"
authorPaul Moore <paul@paul-moore.com>
Wed, 1 May 2019 23:29:24 +0000 (19:29 -0400)
committerPaul Moore <paul@paul-moore.com>
Thu, 2 May 2019 00:01:42 +0000 (20:01 -0400)
commitd390edad9a8540c2e2dd0b12732cc8dd3fe1cc69
tree022e98be8d97834d0c84b00e231a79725bdb1a5b
parent3570b5cf9acbd1711d417e08ec608eea7b83d416
python: use Cython language "3str"

Set the Cython language level to "3str" which is described in the
Cython 0.29 changelog:

 "A new language level name 3str was added that mostly corresponds to
  language level 3, but keeps unprefixed string literals as type ‘str’
  in both Py2 and Py3, and the builtin ‘str’ type unchanged. This will
  become the default in the next Cython release and is meant to help
  user code a) transition more easily to this new default and
  b) migrate to Python 3 source code semantics without making support
  for Python 2.x difficult."

Signed-off-by: Paul Moore <paul@paul-moore.com>
configure.ac
src/python/seccomp.pyx