Skip to content

[CLN] remove last cython: nprofile comments #22371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/_libs/algos.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/groupby.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cimport cython
from cython cimport Py_ssize_t
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/hashing.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-
# Translated from the reference implementation
# at https://github.com/veorq/SipHash

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/hashtable.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/index.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-
from datetime import datetime, timedelta, date

cimport cython
Expand Down
3 changes: 2 additions & 1 deletion pandas/_libs/indexing.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# cython: profile=False
# -*- coding: utf-8 -*-


cdef class _NDFrameIndexerBase:
"""
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/join.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/khash.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
from cpython cimport PyObject
from numpy cimport int64_t, uint64_t, int32_t, uint32_t, float64_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/missing.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from tslibs.nattype cimport is_null_datetimelike

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/missing.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython cimport PyFloat_Check, PyComplex_Check

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/reduction.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
from distutils.version import LooseVersion

from cython cimport Py_ssize_t
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/reshape.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/skiplist.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cython cimport Py_ssize_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslib.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
from cython cimport Py_ssize_t

from cpython cimport PyFloat_Check, PyUnicode_Check
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/ccalendar.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cython cimport Py_ssize_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/ccalendar.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
# cython: boundscheck=False
"""
Cython implementations of functions resembling the stdlib calendar module
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/conversion.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython.datetime cimport datetime, tzinfo

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/conversion.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/fields.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
"""
Functions for accessing attributes of Timestamp/datetime64/datetime-like
objects and arrays
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/frequencies.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cpdef object get_rule_month(object source, object default=*)

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/nattype.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from numpy cimport int64_t
cdef int64_t NPY_NAT
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/nattype.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython cimport (
PyFloat_Check, PyComplex_Check,
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/np_datetime.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython.datetime cimport date, datetime

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/np_datetime.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython cimport (Py_EQ, Py_NE, Py_GE, Py_GT, Py_LT, Py_LE,
PyUnicode_Check, PyUnicode_AsASCIIString)
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timedeltas.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from numpy cimport int64_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timedeltas.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
import collections
import textwrap
import warnings
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timestamps.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from numpy cimport int64_t
from np_datetime cimport npy_datetimestruct
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timestamps.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
import warnings

from cpython cimport (PyObject_RichCompareBool, PyObject_RichCompare,
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timezones.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cdef bint is_utc(object tz)
cdef bint is_tzlocal(object tz)
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timezones.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cython cimport Py_ssize_t

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/window.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-
# cython: boundscheck=False, wraparound=False, cdivision=True

cimport cython
Expand Down