py3/cython: set the language_level to 3str

Summary:
Follow up to the previous diff setting language_level to 3str for
`edenscmnative/clindex.pyx`. Consistent behavior for all files.

Reviewed By: quark-zju

Differential Revision: D19634907

fbshipit-source-id: 779d6090b5660e109a37f9740299fb9623d8f34d
This commit is contained in:
Stefan Filip 2020-01-30 12:50:08 -08:00 committed by Facebook Github Bot
parent 13b7a759a2
commit 843f8a7f50
7 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# cython: language_level=3str
"""alternative changelog index
This extension replaces certain parts of changelog index algorithms to make it

View File

@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# cython: language_level=3str
from libc.errno cimport errno
from libc.stdint cimport uint32_t, uint8_t
from libc.stdlib cimport malloc, free, realloc

View File

@ -5,6 +5,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
# cython: language_level=3str
"""patch rmdir
Check if a directory is empty before trying to call rmdir on it. This works

View File

@ -7,6 +7,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
# cython: language_level=3str
"""accurate callgraph profiling
lsprof's high precision, plus statprof's intuitive output format.

View File

@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# cython: language_level=3str
from libc.errno cimport errno
from libc.stdint cimport uint32_t, uint8_t
from libc.stdlib cimport malloc, free, realloc

View File

@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# cython: language_level=3str
"""patch rmdir
Check if a directory is empty before trying to call rmdir on it. This works

View File

@ -4,6 +4,7 @@
# GNU General Public License version 2.
# distutils: language = c++
# cython: language_level=3str
# traceprof.pyx - C++ to Python bridge for the traceprof Mercurial extension