Merge pull request #4241 from ThomasWaldmann/cythonize-ll3-1.1

add "# cython: language_level=3" directive to .pyx files, fixes #4214
This commit is contained in:
TW 2019-01-05 20:54:54 +01:00 committed by GitHub
commit 56433f7e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 19 additions and 2 deletions

View file

@ -1,3 +1,5 @@
# cython: language_level=3
from ..helpers import bin_to_hex
from libc.stdint cimport uint32_t

View file

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# cython: language_level=3
API_VERSION = '1.1_01'

View file

@ -1,3 +1,5 @@
# cython: language_level=3
"""
borg.compress
=============

View file

@ -1,3 +1,5 @@
# cython: language_level=3
"""A thin OpenSSL wrapper"""
import hashlib

View file

@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# cython: language_level=3
from collections import namedtuple
import locale
import os

View file

@ -1,3 +1,5 @@
# cython: language_level=3
import stat
from collections import namedtuple

View file

@ -1,3 +1,5 @@
# cython: language_level=3
import os
from ..helpers import user2uid, group2gid

View file

@ -1,3 +1,5 @@
# cython: language_level=3
import os
from ..helpers import posix_acl_use_stored_uid_gid

View file

@ -1,3 +1,5 @@
# cython: language_level=3
import os
import re
import stat

View file

@ -1,3 +1,5 @@
# cython: language_level=3
import errno
import os