mysqlengine 0.1.11.6__cp311-cp311-win_amd64.whl → 0.1.11.7__cp311-cp311-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mysqlengine might be problematic. Click here for more details.

mysqlengine/utils.c CHANGED
@@ -10,7 +10,7 @@
10
10
  ]
11
11
  ],
12
12
  "include_dirs": [
13
- "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-s71fkjmu\\overlay\\Lib\\site-packages\\numpy\\core\\include"
13
+ "C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-o1tb4bhz\\overlay\\Lib\\site-packages\\numpy\\core\\include"
14
14
  ],
15
15
  "name": "mysqlengine.utils",
16
16
  "sources": [
@@ -1581,7 +1581,7 @@ static const char *__pyx_f[] = {
1581
1581
 
1582
1582
  /* #### Code section: numeric_typedefs ### */
1583
1583
 
1584
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":730
1584
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":730
1585
1585
  * # in Cython to enable them only on the right systems.
1586
1586
  *
1587
1587
  * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
@@ -1590,7 +1590,7 @@ static const char *__pyx_f[] = {
1590
1590
  */
1591
1591
  typedef npy_int8 __pyx_t_5numpy_int8_t;
1592
1592
 
1593
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":731
1593
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":731
1594
1594
  *
1595
1595
  * ctypedef npy_int8 int8_t
1596
1596
  * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
@@ -1599,7 +1599,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
1599
1599
  */
1600
1600
  typedef npy_int16 __pyx_t_5numpy_int16_t;
1601
1601
 
1602
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":732
1602
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":732
1603
1603
  * ctypedef npy_int8 int8_t
1604
1604
  * ctypedef npy_int16 int16_t
1605
1605
  * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
@@ -1608,7 +1608,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
1608
1608
  */
1609
1609
  typedef npy_int32 __pyx_t_5numpy_int32_t;
1610
1610
 
1611
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":733
1611
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":733
1612
1612
  * ctypedef npy_int16 int16_t
1613
1613
  * ctypedef npy_int32 int32_t
1614
1614
  * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
@@ -1617,7 +1617,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
1617
1617
  */
1618
1618
  typedef npy_int64 __pyx_t_5numpy_int64_t;
1619
1619
 
1620
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":737
1620
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":737
1621
1621
  * #ctypedef npy_int128 int128_t
1622
1622
  *
1623
1623
  * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
@@ -1626,7 +1626,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
1626
1626
  */
1627
1627
  typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1628
1628
 
1629
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":738
1629
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":738
1630
1630
  *
1631
1631
  * ctypedef npy_uint8 uint8_t
1632
1632
  * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
@@ -1635,7 +1635,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
1635
1635
  */
1636
1636
  typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1637
1637
 
1638
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":739
1638
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":739
1639
1639
  * ctypedef npy_uint8 uint8_t
1640
1640
  * ctypedef npy_uint16 uint16_t
1641
1641
  * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
@@ -1644,7 +1644,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1644
1644
  */
1645
1645
  typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1646
1646
 
1647
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":740
1647
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":740
1648
1648
  * ctypedef npy_uint16 uint16_t
1649
1649
  * ctypedef npy_uint32 uint32_t
1650
1650
  * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
@@ -1653,7 +1653,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1653
1653
  */
1654
1654
  typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1655
1655
 
1656
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":744
1656
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":744
1657
1657
  * #ctypedef npy_uint128 uint128_t
1658
1658
  *
1659
1659
  * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
@@ -1662,7 +1662,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1662
1662
  */
1663
1663
  typedef npy_float32 __pyx_t_5numpy_float32_t;
1664
1664
 
1665
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":745
1665
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":745
1666
1666
  *
1667
1667
  * ctypedef npy_float32 float32_t
1668
1668
  * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
@@ -1671,7 +1671,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
1671
1671
  */
1672
1672
  typedef npy_float64 __pyx_t_5numpy_float64_t;
1673
1673
 
1674
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":754
1674
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":754
1675
1675
  * # The int types are mapped a bit surprising --
1676
1676
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1677
1677
  * ctypedef npy_long int_t # <<<<<<<<<<<<<<
@@ -1680,7 +1680,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
1680
1680
  */
1681
1681
  typedef npy_long __pyx_t_5numpy_int_t;
1682
1682
 
1683
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":755
1683
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":755
1684
1684
  * # numpy.int corresponds to 'l' and numpy.long to 'q'
1685
1685
  * ctypedef npy_long int_t
1686
1686
  * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
@@ -1689,7 +1689,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
1689
1689
  */
1690
1690
  typedef npy_longlong __pyx_t_5numpy_longlong_t;
1691
1691
 
1692
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":757
1692
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":757
1693
1693
  * ctypedef npy_longlong longlong_t
1694
1694
  *
1695
1695
  * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
@@ -1698,7 +1698,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
1698
1698
  */
1699
1699
  typedef npy_ulong __pyx_t_5numpy_uint_t;
1700
1700
 
1701
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":758
1701
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":758
1702
1702
  *
1703
1703
  * ctypedef npy_ulong uint_t
1704
1704
  * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
@@ -1707,7 +1707,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
1707
1707
  */
1708
1708
  typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1709
1709
 
1710
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":760
1710
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":760
1711
1711
  * ctypedef npy_ulonglong ulonglong_t
1712
1712
  *
1713
1713
  * ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
@@ -1716,7 +1716,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1716
1716
  */
1717
1717
  typedef npy_intp __pyx_t_5numpy_intp_t;
1718
1718
 
1719
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
1719
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
1720
1720
  *
1721
1721
  * ctypedef npy_intp intp_t
1722
1722
  * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
@@ -1725,7 +1725,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
1725
1725
  */
1726
1726
  typedef npy_uintp __pyx_t_5numpy_uintp_t;
1727
1727
 
1728
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":763
1728
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":763
1729
1729
  * ctypedef npy_uintp uintp_t
1730
1730
  *
1731
1731
  * ctypedef npy_double float_t # <<<<<<<<<<<<<<
@@ -1734,7 +1734,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
1734
1734
  */
1735
1735
  typedef npy_double __pyx_t_5numpy_float_t;
1736
1736
 
1737
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
1737
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
1738
1738
  *
1739
1739
  * ctypedef npy_double float_t
1740
1740
  * ctypedef npy_double double_t # <<<<<<<<<<<<<<
@@ -1743,7 +1743,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
1743
1743
  */
1744
1744
  typedef npy_double __pyx_t_5numpy_double_t;
1745
1745
 
1746
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
1746
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
1747
1747
  * ctypedef npy_double float_t
1748
1748
  * ctypedef npy_double double_t
1749
1749
  * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
@@ -1809,7 +1809,7 @@ struct __pyx_opt_args_7cpython_11contextvars_get_value_no_default {
1809
1809
  PyObject *default_value;
1810
1810
  };
1811
1811
 
1812
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
1812
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
1813
1813
  * ctypedef npy_longdouble longdouble_t
1814
1814
  *
1815
1815
  * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
@@ -1818,7 +1818,7 @@ struct __pyx_opt_args_7cpython_11contextvars_get_value_no_default {
1818
1818
  */
1819
1819
  typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1820
1820
 
1821
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
1821
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
1822
1822
  *
1823
1823
  * ctypedef npy_cfloat cfloat_t
1824
1824
  * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
@@ -1827,7 +1827,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1827
1827
  */
1828
1828
  typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1829
1829
 
1830
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
1830
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
1831
1831
  * ctypedef npy_cfloat cfloat_t
1832
1832
  * ctypedef npy_cdouble cdouble_t
1833
1833
  * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
@@ -1836,7 +1836,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1836
1836
  */
1837
1837
  typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
1838
1838
 
1839
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
1839
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
1840
1840
  * ctypedef npy_clongdouble clongdouble_t
1841
1841
  *
1842
1842
  * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
@@ -1965,7 +1965,7 @@ struct __pyx_t_7cytimes_10cydatetime_iso {
1965
1965
  * cdef long long localize_timestamp(double timestamp) except *
1966
1966
  * # Date
1967
1967
  * cdef datetime.date gen_date(int year=?, int month=?, int day=?) except * # <<<<<<<<<<<<<<
1968
- * cdef datetime.date gen_date_local() noexcept
1968
+ * cdef datetime.date gen_date_now() noexcept
1969
1969
  * cdef long long date_mktime(datetime.date date) except *
1970
1970
  */
1971
1971
  struct __pyx_opt_args_7cytimes_10cydatetime_gen_date {
@@ -2007,8 +2007,8 @@ struct __pyx_opt_args_7cytimes_10cydatetime_date_replace {
2007
2007
  * cdef datetime.date date_replace(datetime.date date, int year=?, int month=?, int day=?) noexcept
2008
2008
  * # Datetime
2009
2009
  * cdef datetime.datetime gen_dt(int year=?, int month=?, int day=?, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) except * # <<<<<<<<<<<<<<
2010
- * cdef datetime.datetime gen_dt_local() noexcept
2011
- * cdef long long dt_mktime(datetime.datetime dt) except *
2010
+ * cdef datetime.datetime gen_dt_now() noexcept
2011
+ * cdef datetime.datetime gen_dt_utcnow() noexcept
2012
2012
  */
2013
2013
  struct __pyx_opt_args_7cytimes_10cydatetime_gen_dt {
2014
2014
  int __pyx_n;
@@ -2023,7 +2023,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_gen_dt {
2023
2023
  int fold;
2024
2024
  };
2025
2025
 
2026
- /* "cydatetime.pxd":137
2026
+ /* "cydatetime.pxd":138
2027
2027
  * cdef datetime.datetime dt_fr_date_time(datetime.date date, datetime.time time) noexcept
2028
2028
  * cdef datetime.datetime dt_fr_ordinal(int ordinal) noexcept
2029
2029
  * cdef datetime.datetime dt_fr_seconds(double seconds, object tzinfo=?, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2036,7 +2036,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_fr_seconds {
2036
2036
  int fold;
2037
2037
  };
2038
2038
 
2039
- /* "cydatetime.pxd":138
2039
+ /* "cydatetime.pxd":139
2040
2040
  * cdef datetime.datetime dt_fr_ordinal(int ordinal) noexcept
2041
2041
  * cdef datetime.datetime dt_fr_seconds(double seconds, object tzinfo=?, int fold=?) noexcept
2042
2042
  * cdef datetime.datetime dt_fr_microseconds(long long microseconds, object tzinfo=?, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2049,7 +2049,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_fr_microseconds {
2049
2049
  int fold;
2050
2050
  };
2051
2051
 
2052
- /* "cydatetime.pxd":139
2052
+ /* "cydatetime.pxd":140
2053
2053
  * cdef datetime.datetime dt_fr_seconds(double seconds, object tzinfo=?, int fold=?) noexcept
2054
2054
  * cdef datetime.datetime dt_fr_microseconds(long long microseconds, object tzinfo=?, int fold=?) noexcept
2055
2055
  * cdef datetime.datetime dt_fr_timestamp(double timestamp, object tzinfo=?) except * # <<<<<<<<<<<<<<
@@ -2061,7 +2061,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_fr_timestamp {
2061
2061
  PyObject *tzinfo;
2062
2062
  };
2063
2063
 
2064
- /* "cydatetime.pxd":140
2064
+ /* "cydatetime.pxd":141
2065
2065
  * cdef datetime.datetime dt_fr_microseconds(long long microseconds, object tzinfo=?, int fold=?) noexcept
2066
2066
  * cdef datetime.datetime dt_fr_timestamp(double timestamp, object tzinfo=?) except *
2067
2067
  * cdef datetime.datetime dt_add(datetime.datetime dt, int days=?, long long seconds=?, long long microseconds=?) noexcept # <<<<<<<<<<<<<<
@@ -2075,7 +2075,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_add {
2075
2075
  PY_LONG_LONG microseconds;
2076
2076
  };
2077
2077
 
2078
- /* "cydatetime.pxd":144
2078
+ /* "cydatetime.pxd":145
2079
2079
  * cdef datetime.timedelta dt_sub_dt(datetime.datetime dt_l, datetime.datetime dt_r) noexcept
2080
2080
  * cdef long long dt_sub_dt_microseconds(datetime.datetime dt_l, datetime.datetime dt_r) noexcept
2081
2081
  * cdef datetime.datetime dt_replace(datetime.datetime dt, int year=?, int month=?, int day=?, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2095,7 +2095,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace {
2095
2095
  int fold;
2096
2096
  };
2097
2097
 
2098
- /* "cydatetime.pxd":145
2098
+ /* "cydatetime.pxd":146
2099
2099
  * cdef long long dt_sub_dt_microseconds(datetime.datetime dt_l, datetime.datetime dt_r) noexcept
2100
2100
  * cdef datetime.datetime dt_replace(datetime.datetime dt, int year=?, int month=?, int day=?, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) noexcept
2101
2101
  * cdef datetime.datetime dt_replace_tzinfo(datetime.datetime dt, object tzinfo=?) noexcept # <<<<<<<<<<<<<<
@@ -2107,7 +2107,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace_tzinfo {
2107
2107
  PyObject *tzinfo;
2108
2108
  };
2109
2109
 
2110
- /* "cydatetime.pxd":146
2110
+ /* "cydatetime.pxd":147
2111
2111
  * cdef datetime.datetime dt_replace(datetime.datetime dt, int year=?, int month=?, int day=?, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) noexcept
2112
2112
  * cdef datetime.datetime dt_replace_tzinfo(datetime.datetime dt, object tzinfo=?) noexcept
2113
2113
  * cdef datetime.datetime dt_replace_fold(datetime.datetime dt, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2119,12 +2119,12 @@ struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace_fold {
2119
2119
  int fold;
2120
2120
  };
2121
2121
 
2122
- /* "cydatetime.pxd":148
2122
+ /* "cydatetime.pxd":149
2123
2123
  * cdef datetime.datetime dt_replace_fold(datetime.datetime dt, int fold=?) noexcept
2124
2124
  * # Datetime.Time
2125
2125
  * cdef datetime.time gen_time(int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) except * # <<<<<<<<<<<<<<
2126
- * cdef datetime.time gen_time_local() noexcept
2127
- * cdef bint is_time(object obj) except -1
2126
+ * cdef datetime.time gen_time_now() noexcept
2127
+ * cdef datetime.time gen_time_utcnow() noexcept
2128
2128
  */
2129
2129
  struct __pyx_opt_args_7cytimes_10cydatetime_gen_time {
2130
2130
  int __pyx_n;
@@ -2136,7 +2136,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_gen_time {
2136
2136
  int fold;
2137
2137
  };
2138
2138
 
2139
- /* "cydatetime.pxd":164
2139
+ /* "cydatetime.pxd":166
2140
2140
  * cdef datetime.time time_fr_dt(datetime.datetime dt) noexcept
2141
2141
  * cdef datetime.time time_fr_dt_tz(datetime.datetime dt) noexcept
2142
2142
  * cdef datetime.time time_fr_seconds(double seconds, object tzinfo=?, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2149,7 +2149,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_time_fr_seconds {
2149
2149
  int fold;
2150
2150
  };
2151
2151
 
2152
- /* "cydatetime.pxd":165
2152
+ /* "cydatetime.pxd":167
2153
2153
  * cdef datetime.time time_fr_dt_tz(datetime.datetime dt) noexcept
2154
2154
  * cdef datetime.time time_fr_seconds(double seconds, object tzinfo=?, int fold=?) noexcept
2155
2155
  * cdef datetime.time time_fr_microseconds(long long microseconds, object tzinfo=?, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2162,7 +2162,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_time_fr_microseconds {
2162
2162
  int fold;
2163
2163
  };
2164
2164
 
2165
- /* "cydatetime.pxd":166
2165
+ /* "cydatetime.pxd":168
2166
2166
  * cdef datetime.time time_fr_seconds(double seconds, object tzinfo=?, int fold=?) noexcept
2167
2167
  * cdef datetime.time time_fr_microseconds(long long microseconds, object tzinfo=?, int fold=?) noexcept
2168
2168
  * cdef datetime.time time_replace(datetime.time time, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2179,7 +2179,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_time_replace {
2179
2179
  int fold;
2180
2180
  };
2181
2181
 
2182
- /* "cydatetime.pxd":167
2182
+ /* "cydatetime.pxd":169
2183
2183
  * cdef datetime.time time_fr_microseconds(long long microseconds, object tzinfo=?, int fold=?) noexcept
2184
2184
  * cdef datetime.time time_replace(datetime.time time, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) noexcept
2185
2185
  * cdef datetime.time time_replace_tzinfo(datetime.time time, object tzinfo=?) noexcept # <<<<<<<<<<<<<<
@@ -2191,7 +2191,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_time_replace_tzinfo {
2191
2191
  PyObject *tzinfo;
2192
2192
  };
2193
2193
 
2194
- /* "cydatetime.pxd":168
2194
+ /* "cydatetime.pxd":170
2195
2195
  * cdef datetime.time time_replace(datetime.time time, int hour=?, int minute=?, int second=?, int microsecond=?, object tzinfo=?, int fold=?) noexcept
2196
2196
  * cdef datetime.time time_replace_tzinfo(datetime.time time, object tzinfo=?) noexcept
2197
2197
  * cdef datetime.time time_replace_fold(datetime.time time, int fold=?) noexcept # <<<<<<<<<<<<<<
@@ -2203,7 +2203,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_time_replace_fold {
2203
2203
  int fold;
2204
2204
  };
2205
2205
 
2206
- /* "cydatetime.pxd":170
2206
+ /* "cydatetime.pxd":172
2207
2207
  * cdef datetime.time time_replace_fold(datetime.time time, int fold=?) noexcept
2208
2208
  * # Timedelta
2209
2209
  * cdef datetime.timedelta gen_delta(int days=?, long long seconds=?, long long microseconds=?) except * # <<<<<<<<<<<<<<
@@ -2217,7 +2217,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_gen_delta {
2217
2217
  PY_LONG_LONG microseconds;
2218
2218
  };
2219
2219
 
2220
- /* "cydatetime.pxd":182
2220
+ /* "cydatetime.pxd":184
2221
2221
  * cdef datetime.timedelta delta_fr_seconds(double seconds) noexcept
2222
2222
  * cdef datetime.timedelta delta_fr_microseconds(long long microseconds) noexcept
2223
2223
  * cdef datetime.timedelta delta_add(datetime.timedelta delta, int days=?, long long seconds=?, long long microseconds=?) noexcept # <<<<<<<<<<<<<<
@@ -2231,7 +2231,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_delta_add {
2231
2231
  PY_LONG_LONG microseconds;
2232
2232
  };
2233
2233
 
2234
- /* "cydatetime.pxd":186
2234
+ /* "cydatetime.pxd":188
2235
2235
  * cdef datetime.timedelta delta_sub_delta(datetime.timedelta delta_l, datetime.timedelta delta_r) noexcept
2236
2236
  * # Timezone
2237
2237
  * cdef datetime.tzinfo gen_timezone(int offset_seconds, str tzname=?) except * # <<<<<<<<<<<<<<
@@ -2243,7 +2243,7 @@ struct __pyx_opt_args_7cytimes_10cydatetime_gen_timezone {
2243
2243
  PyObject *tzname;
2244
2244
  };
2245
2245
 
2246
- /* "cydatetime.pxd":187
2246
+ /* "cydatetime.pxd":189
2247
2247
  * # Timezone
2248
2248
  * cdef datetime.tzinfo gen_timezone(int offset_seconds, str tzname=?) except *
2249
2249
  * cdef datetime.tzinfo gen_timezone_local(datetime.datetime dt=?) except * # <<<<<<<<<<<<<<
@@ -3788,7 +3788,6 @@ static PY_LONG_LONG *__pyx_vp_7cytimes_10cydatetime_HOUR_DAY = 0;
3788
3788
  static PY_LONG_LONG *__pyx_vp_7cytimes_10cydatetime_HOUR_HOUR = 0;
3789
3789
  #define __pyx_v_7cytimes_10cydatetime_HOUR_HOUR (*__pyx_vp_7cytimes_10cydatetime_HOUR_HOUR)
3790
3790
  static int (*__pyx_f_7cytimes_10cydatetime_get_year)(PyObject *); /*proto*/
3791
- static PyDateTime_DateTime *(*__pyx_f_7cytimes_10cydatetime_gen_dt_local)(void); /*proto*/
3792
3791
  static PyDateTime_DateTime *(*__pyx_f_7cytimes_10cydatetime_dt_add)(PyDateTime_DateTime *, struct __pyx_opt_args_7cytimes_10cydatetime_dt_add *__pyx_optional_args); /*proto*/
3793
3792
  static PyDateTime_DateTime *(*__pyx_f_7cytimes_10cydatetime_dt_replace)(PyDateTime_DateTime *, struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace *__pyx_optional_args); /*proto*/
3794
3793
 
@@ -3947,6 +3946,7 @@ static const char __pyx_k_raise_error[] = "raise_error";
3947
3946
  static const char __pyx_k_str_replace[] = "str_replace";
3948
3947
  static const char __pyx_k_RuntimeError[] = "RuntimeError";
3949
3948
  static const char __pyx_k_cytimes_pydt[] = "cytimes.pydt";
3949
+ static const char __pyx_k_gen_dt_local[] = "gen_dt_local";
3950
3950
  static const char __pyx_k_initializing[] = "_initializing";
3951
3951
  static const char __pyx_k_is_coroutine[] = "_is_coroutine";
3952
3952
  static const char __pyx_k_parse_dtypes[] = "parse_dtypes";
@@ -4240,6 +4240,7 @@ typedef struct {
4240
4240
  PyObject *__pyx_n_s_findall;
4241
4241
  PyObject *__pyx_n_s_float;
4242
4242
  PyObject *__pyx_n_s_format;
4243
+ PyObject *__pyx_n_s_gen_dt_local;
4243
4244
  PyObject *__pyx_n_s_gen_time_span;
4244
4245
  PyObject *__pyx_kp_u_gen_time_span_Invalid_unit;
4245
4246
  PyObject *__pyx_kp_u_gen_time_span_Must_provide_as_l;
@@ -4508,6 +4509,7 @@ static int __pyx_m_clear(PyObject *m) {
4508
4509
  Py_CLEAR(clear_module_state->__pyx_n_s_findall);
4509
4510
  Py_CLEAR(clear_module_state->__pyx_n_s_float);
4510
4511
  Py_CLEAR(clear_module_state->__pyx_n_s_format);
4512
+ Py_CLEAR(clear_module_state->__pyx_n_s_gen_dt_local);
4511
4513
  Py_CLEAR(clear_module_state->__pyx_n_s_gen_time_span);
4512
4514
  Py_CLEAR(clear_module_state->__pyx_kp_u_gen_time_span_Invalid_unit);
4513
4515
  Py_CLEAR(clear_module_state->__pyx_kp_u_gen_time_span_Must_provide_as_l);
@@ -4754,6 +4756,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
4754
4756
  Py_VISIT(traverse_module_state->__pyx_n_s_findall);
4755
4757
  Py_VISIT(traverse_module_state->__pyx_n_s_float);
4756
4758
  Py_VISIT(traverse_module_state->__pyx_n_s_format);
4759
+ Py_VISIT(traverse_module_state->__pyx_n_s_gen_dt_local);
4757
4760
  Py_VISIT(traverse_module_state->__pyx_n_s_gen_time_span);
4758
4761
  Py_VISIT(traverse_module_state->__pyx_kp_u_gen_time_span_Invalid_unit);
4759
4762
  Py_VISIT(traverse_module_state->__pyx_kp_u_gen_time_span_Must_provide_as_l);
@@ -5114,6 +5117,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
5114
5117
  #define __pyx_n_s_findall __pyx_mstate_global->__pyx_n_s_findall
5115
5118
  #define __pyx_n_s_float __pyx_mstate_global->__pyx_n_s_float
5116
5119
  #define __pyx_n_s_format __pyx_mstate_global->__pyx_n_s_format
5120
+ #define __pyx_n_s_gen_dt_local __pyx_mstate_global->__pyx_n_s_gen_dt_local
5117
5121
  #define __pyx_n_s_gen_time_span __pyx_mstate_global->__pyx_n_s_gen_time_span
5118
5122
  #define __pyx_kp_u_gen_time_span_Invalid_unit __pyx_mstate_global->__pyx_kp_u_gen_time_span_Invalid_unit
5119
5123
  #define __pyx_kp_u_gen_time_span_Must_provide_as_l __pyx_mstate_global->__pyx_kp_u_gen_time_span_Must_provide_as_l
@@ -5251,7 +5255,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
5251
5255
  #define __pyx_codeobj__52 __pyx_mstate_global->__pyx_codeobj__52
5252
5256
  /* #### Code section: module_code ### */
5253
5257
 
5254
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":245
5258
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":245
5255
5259
  *
5256
5260
  * @property
5257
5261
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -5262,7 +5266,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
5262
5266
  static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
5263
5267
  PyObject *__pyx_r;
5264
5268
 
5265
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":248
5269
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":248
5266
5270
  * """Returns a borrowed reference to the object owning the data/memory.
5267
5271
  * """
5268
5272
  * return PyArray_BASE(self) # <<<<<<<<<<<<<<
@@ -5272,7 +5276,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
5272
5276
  __pyx_r = PyArray_BASE(__pyx_v_self);
5273
5277
  goto __pyx_L0;
5274
5278
 
5275
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":245
5279
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":245
5276
5280
  *
5277
5281
  * @property
5278
5282
  * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<<
@@ -5285,7 +5289,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
5285
5289
  return __pyx_r;
5286
5290
  }
5287
5291
 
5288
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":251
5292
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":251
5289
5293
  *
5290
5294
  * @property
5291
5295
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -5299,7 +5303,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
5299
5303
  PyArray_Descr *__pyx_t_1;
5300
5304
  __Pyx_RefNannySetupContext("descr", 1);
5301
5305
 
5302
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":254
5306
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":254
5303
5307
  * """Returns an owned reference to the dtype of the array.
5304
5308
  * """
5305
5309
  * return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
@@ -5312,7 +5316,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
5312
5316
  __pyx_r = ((PyArray_Descr *)__pyx_t_1);
5313
5317
  goto __pyx_L0;
5314
5318
 
5315
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":251
5319
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":251
5316
5320
  *
5317
5321
  * @property
5318
5322
  * cdef inline dtype descr(self): # <<<<<<<<<<<<<<
@@ -5327,7 +5331,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
5327
5331
  return __pyx_r;
5328
5332
  }
5329
5333
 
5330
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":257
5334
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":257
5331
5335
  *
5332
5336
  * @property
5333
5337
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -5338,7 +5342,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
5338
5342
  static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
5339
5343
  int __pyx_r;
5340
5344
 
5341
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":260
5345
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":260
5342
5346
  * """Returns the number of dimensions in the array.
5343
5347
  * """
5344
5348
  * return PyArray_NDIM(self) # <<<<<<<<<<<<<<
@@ -5348,7 +5352,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
5348
5352
  __pyx_r = PyArray_NDIM(__pyx_v_self);
5349
5353
  goto __pyx_L0;
5350
5354
 
5351
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":257
5355
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":257
5352
5356
  *
5353
5357
  * @property
5354
5358
  * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<<
@@ -5361,7 +5365,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
5361
5365
  return __pyx_r;
5362
5366
  }
5363
5367
 
5364
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
5368
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
5365
5369
  *
5366
5370
  * @property
5367
5371
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -5372,7 +5376,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
5372
5376
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
5373
5377
  npy_intp *__pyx_r;
5374
5378
 
5375
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":268
5379
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":268
5376
5380
  * Can return NULL for 0-dimensional arrays.
5377
5381
  * """
5378
5382
  * return PyArray_DIMS(self) # <<<<<<<<<<<<<<
@@ -5382,7 +5386,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
5382
5386
  __pyx_r = PyArray_DIMS(__pyx_v_self);
5383
5387
  goto __pyx_L0;
5384
5388
 
5385
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
5389
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
5386
5390
  *
5387
5391
  * @property
5388
5392
  * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<<
@@ -5395,7 +5399,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
5395
5399
  return __pyx_r;
5396
5400
  }
5397
5401
 
5398
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":271
5402
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":271
5399
5403
  *
5400
5404
  * @property
5401
5405
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -5406,7 +5410,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
5406
5410
  static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
5407
5411
  npy_intp *__pyx_r;
5408
5412
 
5409
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":275
5413
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":275
5410
5414
  * The number of elements matches the number of dimensions of the array (ndim).
5411
5415
  * """
5412
5416
  * return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
@@ -5416,7 +5420,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
5416
5420
  __pyx_r = PyArray_STRIDES(__pyx_v_self);
5417
5421
  goto __pyx_L0;
5418
5422
 
5419
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":271
5423
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":271
5420
5424
  *
5421
5425
  * @property
5422
5426
  * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<<
@@ -5429,7 +5433,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
5429
5433
  return __pyx_r;
5430
5434
  }
5431
5435
 
5432
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":278
5436
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":278
5433
5437
  *
5434
5438
  * @property
5435
5439
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -5440,7 +5444,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
5440
5444
  static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
5441
5445
  npy_intp __pyx_r;
5442
5446
 
5443
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":281
5447
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":281
5444
5448
  * """Returns the total size (in number of elements) of the array.
5445
5449
  * """
5446
5450
  * return PyArray_SIZE(self) # <<<<<<<<<<<<<<
@@ -5450,7 +5454,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
5450
5454
  __pyx_r = PyArray_SIZE(__pyx_v_self);
5451
5455
  goto __pyx_L0;
5452
5456
 
5453
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":278
5457
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":278
5454
5458
  *
5455
5459
  * @property
5456
5460
  * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<<
@@ -5463,7 +5467,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
5463
5467
  return __pyx_r;
5464
5468
  }
5465
5469
 
5466
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
5470
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
5467
5471
  *
5468
5472
  * @property
5469
5473
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -5474,7 +5478,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
5474
5478
  static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
5475
5479
  char *__pyx_r;
5476
5480
 
5477
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":290
5481
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":290
5478
5482
  * of `PyArray_DATA()` instead, which returns a 'void*'.
5479
5483
  * """
5480
5484
  * return PyArray_BYTES(self) # <<<<<<<<<<<<<<
@@ -5484,7 +5488,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
5484
5488
  __pyx_r = PyArray_BYTES(__pyx_v_self);
5485
5489
  goto __pyx_L0;
5486
5490
 
5487
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
5491
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
5488
5492
  *
5489
5493
  * @property
5490
5494
  * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<<
@@ -5497,7 +5501,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
5497
5501
  return __pyx_r;
5498
5502
  }
5499
5503
 
5500
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
5504
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
5501
5505
  * ctypedef npy_cdouble complex_t
5502
5506
  *
5503
5507
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -5514,7 +5518,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
5514
5518
  int __pyx_clineno = 0;
5515
5519
  __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1);
5516
5520
 
5517
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":774
5521
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":774
5518
5522
  *
5519
5523
  * cdef inline object PyArray_MultiIterNew1(a):
5520
5524
  * return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
@@ -5528,7 +5532,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
5528
5532
  __pyx_t_1 = 0;
5529
5533
  goto __pyx_L0;
5530
5534
 
5531
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
5535
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
5532
5536
  * ctypedef npy_cdouble complex_t
5533
5537
  *
5534
5538
  * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
@@ -5547,7 +5551,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
5547
5551
  return __pyx_r;
5548
5552
  }
5549
5553
 
5550
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
5554
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
5551
5555
  * return PyArray_MultiIterNew(1, <void*>a)
5552
5556
  *
5553
5557
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -5564,7 +5568,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
5564
5568
  int __pyx_clineno = 0;
5565
5569
  __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1);
5566
5570
 
5567
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
5571
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
5568
5572
  *
5569
5573
  * cdef inline object PyArray_MultiIterNew2(a, b):
5570
5574
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
@@ -5578,7 +5582,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
5578
5582
  __pyx_t_1 = 0;
5579
5583
  goto __pyx_L0;
5580
5584
 
5581
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
5585
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
5582
5586
  * return PyArray_MultiIterNew(1, <void*>a)
5583
5587
  *
5584
5588
  * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
@@ -5597,7 +5601,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
5597
5601
  return __pyx_r;
5598
5602
  }
5599
5603
 
5600
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
5604
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
5601
5605
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
5602
5606
  *
5603
5607
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -5614,7 +5618,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
5614
5618
  int __pyx_clineno = 0;
5615
5619
  __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1);
5616
5620
 
5617
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
5621
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
5618
5622
  *
5619
5623
  * cdef inline object PyArray_MultiIterNew3(a, b, c):
5620
5624
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
@@ -5628,7 +5632,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
5628
5632
  __pyx_t_1 = 0;
5629
5633
  goto __pyx_L0;
5630
5634
 
5631
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
5635
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
5632
5636
  * return PyArray_MultiIterNew(2, <void*>a, <void*>b)
5633
5637
  *
5634
5638
  * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
@@ -5647,7 +5651,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
5647
5651
  return __pyx_r;
5648
5652
  }
5649
5653
 
5650
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
5654
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
5651
5655
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
5652
5656
  *
5653
5657
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -5664,7 +5668,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
5664
5668
  int __pyx_clineno = 0;
5665
5669
  __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1);
5666
5670
 
5667
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
5671
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
5668
5672
  *
5669
5673
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
5670
5674
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
@@ -5678,7 +5682,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
5678
5682
  __pyx_t_1 = 0;
5679
5683
  goto __pyx_L0;
5680
5684
 
5681
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
5685
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
5682
5686
  * return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
5683
5687
  *
5684
5688
  * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
@@ -5697,7 +5701,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
5697
5701
  return __pyx_r;
5698
5702
  }
5699
5703
 
5700
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
5704
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
5701
5705
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
5702
5706
  *
5703
5707
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -5714,7 +5718,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
5714
5718
  int __pyx_clineno = 0;
5715
5719
  __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1);
5716
5720
 
5717
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
5721
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
5718
5722
  *
5719
5723
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
5720
5724
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
@@ -5728,7 +5732,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
5728
5732
  __pyx_t_1 = 0;
5729
5733
  goto __pyx_L0;
5730
5734
 
5731
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
5735
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
5732
5736
  * return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
5733
5737
  *
5734
5738
  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
@@ -5747,7 +5751,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
5747
5751
  return __pyx_r;
5748
5752
  }
5749
5753
 
5750
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
5754
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
5751
5755
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
5752
5756
  *
5753
5757
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -5761,7 +5765,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5761
5765
  int __pyx_t_1;
5762
5766
  __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1);
5763
5767
 
5764
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
5768
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
5765
5769
  *
5766
5770
  * cdef inline tuple PyDataType_SHAPE(dtype d):
5767
5771
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -5771,7 +5775,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5771
5775
  __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
5772
5776
  if (__pyx_t_1) {
5773
5777
 
5774
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
5778
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":790
5775
5779
  * cdef inline tuple PyDataType_SHAPE(dtype d):
5776
5780
  * if PyDataType_HASSUBARRAY(d):
5777
5781
  * return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
@@ -5783,7 +5787,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5783
5787
  __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
5784
5788
  goto __pyx_L0;
5785
5789
 
5786
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
5790
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
5787
5791
  *
5788
5792
  * cdef inline tuple PyDataType_SHAPE(dtype d):
5789
5793
  * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
@@ -5792,7 +5796,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5792
5796
  */
5793
5797
  }
5794
5798
 
5795
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
5799
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
5796
5800
  * return <tuple>d.subarray.shape
5797
5801
  * else:
5798
5802
  * return () # <<<<<<<<<<<<<<
@@ -5806,7 +5810,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5806
5810
  goto __pyx_L0;
5807
5811
  }
5808
5812
 
5809
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
5813
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
5810
5814
  * return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
5811
5815
  *
5812
5816
  * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
@@ -5821,7 +5825,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
5821
5825
  return __pyx_r;
5822
5826
  }
5823
5827
 
5824
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":967
5828
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":967
5825
5829
  * int _import_umath() except -1
5826
5830
  *
5827
5831
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -5835,7 +5839,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5835
5839
  const char *__pyx_filename = NULL;
5836
5840
  int __pyx_clineno = 0;
5837
5841
 
5838
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":968
5842
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":968
5839
5843
  *
5840
5844
  * cdef inline void set_array_base(ndarray arr, object base):
5841
5845
  * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
@@ -5844,7 +5848,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5844
5848
  */
5845
5849
  Py_INCREF(__pyx_v_base);
5846
5850
 
5847
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":969
5851
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":969
5848
5852
  * cdef inline void set_array_base(ndarray arr, object base):
5849
5853
  * Py_INCREF(base) # important to do this before stealing the reference below!
5850
5854
  * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
@@ -5853,7 +5857,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5853
5857
  */
5854
5858
  __pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 969, __pyx_L1_error)
5855
5859
 
5856
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":967
5860
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":967
5857
5861
  * int _import_umath() except -1
5858
5862
  *
5859
5863
  * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
@@ -5868,7 +5872,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
5868
5872
  __pyx_L0:;
5869
5873
  }
5870
5874
 
5871
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
5875
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
5872
5876
  * PyArray_SetBaseObject(arr, base)
5873
5877
  *
5874
5878
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -5883,7 +5887,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5883
5887
  int __pyx_t_1;
5884
5888
  __Pyx_RefNannySetupContext("get_array_base", 1);
5885
5889
 
5886
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
5890
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":972
5887
5891
  *
5888
5892
  * cdef inline object get_array_base(ndarray arr):
5889
5893
  * base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
@@ -5892,7 +5896,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5892
5896
  */
5893
5897
  __pyx_v_base = PyArray_BASE(__pyx_v_arr);
5894
5898
 
5895
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
5899
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
5896
5900
  * cdef inline object get_array_base(ndarray arr):
5897
5901
  * base = PyArray_BASE(arr)
5898
5902
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -5902,7 +5906,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5902
5906
  __pyx_t_1 = (__pyx_v_base == NULL);
5903
5907
  if (__pyx_t_1) {
5904
5908
 
5905
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":974
5909
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":974
5906
5910
  * base = PyArray_BASE(arr)
5907
5911
  * if base is NULL:
5908
5912
  * return None # <<<<<<<<<<<<<<
@@ -5913,7 +5917,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5913
5917
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5914
5918
  goto __pyx_L0;
5915
5919
 
5916
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
5920
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":973
5917
5921
  * cdef inline object get_array_base(ndarray arr):
5918
5922
  * base = PyArray_BASE(arr)
5919
5923
  * if base is NULL: # <<<<<<<<<<<<<<
@@ -5922,7 +5926,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5922
5926
  */
5923
5927
  }
5924
5928
 
5925
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
5929
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":975
5926
5930
  * if base is NULL:
5927
5931
  * return None
5928
5932
  * return <object>base # <<<<<<<<<<<<<<
@@ -5934,7 +5938,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5934
5938
  __pyx_r = ((PyObject *)__pyx_v_base);
5935
5939
  goto __pyx_L0;
5936
5940
 
5937
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
5941
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":971
5938
5942
  * PyArray_SetBaseObject(arr, base)
5939
5943
  *
5940
5944
  * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
@@ -5949,7 +5953,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
5949
5953
  return __pyx_r;
5950
5954
  }
5951
5955
 
5952
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
5956
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
5953
5957
  * # Versions of the import_* functions which are more suitable for
5954
5958
  * # Cython code.
5955
5959
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -5973,7 +5977,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5973
5977
  int __pyx_clineno = 0;
5974
5978
  __Pyx_RefNannySetupContext("import_array", 1);
5975
5979
 
5976
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":980
5980
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":980
5977
5981
  * # Cython code.
5978
5982
  * cdef inline int import_array() except -1:
5979
5983
  * try: # <<<<<<<<<<<<<<
@@ -5989,7 +5993,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5989
5993
  __Pyx_XGOTREF(__pyx_t_3);
5990
5994
  /*try:*/ {
5991
5995
 
5992
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":981
5996
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":981
5993
5997
  * cdef inline int import_array() except -1:
5994
5998
  * try:
5995
5999
  * __pyx_import_array() # <<<<<<<<<<<<<<
@@ -5998,7 +6002,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
5998
6002
  */
5999
6003
  __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 981, __pyx_L3_error)
6000
6004
 
6001
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":980
6005
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":980
6002
6006
  * # Cython code.
6003
6007
  * cdef inline int import_array() except -1:
6004
6008
  * try: # <<<<<<<<<<<<<<
@@ -6012,7 +6016,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
6012
6016
  goto __pyx_L8_try_end;
6013
6017
  __pyx_L3_error:;
6014
6018
 
6015
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":982
6019
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":982
6016
6020
  * try:
6017
6021
  * __pyx_import_array()
6018
6022
  * except Exception: # <<<<<<<<<<<<<<
@@ -6027,7 +6031,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
6027
6031
  __Pyx_XGOTREF(__pyx_t_6);
6028
6032
  __Pyx_XGOTREF(__pyx_t_7);
6029
6033
 
6030
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
6034
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
6031
6035
  * __pyx_import_array()
6032
6036
  * except Exception:
6033
6037
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -6042,7 +6046,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
6042
6046
  }
6043
6047
  goto __pyx_L5_except_error;
6044
6048
 
6045
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":980
6049
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":980
6046
6050
  * # Cython code.
6047
6051
  * cdef inline int import_array() except -1:
6048
6052
  * try: # <<<<<<<<<<<<<<
@@ -6058,7 +6062,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
6058
6062
  __pyx_L8_try_end:;
6059
6063
  }
6060
6064
 
6061
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
6065
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":979
6062
6066
  * # Versions of the import_* functions which are more suitable for
6063
6067
  * # Cython code.
6064
6068
  * cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
@@ -6081,7 +6085,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
6081
6085
  return __pyx_r;
6082
6086
  }
6083
6087
 
6084
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
6088
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
6085
6089
  * raise ImportError("numpy.core.multiarray failed to import")
6086
6090
  *
6087
6091
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -6105,7 +6109,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6105
6109
  int __pyx_clineno = 0;
6106
6110
  __Pyx_RefNannySetupContext("import_umath", 1);
6107
6111
 
6108
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
6112
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
6109
6113
  *
6110
6114
  * cdef inline int import_umath() except -1:
6111
6115
  * try: # <<<<<<<<<<<<<<
@@ -6121,7 +6125,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6121
6125
  __Pyx_XGOTREF(__pyx_t_3);
6122
6126
  /*try:*/ {
6123
6127
 
6124
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
6128
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":987
6125
6129
  * cdef inline int import_umath() except -1:
6126
6130
  * try:
6127
6131
  * _import_umath() # <<<<<<<<<<<<<<
@@ -6130,7 +6134,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6130
6134
  */
6131
6135
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 987, __pyx_L3_error)
6132
6136
 
6133
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
6137
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
6134
6138
  *
6135
6139
  * cdef inline int import_umath() except -1:
6136
6140
  * try: # <<<<<<<<<<<<<<
@@ -6144,7 +6148,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6144
6148
  goto __pyx_L8_try_end;
6145
6149
  __pyx_L3_error:;
6146
6150
 
6147
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":988
6151
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":988
6148
6152
  * try:
6149
6153
  * _import_umath()
6150
6154
  * except Exception: # <<<<<<<<<<<<<<
@@ -6159,7 +6163,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6159
6163
  __Pyx_XGOTREF(__pyx_t_6);
6160
6164
  __Pyx_XGOTREF(__pyx_t_7);
6161
6165
 
6162
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
6166
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
6163
6167
  * _import_umath()
6164
6168
  * except Exception:
6165
6169
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -6174,7 +6178,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6174
6178
  }
6175
6179
  goto __pyx_L5_except_error;
6176
6180
 
6177
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
6181
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":986
6178
6182
  *
6179
6183
  * cdef inline int import_umath() except -1:
6180
6184
  * try: # <<<<<<<<<<<<<<
@@ -6190,7 +6194,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6190
6194
  __pyx_L8_try_end:;
6191
6195
  }
6192
6196
 
6193
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
6197
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":985
6194
6198
  * raise ImportError("numpy.core.multiarray failed to import")
6195
6199
  *
6196
6200
  * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
@@ -6213,7 +6217,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
6213
6217
  return __pyx_r;
6214
6218
  }
6215
6219
 
6216
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
6220
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
6217
6221
  * raise ImportError("numpy.core.umath failed to import")
6218
6222
  *
6219
6223
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -6237,7 +6241,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6237
6241
  int __pyx_clineno = 0;
6238
6242
  __Pyx_RefNannySetupContext("import_ufunc", 1);
6239
6243
 
6240
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
6244
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
6241
6245
  *
6242
6246
  * cdef inline int import_ufunc() except -1:
6243
6247
  * try: # <<<<<<<<<<<<<<
@@ -6253,7 +6257,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6253
6257
  __Pyx_XGOTREF(__pyx_t_3);
6254
6258
  /*try:*/ {
6255
6259
 
6256
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
6260
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":993
6257
6261
  * cdef inline int import_ufunc() except -1:
6258
6262
  * try:
6259
6263
  * _import_umath() # <<<<<<<<<<<<<<
@@ -6262,7 +6266,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6262
6266
  */
6263
6267
  __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 993, __pyx_L3_error)
6264
6268
 
6265
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
6269
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
6266
6270
  *
6267
6271
  * cdef inline int import_ufunc() except -1:
6268
6272
  * try: # <<<<<<<<<<<<<<
@@ -6276,7 +6280,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6276
6280
  goto __pyx_L8_try_end;
6277
6281
  __pyx_L3_error:;
6278
6282
 
6279
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
6283
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
6280
6284
  * try:
6281
6285
  * _import_umath()
6282
6286
  * except Exception: # <<<<<<<<<<<<<<
@@ -6291,7 +6295,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6291
6295
  __Pyx_XGOTREF(__pyx_t_6);
6292
6296
  __Pyx_XGOTREF(__pyx_t_7);
6293
6297
 
6294
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
6298
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
6295
6299
  * _import_umath()
6296
6300
  * except Exception:
6297
6301
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -6306,7 +6310,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6306
6310
  }
6307
6311
  goto __pyx_L5_except_error;
6308
6312
 
6309
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
6313
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":992
6310
6314
  *
6311
6315
  * cdef inline int import_ufunc() except -1:
6312
6316
  * try: # <<<<<<<<<<<<<<
@@ -6322,7 +6326,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6322
6326
  __pyx_L8_try_end:;
6323
6327
  }
6324
6328
 
6325
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
6329
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":991
6326
6330
  * raise ImportError("numpy.core.umath failed to import")
6327
6331
  *
6328
6332
  * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
@@ -6345,7 +6349,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6345
6349
  return __pyx_r;
6346
6350
  }
6347
6351
 
6348
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
6352
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
6349
6353
  *
6350
6354
  *
6351
6355
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -6356,7 +6360,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
6356
6360
  static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
6357
6361
  int __pyx_r;
6358
6362
 
6359
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
6363
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
6360
6364
  * bool
6361
6365
  * """
6362
6366
  * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
@@ -6366,7 +6370,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
6366
6370
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
6367
6371
  goto __pyx_L0;
6368
6372
 
6369
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
6373
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
6370
6374
  *
6371
6375
  *
6372
6376
  * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<<
@@ -6379,7 +6383,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
6379
6383
  return __pyx_r;
6380
6384
  }
6381
6385
 
6382
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
6386
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
6383
6387
  *
6384
6388
  *
6385
6389
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -6390,7 +6394,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
6390
6394
  static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
6391
6395
  int __pyx_r;
6392
6396
 
6393
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
6397
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
6394
6398
  * bool
6395
6399
  * """
6396
6400
  * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
@@ -6400,7 +6404,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
6400
6404
  __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
6401
6405
  goto __pyx_L0;
6402
6406
 
6403
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
6407
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
6404
6408
  *
6405
6409
  *
6406
6410
  * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<<
@@ -6413,7 +6417,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
6413
6417
  return __pyx_r;
6414
6418
  }
6415
6419
 
6416
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
6420
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
6417
6421
  *
6418
6422
  *
6419
6423
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -6424,7 +6428,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
6424
6428
  static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
6425
6429
  npy_datetime __pyx_r;
6426
6430
 
6427
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
6431
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
6428
6432
  * also needed. That can be found using `get_datetime64_unit`.
6429
6433
  * """
6430
6434
  * return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -6434,7 +6438,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
6434
6438
  __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
6435
6439
  goto __pyx_L0;
6436
6440
 
6437
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
6441
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
6438
6442
  *
6439
6443
  *
6440
6444
  * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -6447,7 +6451,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
6447
6451
  return __pyx_r;
6448
6452
  }
6449
6453
 
6450
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
6454
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
6451
6455
  *
6452
6456
  *
6453
6457
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -6458,7 +6462,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
6458
6462
  static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
6459
6463
  npy_timedelta __pyx_r;
6460
6464
 
6461
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
6465
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1042
6462
6466
  * returns the int64 value underlying scalar numpy timedelta64 object
6463
6467
  * """
6464
6468
  * return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
@@ -6468,7 +6472,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
6468
6472
  __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
6469
6473
  goto __pyx_L0;
6470
6474
 
6471
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
6475
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
6472
6476
  *
6473
6477
  *
6474
6478
  * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<<
@@ -6481,7 +6485,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
6481
6485
  return __pyx_r;
6482
6486
  }
6483
6487
 
6484
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1045
6488
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1045
6485
6489
  *
6486
6490
  *
6487
6491
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -6492,7 +6496,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
6492
6496
  static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
6493
6497
  NPY_DATETIMEUNIT __pyx_r;
6494
6498
 
6495
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
6499
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1049
6496
6500
  * returns the unit part of the dtype for a numpy datetime64 object.
6497
6501
  * """
6498
6502
  * return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
@@ -6500,7 +6504,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
6500
6504
  __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
6501
6505
  goto __pyx_L0;
6502
6506
 
6503
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1045
6507
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1045
6504
6508
  *
6505
6509
  *
6506
6510
  * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<<
@@ -16373,12 +16377,12 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16373
16377
  PyObject *__pyx_t_3 = NULL;
16374
16378
  struct __pyx_opt_args_7cytimes_10cydatetime_dt_add __pyx_t_4;
16375
16379
  PyObject *__pyx_t_5 = NULL;
16376
- PyObject *__pyx_t_6 = NULL;
16377
- int __pyx_t_7;
16378
- int __pyx_t_8;
16379
- struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace __pyx_t_9;
16380
- PyObject *__pyx_t_10 = NULL;
16381
- int __pyx_t_11;
16380
+ int __pyx_t_6;
16381
+ PyObject *__pyx_t_7 = NULL;
16382
+ PyObject *__pyx_t_8 = NULL;
16383
+ int __pyx_t_9;
16384
+ int __pyx_t_10;
16385
+ struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace __pyx_t_11;
16382
16386
  int __pyx_lineno = 0;
16383
16387
  const char *__pyx_filename = NULL;
16384
16388
  int __pyx_clineno = 0;
@@ -16518,8 +16522,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16518
16522
  * # 'end' is specified
16519
16523
  * elif end is not None:
16520
16524
  */
16521
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_gen_dt_local()); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 802, __pyx_L1_error)
16522
- __Pyx_GOTREF(__pyx_t_2);
16525
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_cydt); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 802, __pyx_L1_error)
16526
+ __Pyx_GOTREF(__pyx_t_3);
16527
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_gen_dt_local); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 802, __pyx_L1_error)
16528
+ __Pyx_GOTREF(__pyx_t_5);
16529
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16530
+ __pyx_t_3 = NULL;
16531
+ __pyx_t_6 = 0;
16532
+ #if CYTHON_UNPACK_METHODS
16533
+ if (unlikely(PyMethod_Check(__pyx_t_5))) {
16534
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
16535
+ if (likely(__pyx_t_3)) {
16536
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
16537
+ __Pyx_INCREF(__pyx_t_3);
16538
+ __Pyx_INCREF(function);
16539
+ __Pyx_DECREF_SET(__pyx_t_5, function);
16540
+ __pyx_t_6 = 1;
16541
+ }
16542
+ }
16543
+ #endif
16544
+ {
16545
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
16546
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
16547
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
16548
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 802, __pyx_L1_error)
16549
+ __Pyx_GOTREF(__pyx_t_2);
16550
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
16551
+ }
16552
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 802, __pyx_L1_error)
16523
16553
  __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_2);
16524
16554
  __pyx_t_2 = 0;
16525
16555
  }
@@ -16564,11 +16594,11 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16564
16594
  */
16565
16595
  __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), __pyx_v_end); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 806, __pyx_L1_error)
16566
16596
  __Pyx_GOTREF(__pyx_t_2);
16567
- __pyx_t_3 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_2)->_dt);
16568
- __Pyx_INCREF(__pyx_t_3);
16597
+ __pyx_t_5 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_2)->_dt);
16598
+ __Pyx_INCREF(__pyx_t_5);
16569
16599
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16570
- __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_3);
16571
- __pyx_t_3 = 0;
16600
+ __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_5);
16601
+ __pyx_t_5 = 0;
16572
16602
 
16573
16603
  /* "mysqlengine/utils.py":807
16574
16604
  * if days > 0: # 'days' provided
@@ -16581,10 +16611,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16581
16611
  __pyx_t_4.days = (1 - __pyx_v_days);
16582
16612
  __pyx_t_4.seconds = 0;
16583
16613
  __pyx_t_4.microseconds = 0;
16584
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_e_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 807, __pyx_L1_error)
16585
- __Pyx_GOTREF(__pyx_t_3);
16586
- __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_3);
16587
- __pyx_t_3 = 0;
16614
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_e_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 807, __pyx_L1_error)
16615
+ __Pyx_GOTREF(__pyx_t_5);
16616
+ __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_5);
16617
+ __pyx_t_5 = 0;
16588
16618
 
16589
16619
  /* "mysqlengine/utils.py":805
16590
16620
  * # 'end' is specified
@@ -16604,11 +16634,11 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16604
16634
  * # 'days' is specified
16605
16635
  */
16606
16636
  /*else*/ {
16607
- __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), __pyx_v_end); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 809, __pyx_L1_error)
16608
- __Pyx_GOTREF(__pyx_t_3);
16609
- __pyx_t_2 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_3)->_dt);
16637
+ __pyx_t_5 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), __pyx_v_end); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 809, __pyx_L1_error)
16638
+ __Pyx_GOTREF(__pyx_t_5);
16639
+ __pyx_t_2 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_5)->_dt);
16610
16640
  __Pyx_INCREF(__pyx_t_2);
16611
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16641
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
16612
16642
  __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_2);
16613
16643
  __pyx_t_2 = 0;
16614
16644
 
@@ -16619,8 +16649,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16619
16649
  * # 'days' is specified
16620
16650
  * elif days >= 0:
16621
16651
  */
16622
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_gen_dt_local()); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 810, __pyx_L1_error)
16623
- __Pyx_GOTREF(__pyx_t_2);
16652
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_cydt); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 810, __pyx_L1_error)
16653
+ __Pyx_GOTREF(__pyx_t_5);
16654
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_gen_dt_local); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 810, __pyx_L1_error)
16655
+ __Pyx_GOTREF(__pyx_t_3);
16656
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
16657
+ __pyx_t_5 = NULL;
16658
+ __pyx_t_6 = 0;
16659
+ #if CYTHON_UNPACK_METHODS
16660
+ if (unlikely(PyMethod_Check(__pyx_t_3))) {
16661
+ __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
16662
+ if (likely(__pyx_t_5)) {
16663
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
16664
+ __Pyx_INCREF(__pyx_t_5);
16665
+ __Pyx_INCREF(function);
16666
+ __Pyx_DECREF_SET(__pyx_t_3, function);
16667
+ __pyx_t_6 = 1;
16668
+ }
16669
+ }
16670
+ #endif
16671
+ {
16672
+ PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL};
16673
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
16674
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
16675
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 810, __pyx_L1_error)
16676
+ __Pyx_GOTREF(__pyx_t_2);
16677
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16678
+ }
16679
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 810, __pyx_L1_error)
16624
16680
  __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_2);
16625
16681
  __pyx_t_2 = 0;
16626
16682
  }
@@ -16653,8 +16709,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16653
16709
  * s_dt = cydt.dt_add(e_dt, 1 - days, 0, 0)
16654
16710
  * # Invalid
16655
16711
  */
16656
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_gen_dt_local()); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 813, __pyx_L1_error)
16657
- __Pyx_GOTREF(__pyx_t_2);
16712
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_cydt); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 813, __pyx_L1_error)
16713
+ __Pyx_GOTREF(__pyx_t_3);
16714
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_gen_dt_local); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 813, __pyx_L1_error)
16715
+ __Pyx_GOTREF(__pyx_t_5);
16716
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16717
+ __pyx_t_3 = NULL;
16718
+ __pyx_t_6 = 0;
16719
+ #if CYTHON_UNPACK_METHODS
16720
+ if (unlikely(PyMethod_Check(__pyx_t_5))) {
16721
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
16722
+ if (likely(__pyx_t_3)) {
16723
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
16724
+ __Pyx_INCREF(__pyx_t_3);
16725
+ __Pyx_INCREF(function);
16726
+ __Pyx_DECREF_SET(__pyx_t_5, function);
16727
+ __pyx_t_6 = 1;
16728
+ }
16729
+ }
16730
+ #endif
16731
+ {
16732
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
16733
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
16734
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
16735
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 813, __pyx_L1_error)
16736
+ __Pyx_GOTREF(__pyx_t_2);
16737
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
16738
+ }
16739
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 813, __pyx_L1_error)
16658
16740
  __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_2);
16659
16741
  __pyx_t_2 = 0;
16660
16742
 
@@ -16751,12 +16833,12 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16751
16833
  *
16752
16834
  * # Unit not specified
16753
16835
  */
16754
- __pyx_t_5 = ((PyObject *)__pyx_v_e_dt);
16755
- __pyx_t_6 = ((PyObject *)__pyx_v_s_dt);
16756
- __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_5);
16757
- __pyx_t_5 = 0;
16758
- __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_6);
16759
- __pyx_t_6 = 0;
16836
+ __pyx_t_7 = ((PyObject *)__pyx_v_e_dt);
16837
+ __pyx_t_8 = ((PyObject *)__pyx_v_s_dt);
16838
+ __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_7);
16839
+ __pyx_t_7 = 0;
16840
+ __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_8);
16841
+ __pyx_t_8 = 0;
16760
16842
 
16761
16843
  /* "mysqlengine/utils.py":823
16762
16844
  *
@@ -16774,15 +16856,15 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16774
16856
  * return (s_dt, e_dt)
16775
16857
  *
16776
16858
  */
16777
- __pyx_t_7 = (__pyx_v_unit == ((PyObject*)Py_None));
16778
- if (!__pyx_t_7) {
16859
+ __pyx_t_9 = (__pyx_v_unit == ((PyObject*)Py_None));
16860
+ if (!__pyx_t_9) {
16779
16861
  } else {
16780
- __pyx_t_1 = __pyx_t_7;
16862
+ __pyx_t_1 = __pyx_t_9;
16781
16863
  goto __pyx_L9_bool_binop_done;
16782
16864
  }
16783
- __pyx_t_7 = (__Pyx_PyUnicode_IS_TRUE(__pyx_v_unit) != 0);
16784
- __pyx_t_8 = (!__pyx_t_7);
16785
- __pyx_t_1 = __pyx_t_8;
16865
+ __pyx_t_9 = (__Pyx_PyUnicode_IS_TRUE(__pyx_v_unit) != 0);
16866
+ __pyx_t_10 = (!__pyx_t_9);
16867
+ __pyx_t_1 = __pyx_t_10;
16786
16868
  __pyx_L9_bool_binop_done:;
16787
16869
  if (__pyx_t_1) {
16788
16870
 
@@ -16822,14 +16904,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16822
16904
  * s_dt = cydt.dt_replace(s_dt, -1, 1, 1, 0, 0, 0, 0, -1, -1)
16823
16905
  * e_dt = cydt.dt_replace(e_dt, -1, 12, 31, 23, 59, 59, 999999, -1, -1)
16824
16906
  */
16825
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_year, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 831, __pyx_L1_error)
16826
- if (!__pyx_t_8) {
16907
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_year, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 831, __pyx_L1_error)
16908
+ if (!__pyx_t_10) {
16827
16909
  } else {
16828
- __pyx_t_1 = __pyx_t_8;
16910
+ __pyx_t_1 = __pyx_t_10;
16829
16911
  goto __pyx_L12_bool_binop_done;
16830
16912
  }
16831
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_Y, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 831, __pyx_L1_error)
16832
- __pyx_t_1 = __pyx_t_8;
16913
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_Y, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 831, __pyx_L1_error)
16914
+ __pyx_t_1 = __pyx_t_10;
16833
16915
  __pyx_L12_bool_binop_done:;
16834
16916
  if (__pyx_t_1) {
16835
16917
 
@@ -16840,17 +16922,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16840
16922
  * e_dt = cydt.dt_replace(e_dt, -1, 12, 31, 23, 59, 59, 999999, -1, -1)
16841
16923
  * # Adjust to 'month'
16842
16924
  */
16843
- __pyx_t_9.__pyx_n = 9;
16844
- __pyx_t_9.year = -1;
16845
- __pyx_t_9.month = 1;
16846
- __pyx_t_9.day = 1;
16847
- __pyx_t_9.hour = 0;
16848
- __pyx_t_9.minute = 0;
16849
- __pyx_t_9.second = 0;
16850
- __pyx_t_9.microsecond = 0;
16851
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
16852
- __pyx_t_9.fold = -1;
16853
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 832, __pyx_L1_error)
16925
+ __pyx_t_11.__pyx_n = 9;
16926
+ __pyx_t_11.year = -1;
16927
+ __pyx_t_11.month = 1;
16928
+ __pyx_t_11.day = 1;
16929
+ __pyx_t_11.hour = 0;
16930
+ __pyx_t_11.minute = 0;
16931
+ __pyx_t_11.second = 0;
16932
+ __pyx_t_11.microsecond = 0;
16933
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
16934
+ __pyx_t_11.fold = -1;
16935
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 832, __pyx_L1_error)
16854
16936
  __Pyx_GOTREF(__pyx_t_2);
16855
16937
  __Pyx_DECREF_SET(__pyx_v_s_dt, ((PyDateTime_DateTime *)__pyx_t_2));
16856
16938
  __pyx_t_2 = 0;
@@ -16862,17 +16944,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16862
16944
  * # Adjust to 'month'
16863
16945
  * elif unit == "month" or unit == "M":
16864
16946
  */
16865
- __pyx_t_9.__pyx_n = 9;
16866
- __pyx_t_9.year = -1;
16867
- __pyx_t_9.month = 12;
16868
- __pyx_t_9.day = 31;
16869
- __pyx_t_9.hour = 23;
16870
- __pyx_t_9.minute = 59;
16871
- __pyx_t_9.second = 59;
16872
- __pyx_t_9.microsecond = 0xF423F;
16873
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
16874
- __pyx_t_9.fold = -1;
16875
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 833, __pyx_L1_error)
16947
+ __pyx_t_11.__pyx_n = 9;
16948
+ __pyx_t_11.year = -1;
16949
+ __pyx_t_11.month = 12;
16950
+ __pyx_t_11.day = 31;
16951
+ __pyx_t_11.hour = 23;
16952
+ __pyx_t_11.minute = 59;
16953
+ __pyx_t_11.second = 59;
16954
+ __pyx_t_11.microsecond = 0xF423F;
16955
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
16956
+ __pyx_t_11.fold = -1;
16957
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 833, __pyx_L1_error)
16876
16958
  __Pyx_GOTREF(__pyx_t_2);
16877
16959
  __Pyx_DECREF_SET(__pyx_v_e_dt, ((PyDateTime_DateTime *)__pyx_t_2));
16878
16960
  __pyx_t_2 = 0;
@@ -16894,14 +16976,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16894
16976
  * s_dt = cydt.dt_replace(s_dt, -1, -1, 1, 0, 0, 0, 0, -1, -1)
16895
16977
  * e_dt = cydt.dt_replace(e_dt, -1, -1, 31, 23, 59, 59, 999999, -1, -1)
16896
16978
  */
16897
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_month, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 835, __pyx_L1_error)
16898
- if (!__pyx_t_8) {
16979
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_month, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 835, __pyx_L1_error)
16980
+ if (!__pyx_t_10) {
16899
16981
  } else {
16900
- __pyx_t_1 = __pyx_t_8;
16982
+ __pyx_t_1 = __pyx_t_10;
16901
16983
  goto __pyx_L14_bool_binop_done;
16902
16984
  }
16903
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_M, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 835, __pyx_L1_error)
16904
- __pyx_t_1 = __pyx_t_8;
16985
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_M, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 835, __pyx_L1_error)
16986
+ __pyx_t_1 = __pyx_t_10;
16905
16987
  __pyx_L14_bool_binop_done:;
16906
16988
  if (__pyx_t_1) {
16907
16989
 
@@ -16912,17 +16994,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16912
16994
  * e_dt = cydt.dt_replace(e_dt, -1, -1, 31, 23, 59, 59, 999999, -1, -1)
16913
16995
  * # Adjust to 'day'
16914
16996
  */
16915
- __pyx_t_9.__pyx_n = 9;
16916
- __pyx_t_9.year = -1;
16917
- __pyx_t_9.month = -1;
16918
- __pyx_t_9.day = 1;
16919
- __pyx_t_9.hour = 0;
16920
- __pyx_t_9.minute = 0;
16921
- __pyx_t_9.second = 0;
16922
- __pyx_t_9.microsecond = 0;
16923
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
16924
- __pyx_t_9.fold = -1;
16925
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 836, __pyx_L1_error)
16997
+ __pyx_t_11.__pyx_n = 9;
16998
+ __pyx_t_11.year = -1;
16999
+ __pyx_t_11.month = -1;
17000
+ __pyx_t_11.day = 1;
17001
+ __pyx_t_11.hour = 0;
17002
+ __pyx_t_11.minute = 0;
17003
+ __pyx_t_11.second = 0;
17004
+ __pyx_t_11.microsecond = 0;
17005
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17006
+ __pyx_t_11.fold = -1;
17007
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 836, __pyx_L1_error)
16926
17008
  __Pyx_GOTREF(__pyx_t_2);
16927
17009
  __Pyx_DECREF_SET(__pyx_v_s_dt, ((PyDateTime_DateTime *)__pyx_t_2));
16928
17010
  __pyx_t_2 = 0;
@@ -16934,17 +17016,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16934
17016
  * # Adjust to 'day'
16935
17017
  * elif unit == "day" or unit == "D" or unit == "week" or unit == "W":
16936
17018
  */
16937
- __pyx_t_9.__pyx_n = 9;
16938
- __pyx_t_9.year = -1;
16939
- __pyx_t_9.month = -1;
16940
- __pyx_t_9.day = 31;
16941
- __pyx_t_9.hour = 23;
16942
- __pyx_t_9.minute = 59;
16943
- __pyx_t_9.second = 59;
16944
- __pyx_t_9.microsecond = 0xF423F;
16945
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
16946
- __pyx_t_9.fold = -1;
16947
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 837, __pyx_L1_error)
17019
+ __pyx_t_11.__pyx_n = 9;
17020
+ __pyx_t_11.year = -1;
17021
+ __pyx_t_11.month = -1;
17022
+ __pyx_t_11.day = 31;
17023
+ __pyx_t_11.hour = 23;
17024
+ __pyx_t_11.minute = 59;
17025
+ __pyx_t_11.second = 59;
17026
+ __pyx_t_11.microsecond = 0xF423F;
17027
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17028
+ __pyx_t_11.fold = -1;
17029
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 837, __pyx_L1_error)
16948
17030
  __Pyx_GOTREF(__pyx_t_2);
16949
17031
  __Pyx_DECREF_SET(__pyx_v_e_dt, ((PyDateTime_DateTime *)__pyx_t_2));
16950
17032
  __pyx_t_2 = 0;
@@ -16966,26 +17048,26 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16966
17048
  * s_dt = cydt.dt_replace(s_dt, -1, -1, -1, 0, 0, 0, 0, -1, -1)
16967
17049
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, 23, 59, 59, 999999, -1, -1)
16968
17050
  */
16969
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_day, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
16970
- if (!__pyx_t_8) {
17051
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_day, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
17052
+ if (!__pyx_t_10) {
16971
17053
  } else {
16972
- __pyx_t_1 = __pyx_t_8;
17054
+ __pyx_t_1 = __pyx_t_10;
16973
17055
  goto __pyx_L16_bool_binop_done;
16974
17056
  }
16975
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_D, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
16976
- if (!__pyx_t_8) {
17057
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_D, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
17058
+ if (!__pyx_t_10) {
16977
17059
  } else {
16978
- __pyx_t_1 = __pyx_t_8;
17060
+ __pyx_t_1 = __pyx_t_10;
16979
17061
  goto __pyx_L16_bool_binop_done;
16980
17062
  }
16981
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_week, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
16982
- if (!__pyx_t_8) {
17063
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_week, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
17064
+ if (!__pyx_t_10) {
16983
17065
  } else {
16984
- __pyx_t_1 = __pyx_t_8;
17066
+ __pyx_t_1 = __pyx_t_10;
16985
17067
  goto __pyx_L16_bool_binop_done;
16986
17068
  }
16987
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_W, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
16988
- __pyx_t_1 = __pyx_t_8;
17069
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_W, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 839, __pyx_L1_error)
17070
+ __pyx_t_1 = __pyx_t_10;
16989
17071
  __pyx_L16_bool_binop_done:;
16990
17072
  if (__pyx_t_1) {
16991
17073
 
@@ -16996,17 +17078,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
16996
17078
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, 23, 59, 59, 999999, -1, -1)
16997
17079
  * # Adjust to 'hour'
16998
17080
  */
16999
- __pyx_t_9.__pyx_n = 9;
17000
- __pyx_t_9.year = -1;
17001
- __pyx_t_9.month = -1;
17002
- __pyx_t_9.day = -1;
17003
- __pyx_t_9.hour = 0;
17004
- __pyx_t_9.minute = 0;
17005
- __pyx_t_9.second = 0;
17006
- __pyx_t_9.microsecond = 0;
17007
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17008
- __pyx_t_9.fold = -1;
17009
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 840, __pyx_L1_error)
17081
+ __pyx_t_11.__pyx_n = 9;
17082
+ __pyx_t_11.year = -1;
17083
+ __pyx_t_11.month = -1;
17084
+ __pyx_t_11.day = -1;
17085
+ __pyx_t_11.hour = 0;
17086
+ __pyx_t_11.minute = 0;
17087
+ __pyx_t_11.second = 0;
17088
+ __pyx_t_11.microsecond = 0;
17089
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17090
+ __pyx_t_11.fold = -1;
17091
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 840, __pyx_L1_error)
17010
17092
  __Pyx_GOTREF(__pyx_t_2);
17011
17093
  __Pyx_DECREF_SET(__pyx_v_s_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17012
17094
  __pyx_t_2 = 0;
@@ -17018,17 +17100,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17018
17100
  * # Adjust to 'hour'
17019
17101
  * elif unit == "hour" or unit == "h":
17020
17102
  */
17021
- __pyx_t_9.__pyx_n = 9;
17022
- __pyx_t_9.year = -1;
17023
- __pyx_t_9.month = -1;
17024
- __pyx_t_9.day = -1;
17025
- __pyx_t_9.hour = 23;
17026
- __pyx_t_9.minute = 59;
17027
- __pyx_t_9.second = 59;
17028
- __pyx_t_9.microsecond = 0xF423F;
17029
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17030
- __pyx_t_9.fold = -1;
17031
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 841, __pyx_L1_error)
17103
+ __pyx_t_11.__pyx_n = 9;
17104
+ __pyx_t_11.year = -1;
17105
+ __pyx_t_11.month = -1;
17106
+ __pyx_t_11.day = -1;
17107
+ __pyx_t_11.hour = 23;
17108
+ __pyx_t_11.minute = 59;
17109
+ __pyx_t_11.second = 59;
17110
+ __pyx_t_11.microsecond = 0xF423F;
17111
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17112
+ __pyx_t_11.fold = -1;
17113
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 841, __pyx_L1_error)
17032
17114
  __Pyx_GOTREF(__pyx_t_2);
17033
17115
  __Pyx_DECREF_SET(__pyx_v_e_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17034
17116
  __pyx_t_2 = 0;
@@ -17050,14 +17132,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17050
17132
  * s_dt = cydt.dt_replace(s_dt, -1, -1, -1, -1, 0, 0, 0, -1, -1)
17051
17133
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, -1, 59, 59, 999999, -1, -1)
17052
17134
  */
17053
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_hour, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 843, __pyx_L1_error)
17054
- if (!__pyx_t_8) {
17135
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_hour, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 843, __pyx_L1_error)
17136
+ if (!__pyx_t_10) {
17055
17137
  } else {
17056
- __pyx_t_1 = __pyx_t_8;
17138
+ __pyx_t_1 = __pyx_t_10;
17057
17139
  goto __pyx_L20_bool_binop_done;
17058
17140
  }
17059
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_h, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 843, __pyx_L1_error)
17060
- __pyx_t_1 = __pyx_t_8;
17141
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_h, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 843, __pyx_L1_error)
17142
+ __pyx_t_1 = __pyx_t_10;
17061
17143
  __pyx_L20_bool_binop_done:;
17062
17144
  if (__pyx_t_1) {
17063
17145
 
@@ -17068,17 +17150,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17068
17150
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, -1, 59, 59, 999999, -1, -1)
17069
17151
  * # Adjust to 'minute'
17070
17152
  */
17071
- __pyx_t_9.__pyx_n = 9;
17072
- __pyx_t_9.year = -1;
17073
- __pyx_t_9.month = -1;
17074
- __pyx_t_9.day = -1;
17075
- __pyx_t_9.hour = -1;
17076
- __pyx_t_9.minute = 0;
17077
- __pyx_t_9.second = 0;
17078
- __pyx_t_9.microsecond = 0;
17079
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17080
- __pyx_t_9.fold = -1;
17081
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 844, __pyx_L1_error)
17153
+ __pyx_t_11.__pyx_n = 9;
17154
+ __pyx_t_11.year = -1;
17155
+ __pyx_t_11.month = -1;
17156
+ __pyx_t_11.day = -1;
17157
+ __pyx_t_11.hour = -1;
17158
+ __pyx_t_11.minute = 0;
17159
+ __pyx_t_11.second = 0;
17160
+ __pyx_t_11.microsecond = 0;
17161
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17162
+ __pyx_t_11.fold = -1;
17163
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 844, __pyx_L1_error)
17082
17164
  __Pyx_GOTREF(__pyx_t_2);
17083
17165
  __Pyx_DECREF_SET(__pyx_v_s_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17084
17166
  __pyx_t_2 = 0;
@@ -17090,17 +17172,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17090
17172
  * # Adjust to 'minute'
17091
17173
  * elif unit == "minute" or unit == "m":
17092
17174
  */
17093
- __pyx_t_9.__pyx_n = 9;
17094
- __pyx_t_9.year = -1;
17095
- __pyx_t_9.month = -1;
17096
- __pyx_t_9.day = -1;
17097
- __pyx_t_9.hour = -1;
17098
- __pyx_t_9.minute = 59;
17099
- __pyx_t_9.second = 59;
17100
- __pyx_t_9.microsecond = 0xF423F;
17101
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17102
- __pyx_t_9.fold = -1;
17103
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 845, __pyx_L1_error)
17175
+ __pyx_t_11.__pyx_n = 9;
17176
+ __pyx_t_11.year = -1;
17177
+ __pyx_t_11.month = -1;
17178
+ __pyx_t_11.day = -1;
17179
+ __pyx_t_11.hour = -1;
17180
+ __pyx_t_11.minute = 59;
17181
+ __pyx_t_11.second = 59;
17182
+ __pyx_t_11.microsecond = 0xF423F;
17183
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17184
+ __pyx_t_11.fold = -1;
17185
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 845, __pyx_L1_error)
17104
17186
  __Pyx_GOTREF(__pyx_t_2);
17105
17187
  __Pyx_DECREF_SET(__pyx_v_e_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17106
17188
  __pyx_t_2 = 0;
@@ -17122,14 +17204,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17122
17204
  * s_dt = cydt.dt_replace(s_dt, -1, -1, -1, -1, -1, 0, 0, -1, -1)
17123
17205
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, -1, -1, 59, 999999, -1, -1)
17124
17206
  */
17125
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_minute, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 847, __pyx_L1_error)
17126
- if (!__pyx_t_8) {
17207
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_minute, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 847, __pyx_L1_error)
17208
+ if (!__pyx_t_10) {
17127
17209
  } else {
17128
- __pyx_t_1 = __pyx_t_8;
17210
+ __pyx_t_1 = __pyx_t_10;
17129
17211
  goto __pyx_L22_bool_binop_done;
17130
17212
  }
17131
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_m_2, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 847, __pyx_L1_error)
17132
- __pyx_t_1 = __pyx_t_8;
17213
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_m_2, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 847, __pyx_L1_error)
17214
+ __pyx_t_1 = __pyx_t_10;
17133
17215
  __pyx_L22_bool_binop_done:;
17134
17216
  if (__pyx_t_1) {
17135
17217
 
@@ -17140,17 +17222,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17140
17222
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, -1, -1, 59, 999999, -1, -1)
17141
17223
  * # Adjust to 'second'
17142
17224
  */
17143
- __pyx_t_9.__pyx_n = 9;
17144
- __pyx_t_9.year = -1;
17145
- __pyx_t_9.month = -1;
17146
- __pyx_t_9.day = -1;
17147
- __pyx_t_9.hour = -1;
17148
- __pyx_t_9.minute = -1;
17149
- __pyx_t_9.second = 0;
17150
- __pyx_t_9.microsecond = 0;
17151
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17152
- __pyx_t_9.fold = -1;
17153
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 848, __pyx_L1_error)
17225
+ __pyx_t_11.__pyx_n = 9;
17226
+ __pyx_t_11.year = -1;
17227
+ __pyx_t_11.month = -1;
17228
+ __pyx_t_11.day = -1;
17229
+ __pyx_t_11.hour = -1;
17230
+ __pyx_t_11.minute = -1;
17231
+ __pyx_t_11.second = 0;
17232
+ __pyx_t_11.microsecond = 0;
17233
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17234
+ __pyx_t_11.fold = -1;
17235
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 848, __pyx_L1_error)
17154
17236
  __Pyx_GOTREF(__pyx_t_2);
17155
17237
  __Pyx_DECREF_SET(__pyx_v_s_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17156
17238
  __pyx_t_2 = 0;
@@ -17162,17 +17244,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17162
17244
  * # Adjust to 'second'
17163
17245
  * elif unit == "second" or unit == "s":
17164
17246
  */
17165
- __pyx_t_9.__pyx_n = 9;
17166
- __pyx_t_9.year = -1;
17167
- __pyx_t_9.month = -1;
17168
- __pyx_t_9.day = -1;
17169
- __pyx_t_9.hour = -1;
17170
- __pyx_t_9.minute = -1;
17171
- __pyx_t_9.second = 59;
17172
- __pyx_t_9.microsecond = 0xF423F;
17173
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17174
- __pyx_t_9.fold = -1;
17175
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 849, __pyx_L1_error)
17247
+ __pyx_t_11.__pyx_n = 9;
17248
+ __pyx_t_11.year = -1;
17249
+ __pyx_t_11.month = -1;
17250
+ __pyx_t_11.day = -1;
17251
+ __pyx_t_11.hour = -1;
17252
+ __pyx_t_11.minute = -1;
17253
+ __pyx_t_11.second = 59;
17254
+ __pyx_t_11.microsecond = 0xF423F;
17255
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17256
+ __pyx_t_11.fold = -1;
17257
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 849, __pyx_L1_error)
17176
17258
  __Pyx_GOTREF(__pyx_t_2);
17177
17259
  __Pyx_DECREF_SET(__pyx_v_e_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17178
17260
  __pyx_t_2 = 0;
@@ -17194,14 +17276,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17194
17276
  * s_dt = cydt.dt_replace(s_dt, -1, -1, -1, -1, -1, -1, 0, -1, -1)
17195
17277
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, -1, -1, -1, 999999, -1, -1)
17196
17278
  */
17197
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_second, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 851, __pyx_L1_error)
17198
- if (!__pyx_t_8) {
17279
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_second, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 851, __pyx_L1_error)
17280
+ if (!__pyx_t_10) {
17199
17281
  } else {
17200
- __pyx_t_1 = __pyx_t_8;
17282
+ __pyx_t_1 = __pyx_t_10;
17201
17283
  goto __pyx_L24_bool_binop_done;
17202
17284
  }
17203
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_s, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 851, __pyx_L1_error)
17204
- __pyx_t_1 = __pyx_t_8;
17285
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_s, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 851, __pyx_L1_error)
17286
+ __pyx_t_1 = __pyx_t_10;
17205
17287
  __pyx_L24_bool_binop_done:;
17206
17288
  if (__pyx_t_1) {
17207
17289
 
@@ -17212,17 +17294,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17212
17294
  * e_dt = cydt.dt_replace(e_dt, -1, -1, -1, -1, -1, -1, 999999, -1, -1)
17213
17295
  * # Adjust to 'microsecond'
17214
17296
  */
17215
- __pyx_t_9.__pyx_n = 9;
17216
- __pyx_t_9.year = -1;
17217
- __pyx_t_9.month = -1;
17218
- __pyx_t_9.day = -1;
17219
- __pyx_t_9.hour = -1;
17220
- __pyx_t_9.minute = -1;
17221
- __pyx_t_9.second = -1;
17222
- __pyx_t_9.microsecond = 0;
17223
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17224
- __pyx_t_9.fold = -1;
17225
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 852, __pyx_L1_error)
17297
+ __pyx_t_11.__pyx_n = 9;
17298
+ __pyx_t_11.year = -1;
17299
+ __pyx_t_11.month = -1;
17300
+ __pyx_t_11.day = -1;
17301
+ __pyx_t_11.hour = -1;
17302
+ __pyx_t_11.minute = -1;
17303
+ __pyx_t_11.second = -1;
17304
+ __pyx_t_11.microsecond = 0;
17305
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17306
+ __pyx_t_11.fold = -1;
17307
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_s_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 852, __pyx_L1_error)
17226
17308
  __Pyx_GOTREF(__pyx_t_2);
17227
17309
  __Pyx_DECREF_SET(__pyx_v_s_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17228
17310
  __pyx_t_2 = 0;
@@ -17234,17 +17316,17 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17234
17316
  * # Adjust to 'microsecond'
17235
17317
  * elif unit == "microsecond" or unit == "us":
17236
17318
  */
17237
- __pyx_t_9.__pyx_n = 9;
17238
- __pyx_t_9.year = -1;
17239
- __pyx_t_9.month = -1;
17240
- __pyx_t_9.day = -1;
17241
- __pyx_t_9.hour = -1;
17242
- __pyx_t_9.minute = -1;
17243
- __pyx_t_9.second = -1;
17244
- __pyx_t_9.microsecond = 0xF423F;
17245
- __pyx_t_9.tzinfo = __pyx_int_neg_1;
17246
- __pyx_t_9.fold = -1;
17247
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 853, __pyx_L1_error)
17319
+ __pyx_t_11.__pyx_n = 9;
17320
+ __pyx_t_11.year = -1;
17321
+ __pyx_t_11.month = -1;
17322
+ __pyx_t_11.day = -1;
17323
+ __pyx_t_11.hour = -1;
17324
+ __pyx_t_11.minute = -1;
17325
+ __pyx_t_11.second = -1;
17326
+ __pyx_t_11.microsecond = 0xF423F;
17327
+ __pyx_t_11.tzinfo = __pyx_int_neg_1;
17328
+ __pyx_t_11.fold = -1;
17329
+ __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_replace(__pyx_v_e_dt, &__pyx_t_11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 853, __pyx_L1_error)
17248
17330
  __Pyx_GOTREF(__pyx_t_2);
17249
17331
  __Pyx_DECREF_SET(__pyx_v_e_dt, ((PyDateTime_DateTime *)__pyx_t_2));
17250
17332
  __pyx_t_2 = 0;
@@ -17266,14 +17348,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17266
17348
  * pass
17267
17349
  * # Invalid
17268
17350
  */
17269
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_microsecond, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 855, __pyx_L1_error)
17270
- if (!__pyx_t_8) {
17351
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_microsecond, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 855, __pyx_L1_error)
17352
+ if (!__pyx_t_10) {
17271
17353
  } else {
17272
- __pyx_t_1 = __pyx_t_8;
17354
+ __pyx_t_1 = __pyx_t_10;
17273
17355
  goto __pyx_L26_bool_binop_done;
17274
17356
  }
17275
- __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_us, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 855, __pyx_L1_error)
17276
- __pyx_t_1 = __pyx_t_8;
17357
+ __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_us, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 855, __pyx_L1_error)
17358
+ __pyx_t_1 = __pyx_t_10;
17277
17359
  __pyx_L26_bool_binop_done:;
17278
17360
  if (likely(__pyx_t_1)) {
17279
17361
  goto __pyx_L11;
@@ -17287,35 +17369,35 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17287
17369
  * # Return
17288
17370
  */
17289
17371
  /*else*/ {
17290
- __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_cal_time_span_Invalid_unit, __pyx_n_s_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 859, __pyx_L1_error)
17291
- __Pyx_GOTREF(__pyx_t_3);
17292
- __pyx_t_10 = NULL;
17293
- __pyx_t_11 = 0;
17372
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_cal_time_span_Invalid_unit, __pyx_n_s_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 859, __pyx_L1_error)
17373
+ __Pyx_GOTREF(__pyx_t_5);
17374
+ __pyx_t_3 = NULL;
17375
+ __pyx_t_6 = 0;
17294
17376
  #if CYTHON_UNPACK_METHODS
17295
- if (likely(PyMethod_Check(__pyx_t_3))) {
17296
- __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_3);
17297
- if (likely(__pyx_t_10)) {
17298
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
17299
- __Pyx_INCREF(__pyx_t_10);
17377
+ if (likely(PyMethod_Check(__pyx_t_5))) {
17378
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
17379
+ if (likely(__pyx_t_3)) {
17380
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
17381
+ __Pyx_INCREF(__pyx_t_3);
17300
17382
  __Pyx_INCREF(function);
17301
- __Pyx_DECREF_SET(__pyx_t_3, function);
17302
- __pyx_t_11 = 1;
17383
+ __Pyx_DECREF_SET(__pyx_t_5, function);
17384
+ __pyx_t_6 = 1;
17303
17385
  }
17304
17386
  }
17305
17387
  #endif
17306
17388
  {
17307
- PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_v_unit};
17308
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
17309
- __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
17389
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_unit};
17390
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6);
17391
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
17310
17392
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 859, __pyx_L1_error)
17311
17393
  __Pyx_GOTREF(__pyx_t_2);
17312
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17394
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17313
17395
  }
17314
- __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 859, __pyx_L1_error)
17315
- __Pyx_GOTREF(__pyx_t_3);
17396
+ __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 859, __pyx_L1_error)
17397
+ __Pyx_GOTREF(__pyx_t_5);
17316
17398
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17317
- __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17318
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17399
+ __Pyx_Raise(__pyx_t_5, 0, 0, 0);
17400
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17319
17401
  __PYX_ERR(0, 859, __pyx_L1_error)
17320
17402
  }
17321
17403
  __pyx_L11:;
@@ -17328,16 +17410,16 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17328
17410
  *
17329
17411
  */
17330
17412
  __Pyx_XDECREF(__pyx_r);
17331
- __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 862, __pyx_L1_error)
17332
- __Pyx_GOTREF(__pyx_t_3);
17413
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 862, __pyx_L1_error)
17414
+ __Pyx_GOTREF(__pyx_t_5);
17333
17415
  __Pyx_INCREF((PyObject *)__pyx_v_s_dt);
17334
17416
  __Pyx_GIVEREF((PyObject *)__pyx_v_s_dt);
17335
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_s_dt))) __PYX_ERR(0, 862, __pyx_L1_error);
17417
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_s_dt))) __PYX_ERR(0, 862, __pyx_L1_error);
17336
17418
  __Pyx_INCREF((PyObject *)__pyx_v_e_dt);
17337
17419
  __Pyx_GIVEREF((PyObject *)__pyx_v_e_dt);
17338
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_e_dt))) __PYX_ERR(0, 862, __pyx_L1_error);
17339
- __pyx_r = ((PyObject*)__pyx_t_3);
17340
- __pyx_t_3 = 0;
17420
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, ((PyObject *)__pyx_v_e_dt))) __PYX_ERR(0, 862, __pyx_L1_error);
17421
+ __pyx_r = ((PyObject*)__pyx_t_5);
17422
+ __pyx_t_5 = 0;
17341
17423
  goto __pyx_L0;
17342
17424
 
17343
17425
  /* "mysqlengine/utils.py":754
@@ -17352,7 +17434,7 @@ static PyObject *__pyx_f_11mysqlengine_5utils__cal_time_span(PyObject *__pyx_v_s
17352
17434
  __pyx_L1_error:;
17353
17435
  __Pyx_XDECREF(__pyx_t_2);
17354
17436
  __Pyx_XDECREF(__pyx_t_3);
17355
- __Pyx_XDECREF(__pyx_t_10);
17437
+ __Pyx_XDECREF(__pyx_t_5);
17356
17438
  __Pyx_AddTraceback("mysqlengine.utils._cal_time_span", __pyx_clineno, __pyx_lineno, __pyx_filename);
17357
17439
  __pyx_r = 0;
17358
17440
  __pyx_L0:;
@@ -17658,8 +17740,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17658
17740
  PyObject *__pyx_t_3 = NULL;
17659
17741
  struct __pyx_opt_args_7cytimes_10cydatetime_dt_add __pyx_t_4;
17660
17742
  PyObject *__pyx_t_5 = NULL;
17661
- PyObject *__pyx_t_6 = NULL;
17662
- int __pyx_t_7;
17743
+ int __pyx_t_6;
17744
+ PyObject *__pyx_t_7 = NULL;
17663
17745
  PyObject *__pyx_t_8 = NULL;
17664
17746
  int __pyx_t_9;
17665
17747
  int __pyx_t_10;
@@ -17805,8 +17887,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17805
17887
  * # 'end' is specified
17806
17888
  * elif end is not None:
17807
17889
  */
17808
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_gen_dt_local()); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 945, __pyx_L1_error)
17809
- __Pyx_GOTREF(__pyx_t_2);
17890
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_cydt); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 945, __pyx_L1_error)
17891
+ __Pyx_GOTREF(__pyx_t_3);
17892
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_gen_dt_local); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 945, __pyx_L1_error)
17893
+ __Pyx_GOTREF(__pyx_t_5);
17894
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17895
+ __pyx_t_3 = NULL;
17896
+ __pyx_t_6 = 0;
17897
+ #if CYTHON_UNPACK_METHODS
17898
+ if (unlikely(PyMethod_Check(__pyx_t_5))) {
17899
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
17900
+ if (likely(__pyx_t_3)) {
17901
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
17902
+ __Pyx_INCREF(__pyx_t_3);
17903
+ __Pyx_INCREF(function);
17904
+ __Pyx_DECREF_SET(__pyx_t_5, function);
17905
+ __pyx_t_6 = 1;
17906
+ }
17907
+ }
17908
+ #endif
17909
+ {
17910
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
17911
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
17912
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
17913
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 945, __pyx_L1_error)
17914
+ __Pyx_GOTREF(__pyx_t_2);
17915
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17916
+ }
17917
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 945, __pyx_L1_error)
17810
17918
  __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_2);
17811
17919
  __pyx_t_2 = 0;
17812
17920
  }
@@ -17851,11 +17959,11 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17851
17959
  */
17852
17960
  __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), __pyx_v_end); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 949, __pyx_L1_error)
17853
17961
  __Pyx_GOTREF(__pyx_t_2);
17854
- __pyx_t_3 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_2)->_dt);
17855
- __Pyx_INCREF(__pyx_t_3);
17962
+ __pyx_t_5 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_2)->_dt);
17963
+ __Pyx_INCREF(__pyx_t_5);
17856
17964
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
17857
- __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_3);
17858
- __pyx_t_3 = 0;
17965
+ __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_5);
17966
+ __pyx_t_5 = 0;
17859
17967
 
17860
17968
  /* "mysqlengine/utils.py":950
17861
17969
  * if days > 0: # 'days' provided
@@ -17868,10 +17976,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17868
17976
  __pyx_t_4.days = (1 - __pyx_v_days);
17869
17977
  __pyx_t_4.seconds = 0;
17870
17978
  __pyx_t_4.microseconds = 0;
17871
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_e_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 950, __pyx_L1_error)
17872
- __Pyx_GOTREF(__pyx_t_3);
17873
- __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_3);
17874
- __pyx_t_3 = 0;
17979
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_e_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 950, __pyx_L1_error)
17980
+ __Pyx_GOTREF(__pyx_t_5);
17981
+ __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_5);
17982
+ __pyx_t_5 = 0;
17875
17983
 
17876
17984
  /* "mysqlengine/utils.py":948
17877
17985
  * # 'end' is specified
@@ -17891,11 +17999,11 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17891
17999
  * # 'days' is specified
17892
18000
  */
17893
18001
  /*else*/ {
17894
- __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), __pyx_v_end); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 952, __pyx_L1_error)
17895
- __Pyx_GOTREF(__pyx_t_3);
17896
- __pyx_t_2 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_3)->_dt);
18002
+ __pyx_t_5 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), __pyx_v_end); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 952, __pyx_L1_error)
18003
+ __Pyx_GOTREF(__pyx_t_5);
18004
+ __pyx_t_2 = ((PyObject *)((struct __pyx_obj_7cytimes_4pydt_pydt *)__pyx_t_5)->_dt);
17897
18005
  __Pyx_INCREF(__pyx_t_2);
17898
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18006
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17899
18007
  __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_2);
17900
18008
  __pyx_t_2 = 0;
17901
18009
 
@@ -17906,8 +18014,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17906
18014
  * # 'days' is specified
17907
18015
  * elif days >= 0:
17908
18016
  */
17909
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_gen_dt_local()); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 953, __pyx_L1_error)
17910
- __Pyx_GOTREF(__pyx_t_2);
18017
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_cydt); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 953, __pyx_L1_error)
18018
+ __Pyx_GOTREF(__pyx_t_5);
18019
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_gen_dt_local); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 953, __pyx_L1_error)
18020
+ __Pyx_GOTREF(__pyx_t_3);
18021
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18022
+ __pyx_t_5 = NULL;
18023
+ __pyx_t_6 = 0;
18024
+ #if CYTHON_UNPACK_METHODS
18025
+ if (unlikely(PyMethod_Check(__pyx_t_3))) {
18026
+ __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
18027
+ if (likely(__pyx_t_5)) {
18028
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
18029
+ __Pyx_INCREF(__pyx_t_5);
18030
+ __Pyx_INCREF(function);
18031
+ __Pyx_DECREF_SET(__pyx_t_3, function);
18032
+ __pyx_t_6 = 1;
18033
+ }
18034
+ }
18035
+ #endif
18036
+ {
18037
+ PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL};
18038
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
18039
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
18040
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 953, __pyx_L1_error)
18041
+ __Pyx_GOTREF(__pyx_t_2);
18042
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18043
+ }
18044
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 953, __pyx_L1_error)
17911
18045
  __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_2);
17912
18046
  __pyx_t_2 = 0;
17913
18047
  }
@@ -17940,8 +18074,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
17940
18074
  * s_dt = cydt.dt_add(e_dt, 1 - days, 0, 0)
17941
18075
  * # Invalid
17942
18076
  */
17943
- __pyx_t_2 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_gen_dt_local()); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 956, __pyx_L1_error)
17944
- __Pyx_GOTREF(__pyx_t_2);
18077
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_cydt); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 956, __pyx_L1_error)
18078
+ __Pyx_GOTREF(__pyx_t_3);
18079
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_gen_dt_local); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 956, __pyx_L1_error)
18080
+ __Pyx_GOTREF(__pyx_t_5);
18081
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18082
+ __pyx_t_3 = NULL;
18083
+ __pyx_t_6 = 0;
18084
+ #if CYTHON_UNPACK_METHODS
18085
+ if (unlikely(PyMethod_Check(__pyx_t_5))) {
18086
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
18087
+ if (likely(__pyx_t_3)) {
18088
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
18089
+ __Pyx_INCREF(__pyx_t_3);
18090
+ __Pyx_INCREF(function);
18091
+ __Pyx_DECREF_SET(__pyx_t_5, function);
18092
+ __pyx_t_6 = 1;
18093
+ }
18094
+ }
18095
+ #endif
18096
+ {
18097
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
18098
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6);
18099
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
18100
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 956, __pyx_L1_error)
18101
+ __Pyx_GOTREF(__pyx_t_2);
18102
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18103
+ }
18104
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 956, __pyx_L1_error)
17945
18105
  __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_2);
17946
18106
  __pyx_t_2 = 0;
17947
18107
 
@@ -18037,12 +18197,12 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18037
18197
  *
18038
18198
  * # Pre binding
18039
18199
  */
18040
- __pyx_t_5 = ((PyObject *)__pyx_v_e_dt);
18041
- __pyx_t_6 = ((PyObject *)__pyx_v_s_dt);
18042
- __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_5);
18043
- __pyx_t_5 = 0;
18044
- __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_6);
18045
- __pyx_t_6 = 0;
18200
+ __pyx_t_7 = ((PyObject *)__pyx_v_e_dt);
18201
+ __pyx_t_8 = ((PyObject *)__pyx_v_s_dt);
18202
+ __pyx_v_s_dt = ((PyDateTime_DateTime *)__pyx_t_7);
18203
+ __pyx_t_7 = 0;
18204
+ __pyx_v_e_dt = ((PyDateTime_DateTime *)__pyx_t_8);
18205
+ __pyx_t_8 = 0;
18046
18206
 
18047
18207
  /* "mysqlengine/utils.py":966
18048
18208
  *
@@ -18075,14 +18235,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18075
18235
  * delta = pydt(e_dt).between(s_dt, "Y", False)
18076
18236
  * if delta > 0:
18077
18237
  */
18078
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_year, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 974, __pyx_L1_error)
18079
- if (!__pyx_t_7) {
18238
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_year, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 974, __pyx_L1_error)
18239
+ if (!__pyx_t_9) {
18080
18240
  } else {
18081
- __pyx_t_1 = __pyx_t_7;
18241
+ __pyx_t_1 = __pyx_t_9;
18082
18242
  goto __pyx_L9_bool_binop_done;
18083
18243
  }
18084
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_Y, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 974, __pyx_L1_error)
18085
- __pyx_t_1 = __pyx_t_7;
18244
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_Y, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 974, __pyx_L1_error)
18245
+ __pyx_t_1 = __pyx_t_9;
18086
18246
  __pyx_L9_bool_binop_done:;
18087
18247
  if (__pyx_t_1) {
18088
18248
 
@@ -18093,36 +18253,36 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18093
18253
  * if delta > 0:
18094
18254
  * year: cython.int = cydt.get_year(s_dt)
18095
18255
  */
18096
- __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 975, __pyx_L1_error)
18256
+ __pyx_t_5 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 975, __pyx_L1_error)
18257
+ __Pyx_GOTREF(__pyx_t_5);
18258
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_between); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 975, __pyx_L1_error)
18097
18259
  __Pyx_GOTREF(__pyx_t_3);
18098
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_between); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 975, __pyx_L1_error)
18099
- __Pyx_GOTREF(__pyx_t_8);
18100
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18101
- __pyx_t_3 = NULL;
18102
- __pyx_t_9 = 0;
18260
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18261
+ __pyx_t_5 = NULL;
18262
+ __pyx_t_6 = 0;
18103
18263
  #if CYTHON_UNPACK_METHODS
18104
- if (likely(PyMethod_Check(__pyx_t_8))) {
18105
- __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_8);
18106
- if (likely(__pyx_t_3)) {
18107
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
18108
- __Pyx_INCREF(__pyx_t_3);
18264
+ if (likely(PyMethod_Check(__pyx_t_3))) {
18265
+ __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
18266
+ if (likely(__pyx_t_5)) {
18267
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
18268
+ __Pyx_INCREF(__pyx_t_5);
18109
18269
  __Pyx_INCREF(function);
18110
- __Pyx_DECREF_SET(__pyx_t_8, function);
18111
- __pyx_t_9 = 1;
18270
+ __Pyx_DECREF_SET(__pyx_t_3, function);
18271
+ __pyx_t_6 = 1;
18112
18272
  }
18113
18273
  }
18114
18274
  #endif
18115
18275
  {
18116
- PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_Y, Py_False};
18117
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18118
- __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
18276
+ PyObject *__pyx_callargs[4] = {__pyx_t_5, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_Y, Py_False};
18277
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18278
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
18119
18279
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 975, __pyx_L1_error)
18120
18280
  __Pyx_GOTREF(__pyx_t_2);
18121
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18281
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18122
18282
  }
18123
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 975, __pyx_L1_error)
18283
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 975, __pyx_L1_error)
18124
18284
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18125
- __pyx_v_delta = __pyx_t_9;
18285
+ __pyx_v_delta = __pyx_t_6;
18126
18286
 
18127
18287
  /* "mysqlengine/utils.py":976
18128
18288
  * if unit == "year" or unit == "Y":
@@ -18141,8 +18301,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18141
18301
  * for i in range(1, delta):
18142
18302
  * res.append(cydt.dt_replace(s_dt, year + i))
18143
18303
  */
18144
- __pyx_t_9 = __pyx_f_7cytimes_10cydatetime_get_year(((PyObject *)__pyx_v_s_dt)); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 977, __pyx_L1_error)
18145
- __pyx_v_year = __pyx_t_9;
18304
+ __pyx_t_6 = __pyx_f_7cytimes_10cydatetime_get_year(((PyObject *)__pyx_v_s_dt)); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 977, __pyx_L1_error)
18305
+ __pyx_v_year = __pyx_t_6;
18146
18306
 
18147
18307
  /* "mysqlengine/utils.py":978
18148
18308
  * if delta > 0:
@@ -18151,8 +18311,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18151
18311
  * res.append(cydt.dt_replace(s_dt, year + i))
18152
18312
  * res.append(e_dt)
18153
18313
  */
18154
- __pyx_t_9 = __pyx_v_delta;
18155
- __pyx_t_10 = __pyx_t_9;
18314
+ __pyx_t_6 = __pyx_v_delta;
18315
+ __pyx_t_10 = __pyx_t_6;
18156
18316
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18157
18317
  __pyx_v_i = __pyx_t_11;
18158
18318
 
@@ -18206,14 +18366,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18206
18366
  * delta = pydt(e_dt).between(s_dt, "M", False)
18207
18367
  * if delta > 0:
18208
18368
  */
18209
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_month, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 982, __pyx_L1_error)
18210
- if (!__pyx_t_7) {
18369
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_month, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 982, __pyx_L1_error)
18370
+ if (!__pyx_t_9) {
18211
18371
  } else {
18212
- __pyx_t_1 = __pyx_t_7;
18372
+ __pyx_t_1 = __pyx_t_9;
18213
18373
  goto __pyx_L14_bool_binop_done;
18214
18374
  }
18215
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_M, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 982, __pyx_L1_error)
18216
- __pyx_t_1 = __pyx_t_7;
18375
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_M, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 982, __pyx_L1_error)
18376
+ __pyx_t_1 = __pyx_t_9;
18217
18377
  __pyx_L14_bool_binop_done:;
18218
18378
  if (__pyx_t_1) {
18219
18379
 
@@ -18224,36 +18384,36 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18224
18384
  * if delta > 0:
18225
18385
  * for i in range(1, delta):
18226
18386
  */
18227
- __pyx_t_8 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 983, __pyx_L1_error)
18228
- __Pyx_GOTREF(__pyx_t_8);
18229
- __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_between); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 983, __pyx_L1_error)
18387
+ __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 983, __pyx_L1_error)
18230
18388
  __Pyx_GOTREF(__pyx_t_3);
18231
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18232
- __pyx_t_8 = NULL;
18233
- __pyx_t_9 = 0;
18389
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_between); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 983, __pyx_L1_error)
18390
+ __Pyx_GOTREF(__pyx_t_5);
18391
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18392
+ __pyx_t_3 = NULL;
18393
+ __pyx_t_6 = 0;
18234
18394
  #if CYTHON_UNPACK_METHODS
18235
- if (likely(PyMethod_Check(__pyx_t_3))) {
18236
- __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_3);
18237
- if (likely(__pyx_t_8)) {
18238
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
18239
- __Pyx_INCREF(__pyx_t_8);
18395
+ if (likely(PyMethod_Check(__pyx_t_5))) {
18396
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
18397
+ if (likely(__pyx_t_3)) {
18398
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
18399
+ __Pyx_INCREF(__pyx_t_3);
18240
18400
  __Pyx_INCREF(function);
18241
- __Pyx_DECREF_SET(__pyx_t_3, function);
18242
- __pyx_t_9 = 1;
18401
+ __Pyx_DECREF_SET(__pyx_t_5, function);
18402
+ __pyx_t_6 = 1;
18243
18403
  }
18244
18404
  }
18245
18405
  #endif
18246
18406
  {
18247
- PyObject *__pyx_callargs[4] = {__pyx_t_8, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_M, Py_False};
18248
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18249
- __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
18407
+ PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_M, Py_False};
18408
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18409
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
18250
18410
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 983, __pyx_L1_error)
18251
18411
  __Pyx_GOTREF(__pyx_t_2);
18252
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18412
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18253
18413
  }
18254
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 983, __pyx_L1_error)
18414
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 983, __pyx_L1_error)
18255
18415
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18256
- __pyx_v_delta = __pyx_t_9;
18416
+ __pyx_v_delta = __pyx_t_6;
18257
18417
 
18258
18418
  /* "mysqlengine/utils.py":984
18259
18419
  * elif unit == "month" or unit == "M":
@@ -18272,8 +18432,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18272
18432
  * res.append(s_dt + cytimedelta(months=i))
18273
18433
  * res.append(e_dt)
18274
18434
  */
18275
- __pyx_t_9 = __pyx_v_delta;
18276
- __pyx_t_10 = __pyx_t_9;
18435
+ __pyx_t_6 = __pyx_v_delta;
18436
+ __pyx_t_10 = __pyx_t_6;
18277
18437
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18278
18438
  __pyx_v_i = __pyx_t_11;
18279
18439
 
@@ -18286,21 +18446,21 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18286
18446
  */
18287
18447
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_cytimedelta); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 986, __pyx_L1_error)
18288
18448
  __Pyx_GOTREF(__pyx_t_2);
18289
- __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 986, __pyx_L1_error)
18449
+ __pyx_t_5 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 986, __pyx_L1_error)
18450
+ __Pyx_GOTREF(__pyx_t_5);
18451
+ __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_i); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 986, __pyx_L1_error)
18290
18452
  __Pyx_GOTREF(__pyx_t_3);
18291
- __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_i); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 986, __pyx_L1_error)
18292
- __Pyx_GOTREF(__pyx_t_8);
18293
- if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_months, __pyx_t_8) < 0) __PYX_ERR(0, 986, __pyx_L1_error)
18294
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18295
- __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 986, __pyx_L1_error)
18296
- __Pyx_GOTREF(__pyx_t_8);
18297
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18453
+ if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_months, __pyx_t_3) < 0) __PYX_ERR(0, 986, __pyx_L1_error)
18298
18454
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18299
- __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_v_s_dt), __pyx_t_8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 986, __pyx_L1_error)
18455
+ __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 986, __pyx_L1_error)
18300
18456
  __Pyx_GOTREF(__pyx_t_3);
18301
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18302
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 986, __pyx_L1_error)
18457
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18458
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18459
+ __pyx_t_5 = PyNumber_Add(((PyObject *)__pyx_v_s_dt), __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 986, __pyx_L1_error)
18460
+ __Pyx_GOTREF(__pyx_t_5);
18303
18461
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18462
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 986, __pyx_L1_error)
18463
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18304
18464
  }
18305
18465
 
18306
18466
  /* "mysqlengine/utils.py":987
@@ -18338,14 +18498,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18338
18498
  * delta = pydt(e_dt).between(s_dt, "W", False)
18339
18499
  * if delta > 0:
18340
18500
  */
18341
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_week, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 989, __pyx_L1_error)
18342
- if (!__pyx_t_7) {
18501
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_week, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 989, __pyx_L1_error)
18502
+ if (!__pyx_t_9) {
18343
18503
  } else {
18344
- __pyx_t_1 = __pyx_t_7;
18504
+ __pyx_t_1 = __pyx_t_9;
18345
18505
  goto __pyx_L19_bool_binop_done;
18346
18506
  }
18347
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_W, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 989, __pyx_L1_error)
18348
- __pyx_t_1 = __pyx_t_7;
18507
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_W, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 989, __pyx_L1_error)
18508
+ __pyx_t_1 = __pyx_t_9;
18349
18509
  __pyx_L19_bool_binop_done:;
18350
18510
  if (__pyx_t_1) {
18351
18511
 
@@ -18356,36 +18516,36 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18356
18516
  * if delta > 0:
18357
18517
  * for i in range(1, delta):
18358
18518
  */
18359
- __pyx_t_8 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 990, __pyx_L1_error)
18360
- __Pyx_GOTREF(__pyx_t_8);
18361
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_between); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 990, __pyx_L1_error)
18519
+ __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 990, __pyx_L1_error)
18520
+ __Pyx_GOTREF(__pyx_t_3);
18521
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_between); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 990, __pyx_L1_error)
18362
18522
  __Pyx_GOTREF(__pyx_t_2);
18363
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18364
- __pyx_t_8 = NULL;
18365
- __pyx_t_9 = 0;
18523
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18524
+ __pyx_t_3 = NULL;
18525
+ __pyx_t_6 = 0;
18366
18526
  #if CYTHON_UNPACK_METHODS
18367
18527
  if (likely(PyMethod_Check(__pyx_t_2))) {
18368
- __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_2);
18369
- if (likely(__pyx_t_8)) {
18528
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
18529
+ if (likely(__pyx_t_3)) {
18370
18530
  PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
18371
- __Pyx_INCREF(__pyx_t_8);
18531
+ __Pyx_INCREF(__pyx_t_3);
18372
18532
  __Pyx_INCREF(function);
18373
18533
  __Pyx_DECREF_SET(__pyx_t_2, function);
18374
- __pyx_t_9 = 1;
18534
+ __pyx_t_6 = 1;
18375
18535
  }
18376
18536
  }
18377
18537
  #endif
18378
18538
  {
18379
- PyObject *__pyx_callargs[4] = {__pyx_t_8, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_W, Py_False};
18380
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18381
- __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
18382
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 990, __pyx_L1_error)
18383
- __Pyx_GOTREF(__pyx_t_3);
18539
+ PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_W, Py_False};
18540
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18541
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
18542
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 990, __pyx_L1_error)
18543
+ __Pyx_GOTREF(__pyx_t_5);
18384
18544
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18385
18545
  }
18386
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 990, __pyx_L1_error)
18387
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18388
- __pyx_v_delta = __pyx_t_9;
18546
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 990, __pyx_L1_error)
18547
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18548
+ __pyx_v_delta = __pyx_t_6;
18389
18549
 
18390
18550
  /* "mysqlengine/utils.py":991
18391
18551
  * elif unit == "week" or unit == "W":
@@ -18404,8 +18564,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18404
18564
  * res.append(cydt.dt_add(s_dt, i * 7, 0, 0))
18405
18565
  * res.append(e_dt)
18406
18566
  */
18407
- __pyx_t_9 = __pyx_v_delta;
18408
- __pyx_t_10 = __pyx_t_9;
18567
+ __pyx_t_6 = __pyx_v_delta;
18568
+ __pyx_t_10 = __pyx_t_6;
18409
18569
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18410
18570
  __pyx_v_i = __pyx_t_11;
18411
18571
 
@@ -18420,10 +18580,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18420
18580
  __pyx_t_4.days = (__pyx_v_i * 7);
18421
18581
  __pyx_t_4.seconds = 0;
18422
18582
  __pyx_t_4.microseconds = 0;
18423
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 993, __pyx_L1_error)
18424
- __Pyx_GOTREF(__pyx_t_3);
18425
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 993, __pyx_L1_error)
18426
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18583
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 993, __pyx_L1_error)
18584
+ __Pyx_GOTREF(__pyx_t_5);
18585
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 993, __pyx_L1_error)
18586
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18427
18587
  }
18428
18588
 
18429
18589
  /* "mysqlengine/utils.py":994
@@ -18461,14 +18621,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18461
18621
  * delta = pydt(e_dt).between(s_dt, "D", False)
18462
18622
  * if delta > 0:
18463
18623
  */
18464
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_day, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 996, __pyx_L1_error)
18465
- if (!__pyx_t_7) {
18624
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_day, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 996, __pyx_L1_error)
18625
+ if (!__pyx_t_9) {
18466
18626
  } else {
18467
- __pyx_t_1 = __pyx_t_7;
18627
+ __pyx_t_1 = __pyx_t_9;
18468
18628
  goto __pyx_L24_bool_binop_done;
18469
18629
  }
18470
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_D, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 996, __pyx_L1_error)
18471
- __pyx_t_1 = __pyx_t_7;
18630
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_D, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 996, __pyx_L1_error)
18631
+ __pyx_t_1 = __pyx_t_9;
18472
18632
  __pyx_L24_bool_binop_done:;
18473
18633
  if (__pyx_t_1) {
18474
18634
 
@@ -18481,34 +18641,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18481
18641
  */
18482
18642
  __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 997, __pyx_L1_error)
18483
18643
  __Pyx_GOTREF(__pyx_t_2);
18484
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_between); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 997, __pyx_L1_error)
18485
- __Pyx_GOTREF(__pyx_t_8);
18644
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_between); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 997, __pyx_L1_error)
18645
+ __Pyx_GOTREF(__pyx_t_3);
18486
18646
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18487
18647
  __pyx_t_2 = NULL;
18488
- __pyx_t_9 = 0;
18648
+ __pyx_t_6 = 0;
18489
18649
  #if CYTHON_UNPACK_METHODS
18490
- if (likely(PyMethod_Check(__pyx_t_8))) {
18491
- __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_8);
18650
+ if (likely(PyMethod_Check(__pyx_t_3))) {
18651
+ __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
18492
18652
  if (likely(__pyx_t_2)) {
18493
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
18653
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
18494
18654
  __Pyx_INCREF(__pyx_t_2);
18495
18655
  __Pyx_INCREF(function);
18496
- __Pyx_DECREF_SET(__pyx_t_8, function);
18497
- __pyx_t_9 = 1;
18656
+ __Pyx_DECREF_SET(__pyx_t_3, function);
18657
+ __pyx_t_6 = 1;
18498
18658
  }
18499
18659
  }
18500
18660
  #endif
18501
18661
  {
18502
18662
  PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_D, Py_False};
18503
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18663
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18504
18664
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
18505
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 997, __pyx_L1_error)
18506
- __Pyx_GOTREF(__pyx_t_3);
18507
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18665
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 997, __pyx_L1_error)
18666
+ __Pyx_GOTREF(__pyx_t_5);
18667
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18508
18668
  }
18509
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 997, __pyx_L1_error)
18510
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18511
- __pyx_v_delta = __pyx_t_9;
18669
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 997, __pyx_L1_error)
18670
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18671
+ __pyx_v_delta = __pyx_t_6;
18512
18672
 
18513
18673
  /* "mysqlengine/utils.py":998
18514
18674
  * elif unit == "day" or unit == "D":
@@ -18527,8 +18687,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18527
18687
  * res.append(cydt.dt_add(s_dt, i, 0, 0))
18528
18688
  * res.append(e_dt)
18529
18689
  */
18530
- __pyx_t_9 = __pyx_v_delta;
18531
- __pyx_t_10 = __pyx_t_9;
18690
+ __pyx_t_6 = __pyx_v_delta;
18691
+ __pyx_t_10 = __pyx_t_6;
18532
18692
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18533
18693
  __pyx_v_i = __pyx_t_11;
18534
18694
 
@@ -18543,10 +18703,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18543
18703
  __pyx_t_4.days = __pyx_v_i;
18544
18704
  __pyx_t_4.seconds = 0;
18545
18705
  __pyx_t_4.microseconds = 0;
18546
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1000, __pyx_L1_error)
18547
- __Pyx_GOTREF(__pyx_t_3);
18548
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1000, __pyx_L1_error)
18549
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18706
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1000, __pyx_L1_error)
18707
+ __Pyx_GOTREF(__pyx_t_5);
18708
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1000, __pyx_L1_error)
18709
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18550
18710
  }
18551
18711
 
18552
18712
  /* "mysqlengine/utils.py":1001
@@ -18584,14 +18744,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18584
18744
  * delta = pydt(e_dt).between(s_dt, "h", False)
18585
18745
  * if delta > 0:
18586
18746
  */
18587
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_hour, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1003, __pyx_L1_error)
18588
- if (!__pyx_t_7) {
18747
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_hour, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1003, __pyx_L1_error)
18748
+ if (!__pyx_t_9) {
18589
18749
  } else {
18590
- __pyx_t_1 = __pyx_t_7;
18750
+ __pyx_t_1 = __pyx_t_9;
18591
18751
  goto __pyx_L29_bool_binop_done;
18592
18752
  }
18593
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_h, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1003, __pyx_L1_error)
18594
- __pyx_t_1 = __pyx_t_7;
18753
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_h, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1003, __pyx_L1_error)
18754
+ __pyx_t_1 = __pyx_t_9;
18595
18755
  __pyx_L29_bool_binop_done:;
18596
18756
  if (__pyx_t_1) {
18597
18757
 
@@ -18602,36 +18762,36 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18602
18762
  * if delta > 0:
18603
18763
  * for i in range(1, delta):
18604
18764
  */
18605
- __pyx_t_8 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1004, __pyx_L1_error)
18606
- __Pyx_GOTREF(__pyx_t_8);
18607
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_between); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1004, __pyx_L1_error)
18765
+ __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1004, __pyx_L1_error)
18766
+ __Pyx_GOTREF(__pyx_t_3);
18767
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_between); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1004, __pyx_L1_error)
18608
18768
  __Pyx_GOTREF(__pyx_t_2);
18609
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18610
- __pyx_t_8 = NULL;
18611
- __pyx_t_9 = 0;
18769
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18770
+ __pyx_t_3 = NULL;
18771
+ __pyx_t_6 = 0;
18612
18772
  #if CYTHON_UNPACK_METHODS
18613
18773
  if (likely(PyMethod_Check(__pyx_t_2))) {
18614
- __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_2);
18615
- if (likely(__pyx_t_8)) {
18774
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
18775
+ if (likely(__pyx_t_3)) {
18616
18776
  PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
18617
- __Pyx_INCREF(__pyx_t_8);
18777
+ __Pyx_INCREF(__pyx_t_3);
18618
18778
  __Pyx_INCREF(function);
18619
18779
  __Pyx_DECREF_SET(__pyx_t_2, function);
18620
- __pyx_t_9 = 1;
18780
+ __pyx_t_6 = 1;
18621
18781
  }
18622
18782
  }
18623
18783
  #endif
18624
18784
  {
18625
- PyObject *__pyx_callargs[4] = {__pyx_t_8, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_h, Py_False};
18626
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18627
- __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
18628
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1004, __pyx_L1_error)
18629
- __Pyx_GOTREF(__pyx_t_3);
18785
+ PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_h, Py_False};
18786
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18787
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
18788
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1004, __pyx_L1_error)
18789
+ __Pyx_GOTREF(__pyx_t_5);
18630
18790
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18631
18791
  }
18632
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1004, __pyx_L1_error)
18633
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18634
- __pyx_v_delta = __pyx_t_9;
18792
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1004, __pyx_L1_error)
18793
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18794
+ __pyx_v_delta = __pyx_t_6;
18635
18795
 
18636
18796
  /* "mysqlengine/utils.py":1005
18637
18797
  * elif unit == "hour" or unit == "h":
@@ -18650,8 +18810,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18650
18810
  * res.append(cydt.dt_add(s_dt, 0, 3600 * i, 0))
18651
18811
  * res.append(e_dt)
18652
18812
  */
18653
- __pyx_t_9 = __pyx_v_delta;
18654
- __pyx_t_10 = __pyx_t_9;
18813
+ __pyx_t_6 = __pyx_v_delta;
18814
+ __pyx_t_10 = __pyx_t_6;
18655
18815
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18656
18816
  __pyx_v_i = __pyx_t_11;
18657
18817
 
@@ -18666,10 +18826,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18666
18826
  __pyx_t_4.days = 0;
18667
18827
  __pyx_t_4.seconds = (0xE10 * __pyx_v_i);
18668
18828
  __pyx_t_4.microseconds = 0;
18669
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1007, __pyx_L1_error)
18670
- __Pyx_GOTREF(__pyx_t_3);
18671
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1007, __pyx_L1_error)
18672
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18829
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1007, __pyx_L1_error)
18830
+ __Pyx_GOTREF(__pyx_t_5);
18831
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1007, __pyx_L1_error)
18832
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18673
18833
  }
18674
18834
 
18675
18835
  /* "mysqlengine/utils.py":1008
@@ -18707,14 +18867,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18707
18867
  * delta = pydt(e_dt).between(s_dt, "m", False)
18708
18868
  * if delta > 0:
18709
18869
  */
18710
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_minute, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1010, __pyx_L1_error)
18711
- if (!__pyx_t_7) {
18870
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_minute, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1010, __pyx_L1_error)
18871
+ if (!__pyx_t_9) {
18712
18872
  } else {
18713
- __pyx_t_1 = __pyx_t_7;
18873
+ __pyx_t_1 = __pyx_t_9;
18714
18874
  goto __pyx_L34_bool_binop_done;
18715
18875
  }
18716
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_m_2, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1010, __pyx_L1_error)
18717
- __pyx_t_1 = __pyx_t_7;
18876
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_m_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1010, __pyx_L1_error)
18877
+ __pyx_t_1 = __pyx_t_9;
18718
18878
  __pyx_L34_bool_binop_done:;
18719
18879
  if (__pyx_t_1) {
18720
18880
 
@@ -18727,34 +18887,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18727
18887
  */
18728
18888
  __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1011, __pyx_L1_error)
18729
18889
  __Pyx_GOTREF(__pyx_t_2);
18730
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_between); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1011, __pyx_L1_error)
18731
- __Pyx_GOTREF(__pyx_t_8);
18890
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_between); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1011, __pyx_L1_error)
18891
+ __Pyx_GOTREF(__pyx_t_3);
18732
18892
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18733
18893
  __pyx_t_2 = NULL;
18734
- __pyx_t_9 = 0;
18894
+ __pyx_t_6 = 0;
18735
18895
  #if CYTHON_UNPACK_METHODS
18736
- if (likely(PyMethod_Check(__pyx_t_8))) {
18737
- __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_8);
18896
+ if (likely(PyMethod_Check(__pyx_t_3))) {
18897
+ __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
18738
18898
  if (likely(__pyx_t_2)) {
18739
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
18899
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
18740
18900
  __Pyx_INCREF(__pyx_t_2);
18741
18901
  __Pyx_INCREF(function);
18742
- __Pyx_DECREF_SET(__pyx_t_8, function);
18743
- __pyx_t_9 = 1;
18902
+ __Pyx_DECREF_SET(__pyx_t_3, function);
18903
+ __pyx_t_6 = 1;
18744
18904
  }
18745
18905
  }
18746
18906
  #endif
18747
18907
  {
18748
18908
  PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_m_2, Py_False};
18749
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18909
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18750
18910
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
18751
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1011, __pyx_L1_error)
18752
- __Pyx_GOTREF(__pyx_t_3);
18753
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18911
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1011, __pyx_L1_error)
18912
+ __Pyx_GOTREF(__pyx_t_5);
18913
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18754
18914
  }
18755
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1011, __pyx_L1_error)
18756
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18757
- __pyx_v_delta = __pyx_t_9;
18915
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1011, __pyx_L1_error)
18916
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18917
+ __pyx_v_delta = __pyx_t_6;
18758
18918
 
18759
18919
  /* "mysqlengine/utils.py":1012
18760
18920
  * elif unit == "minute" or unit == "m":
@@ -18773,8 +18933,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18773
18933
  * res.append(cydt.dt_add(s_dt, 0, 60 * i, 0))
18774
18934
  * res.append(e_dt)
18775
18935
  */
18776
- __pyx_t_9 = __pyx_v_delta;
18777
- __pyx_t_10 = __pyx_t_9;
18936
+ __pyx_t_6 = __pyx_v_delta;
18937
+ __pyx_t_10 = __pyx_t_6;
18778
18938
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18779
18939
  __pyx_v_i = __pyx_t_11;
18780
18940
 
@@ -18789,10 +18949,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18789
18949
  __pyx_t_4.days = 0;
18790
18950
  __pyx_t_4.seconds = (60 * __pyx_v_i);
18791
18951
  __pyx_t_4.microseconds = 0;
18792
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1014, __pyx_L1_error)
18793
- __Pyx_GOTREF(__pyx_t_3);
18794
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1014, __pyx_L1_error)
18795
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18952
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1014, __pyx_L1_error)
18953
+ __Pyx_GOTREF(__pyx_t_5);
18954
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1014, __pyx_L1_error)
18955
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18796
18956
  }
18797
18957
 
18798
18958
  /* "mysqlengine/utils.py":1015
@@ -18830,14 +18990,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18830
18990
  * delta = pydt(e_dt).between(s_dt, "s", False)
18831
18991
  * if delta > 0:
18832
18992
  */
18833
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_second, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1017, __pyx_L1_error)
18834
- if (!__pyx_t_7) {
18993
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_second, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1017, __pyx_L1_error)
18994
+ if (!__pyx_t_9) {
18835
18995
  } else {
18836
- __pyx_t_1 = __pyx_t_7;
18996
+ __pyx_t_1 = __pyx_t_9;
18837
18997
  goto __pyx_L39_bool_binop_done;
18838
18998
  }
18839
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_s, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1017, __pyx_L1_error)
18840
- __pyx_t_1 = __pyx_t_7;
18999
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_s, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1017, __pyx_L1_error)
19000
+ __pyx_t_1 = __pyx_t_9;
18841
19001
  __pyx_L39_bool_binop_done:;
18842
19002
  if (__pyx_t_1) {
18843
19003
 
@@ -18848,36 +19008,36 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18848
19008
  * if delta > 0:
18849
19009
  * for i in range(1, delta):
18850
19010
  */
18851
- __pyx_t_8 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1018, __pyx_L1_error)
18852
- __Pyx_GOTREF(__pyx_t_8);
18853
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_between); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1018, __pyx_L1_error)
19011
+ __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1018, __pyx_L1_error)
19012
+ __Pyx_GOTREF(__pyx_t_3);
19013
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_between); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1018, __pyx_L1_error)
18854
19014
  __Pyx_GOTREF(__pyx_t_2);
18855
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
18856
- __pyx_t_8 = NULL;
18857
- __pyx_t_9 = 0;
19015
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19016
+ __pyx_t_3 = NULL;
19017
+ __pyx_t_6 = 0;
18858
19018
  #if CYTHON_UNPACK_METHODS
18859
19019
  if (likely(PyMethod_Check(__pyx_t_2))) {
18860
- __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_2);
18861
- if (likely(__pyx_t_8)) {
19020
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
19021
+ if (likely(__pyx_t_3)) {
18862
19022
  PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
18863
- __Pyx_INCREF(__pyx_t_8);
19023
+ __Pyx_INCREF(__pyx_t_3);
18864
19024
  __Pyx_INCREF(function);
18865
19025
  __Pyx_DECREF_SET(__pyx_t_2, function);
18866
- __pyx_t_9 = 1;
19026
+ __pyx_t_6 = 1;
18867
19027
  }
18868
19028
  }
18869
19029
  #endif
18870
19030
  {
18871
- PyObject *__pyx_callargs[4] = {__pyx_t_8, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_s, Py_False};
18872
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
18873
- __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
18874
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1018, __pyx_L1_error)
18875
- __Pyx_GOTREF(__pyx_t_3);
19031
+ PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_s, Py_False};
19032
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
19033
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
19034
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1018, __pyx_L1_error)
19035
+ __Pyx_GOTREF(__pyx_t_5);
18876
19036
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18877
19037
  }
18878
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1018, __pyx_L1_error)
18879
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18880
- __pyx_v_delta = __pyx_t_9;
19038
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1018, __pyx_L1_error)
19039
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19040
+ __pyx_v_delta = __pyx_t_6;
18881
19041
 
18882
19042
  /* "mysqlengine/utils.py":1019
18883
19043
  * elif unit == "second" or unit == "s":
@@ -18896,8 +19056,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18896
19056
  * res.append(cydt.dt_add(s_dt, 0, i, 0))
18897
19057
  * res.append(e_dt)
18898
19058
  */
18899
- __pyx_t_9 = __pyx_v_delta;
18900
- __pyx_t_10 = __pyx_t_9;
19059
+ __pyx_t_6 = __pyx_v_delta;
19060
+ __pyx_t_10 = __pyx_t_6;
18901
19061
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
18902
19062
  __pyx_v_i = __pyx_t_11;
18903
19063
 
@@ -18912,10 +19072,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18912
19072
  __pyx_t_4.days = 0;
18913
19073
  __pyx_t_4.seconds = __pyx_v_i;
18914
19074
  __pyx_t_4.microseconds = 0;
18915
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1021, __pyx_L1_error)
18916
- __Pyx_GOTREF(__pyx_t_3);
18917
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1021, __pyx_L1_error)
18918
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19075
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1021, __pyx_L1_error)
19076
+ __Pyx_GOTREF(__pyx_t_5);
19077
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1021, __pyx_L1_error)
19078
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
18919
19079
  }
18920
19080
 
18921
19081
  /* "mysqlengine/utils.py":1022
@@ -18953,14 +19113,14 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18953
19113
  * delta = pydt(e_dt).between(s_dt, "us", False)
18954
19114
  * if delta > 0:
18955
19115
  */
18956
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_microsecond, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1024, __pyx_L1_error)
18957
- if (!__pyx_t_7) {
19116
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_microsecond, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1024, __pyx_L1_error)
19117
+ if (!__pyx_t_9) {
18958
19118
  } else {
18959
- __pyx_t_1 = __pyx_t_7;
19119
+ __pyx_t_1 = __pyx_t_9;
18960
19120
  goto __pyx_L44_bool_binop_done;
18961
19121
  }
18962
- __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_us, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1024, __pyx_L1_error)
18963
- __pyx_t_1 = __pyx_t_7;
19122
+ __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_unit, __pyx_n_u_us, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1024, __pyx_L1_error)
19123
+ __pyx_t_1 = __pyx_t_9;
18964
19124
  __pyx_L44_bool_binop_done:;
18965
19125
  if (likely(__pyx_t_1)) {
18966
19126
 
@@ -18973,34 +19133,34 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
18973
19133
  */
18974
19134
  __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_7cytimes_4pydt_pydt), ((PyObject *)__pyx_v_e_dt)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1025, __pyx_L1_error)
18975
19135
  __Pyx_GOTREF(__pyx_t_2);
18976
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_between); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1025, __pyx_L1_error)
18977
- __Pyx_GOTREF(__pyx_t_8);
19136
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_between); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1025, __pyx_L1_error)
19137
+ __Pyx_GOTREF(__pyx_t_3);
18978
19138
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
18979
19139
  __pyx_t_2 = NULL;
18980
- __pyx_t_9 = 0;
19140
+ __pyx_t_6 = 0;
18981
19141
  #if CYTHON_UNPACK_METHODS
18982
- if (likely(PyMethod_Check(__pyx_t_8))) {
18983
- __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_8);
19142
+ if (likely(PyMethod_Check(__pyx_t_3))) {
19143
+ __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
18984
19144
  if (likely(__pyx_t_2)) {
18985
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
19145
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
18986
19146
  __Pyx_INCREF(__pyx_t_2);
18987
19147
  __Pyx_INCREF(function);
18988
- __Pyx_DECREF_SET(__pyx_t_8, function);
18989
- __pyx_t_9 = 1;
19148
+ __Pyx_DECREF_SET(__pyx_t_3, function);
19149
+ __pyx_t_6 = 1;
18990
19150
  }
18991
19151
  }
18992
19152
  #endif
18993
19153
  {
18994
19154
  PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_s_dt), __pyx_n_u_us, Py_False};
18995
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 3+__pyx_t_9);
19155
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 3+__pyx_t_6);
18996
19156
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
18997
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1025, __pyx_L1_error)
18998
- __Pyx_GOTREF(__pyx_t_3);
18999
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
19157
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1025, __pyx_L1_error)
19158
+ __Pyx_GOTREF(__pyx_t_5);
19159
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19000
19160
  }
19001
- __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1025, __pyx_L1_error)
19002
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19003
- __pyx_v_delta = __pyx_t_9;
19161
+ __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1025, __pyx_L1_error)
19162
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19163
+ __pyx_v_delta = __pyx_t_6;
19004
19164
 
19005
19165
  /* "mysqlengine/utils.py":1026
19006
19166
  * elif unit == "microsecond" or unit == "us":
@@ -19019,8 +19179,8 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
19019
19179
  * res.append(cydt.dt_add(s_dt, 0, 0, i))
19020
19180
  * res.append(e_dt)
19021
19181
  */
19022
- __pyx_t_9 = __pyx_v_delta;
19023
- __pyx_t_10 = __pyx_t_9;
19182
+ __pyx_t_6 = __pyx_v_delta;
19183
+ __pyx_t_10 = __pyx_t_6;
19024
19184
  for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
19025
19185
  __pyx_v_i = __pyx_t_11;
19026
19186
 
@@ -19035,10 +19195,10 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
19035
19195
  __pyx_t_4.days = 0;
19036
19196
  __pyx_t_4.seconds = 0;
19037
19197
  __pyx_t_4.microseconds = __pyx_v_i;
19038
- __pyx_t_3 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1028, __pyx_L1_error)
19039
- __Pyx_GOTREF(__pyx_t_3);
19040
- __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_3); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1028, __pyx_L1_error)
19041
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19198
+ __pyx_t_5 = ((PyObject *)__pyx_f_7cytimes_10cydatetime_dt_add(__pyx_v_s_dt, &__pyx_t_4)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1028, __pyx_L1_error)
19199
+ __Pyx_GOTREF(__pyx_t_5);
19200
+ __pyx_t_13 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1028, __pyx_L1_error)
19201
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19042
19202
  }
19043
19203
 
19044
19204
  /* "mysqlengine/utils.py":1029
@@ -19077,35 +19237,35 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
19077
19237
  * # Return
19078
19238
  */
19079
19239
  /*else*/ {
19080
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_gen_time_span_Invalid_unit, __pyx_n_s_format); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1032, __pyx_L1_error)
19081
- __Pyx_GOTREF(__pyx_t_8);
19240
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_gen_time_span_Invalid_unit, __pyx_n_s_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1032, __pyx_L1_error)
19241
+ __Pyx_GOTREF(__pyx_t_3);
19082
19242
  __pyx_t_2 = NULL;
19083
- __pyx_t_9 = 0;
19243
+ __pyx_t_6 = 0;
19084
19244
  #if CYTHON_UNPACK_METHODS
19085
- if (likely(PyMethod_Check(__pyx_t_8))) {
19086
- __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_8);
19245
+ if (likely(PyMethod_Check(__pyx_t_3))) {
19246
+ __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
19087
19247
  if (likely(__pyx_t_2)) {
19088
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8);
19248
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
19089
19249
  __Pyx_INCREF(__pyx_t_2);
19090
19250
  __Pyx_INCREF(function);
19091
- __Pyx_DECREF_SET(__pyx_t_8, function);
19092
- __pyx_t_9 = 1;
19251
+ __Pyx_DECREF_SET(__pyx_t_3, function);
19252
+ __pyx_t_6 = 1;
19093
19253
  }
19094
19254
  }
19095
19255
  #endif
19096
19256
  {
19097
19257
  PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_unit};
19098
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_9, 1+__pyx_t_9);
19258
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6);
19099
19259
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
19100
- if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1032, __pyx_L1_error)
19101
- __Pyx_GOTREF(__pyx_t_3);
19102
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
19260
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1032, __pyx_L1_error)
19261
+ __Pyx_GOTREF(__pyx_t_5);
19262
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19103
19263
  }
19104
- __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1032, __pyx_L1_error)
19105
- __Pyx_GOTREF(__pyx_t_8);
19264
+ __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1032, __pyx_L1_error)
19265
+ __Pyx_GOTREF(__pyx_t_3);
19266
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
19267
+ __Pyx_Raise(__pyx_t_3, 0, 0, 0);
19106
19268
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19107
- __Pyx_Raise(__pyx_t_8, 0, 0, 0);
19108
- __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
19109
19269
  __PYX_ERR(0, 1032, __pyx_L1_error)
19110
19270
  }
19111
19271
  __pyx_L8:;
@@ -19134,7 +19294,7 @@ static PyObject *__pyx_f_11mysqlengine_5utils__gen_time_span(PyObject *__pyx_v_s
19134
19294
  __pyx_L1_error:;
19135
19295
  __Pyx_XDECREF(__pyx_t_2);
19136
19296
  __Pyx_XDECREF(__pyx_t_3);
19137
- __Pyx_XDECREF(__pyx_t_8);
19297
+ __Pyx_XDECREF(__pyx_t_5);
19138
19298
  __Pyx_AddTraceback("mysqlengine.utils._gen_time_span", __pyx_clineno, __pyx_lineno, __pyx_filename);
19139
19299
  __pyx_r = 0;
19140
19300
  __pyx_L0:;
@@ -20617,6 +20777,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
20617
20777
  {&__pyx_n_s_findall, __pyx_k_findall, sizeof(__pyx_k_findall), 0, 0, 1, 1},
20618
20778
  {&__pyx_n_s_float, __pyx_k_float, sizeof(__pyx_k_float), 0, 0, 1, 1},
20619
20779
  {&__pyx_n_s_format, __pyx_k_format, sizeof(__pyx_k_format), 0, 0, 1, 1},
20780
+ {&__pyx_n_s_gen_dt_local, __pyx_k_gen_dt_local, sizeof(__pyx_k_gen_dt_local), 0, 0, 1, 1},
20620
20781
  {&__pyx_n_s_gen_time_span, __pyx_k_gen_time_span, sizeof(__pyx_k_gen_time_span), 0, 0, 1, 1},
20621
20782
  {&__pyx_kp_u_gen_time_span_Invalid_unit, __pyx_k_gen_time_span_Invalid_unit, sizeof(__pyx_k_gen_time_span_Invalid_unit), 0, 1, 0, 0},
20622
20783
  {&__pyx_kp_u_gen_time_span_Must_provide_as_l, __pyx_k_gen_time_span_Must_provide_as_l, sizeof(__pyx_k_gen_time_span_Must_provide_as_l), 0, 1, 0, 0},
@@ -20726,7 +20887,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
20726
20887
  __Pyx_RefNannyDeclarations
20727
20888
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
20728
20889
 
20729
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
20890
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":983
20730
20891
  * __pyx_import_array()
20731
20892
  * except Exception:
20732
20893
  * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
@@ -20737,7 +20898,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
20737
20898
  __Pyx_GOTREF(__pyx_tuple_);
20738
20899
  __Pyx_GIVEREF(__pyx_tuple_);
20739
20900
 
20740
- /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-s71fkjmu/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
20901
+ /* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-o1tb4bhz/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":989
20741
20902
  * _import_umath()
20742
20903
  * except Exception:
20743
20904
  * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
@@ -21291,7 +21452,6 @@ static int __Pyx_modinit_function_import_code(void) {
21291
21452
  __pyx_t_1 = PyImport_ImportModule("cytimes.cydatetime"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
21292
21453
  __Pyx_GOTREF(__pyx_t_1);
21293
21454
  if (__Pyx_ImportFunction_3_0_4(__pyx_t_1, "get_year", (void (**)(void))&__pyx_f_7cytimes_10cydatetime_get_year, "int (PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
21294
- if (__Pyx_ImportFunction_3_0_4(__pyx_t_1, "gen_dt_local", (void (**)(void))&__pyx_f_7cytimes_10cydatetime_gen_dt_local, "PyDateTime_DateTime *(void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
21295
21455
  if (__Pyx_ImportFunction_3_0_4(__pyx_t_1, "dt_add", (void (**)(void))&__pyx_f_7cytimes_10cydatetime_dt_add, "PyDateTime_DateTime *(PyDateTime_DateTime *, struct __pyx_opt_args_7cytimes_10cydatetime_dt_add *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
21296
21456
  if (__Pyx_ImportFunction_3_0_4(__pyx_t_1, "dt_replace", (void (**)(void))&__pyx_f_7cytimes_10cydatetime_dt_replace, "PyDateTime_DateTime *(PyDateTime_DateTime *, struct __pyx_opt_args_7cytimes_10cydatetime_dt_replace *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
21297
21457
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;