We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d80a8 commit 657699eCopy full SHA for 657699e
pandas/_libs/tslibs/conversion.pxd
@@ -55,4 +55,4 @@ cdef int64_t parse_pydatetime(
55
object val,
56
npy_datetimestruct *dts,
57
bint utc_convert,
58
-) except -1
+) except *
pandas/_libs/tslibs/conversion.pyx
@@ -66,6 +66,7 @@ from pandas._libs.tslibs.nattype cimport (
66
c_NaT as NaT,
67
c_nat_strings as nat_strings,
68
)
69
+from pandas._libs.tslibs.timestamps cimport _Timestamp
70
from pandas._libs.tslibs.tzconversion cimport (
71
Localizer,
72
tz_localize_to_utc_single,
@@ -701,7 +702,7 @@ cdef int64_t parse_pydatetime(
701
702
703
704
-) except -1:
705
+) except *:
706
"""
707
Convert pydatetime to datetime64.
708
0 commit comments