FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgpack-python/msgpack/_cmsgpack.pyx at main · DiamondLightSource/msgpack-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DiamondLightSource
/
msgpack-python
Public
forked from
msgpack/msgpack-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
msgpack-python
/
msgpack
/
_cmsgpack.pyx
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (10 loc) · 374 Bytes
Breadcrumbs
msgpack-python
/
msgpack
/
_cmsgpack.pyx
Copy path
File metadata and controls
12 lines (10 loc) · 374 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
#
cython: embedsignature=True, c_string_encoding=ascii, language_level=3
#
cython: freethreading_compatible = True
import
cython
from
cpython.datetime cimport import_datetime, datetime_new
import_datetime()
import
datetime
cdef
object
utc
=
datetime.timezone.utc
cdef
object
epoch
=
datetime_new(
1970
,
1
,
1
,
0
,
0
,
0
,
0
,
tz
=
utc)
include
"
_packer.pyx
"
include
"
_unpacker.pyx
"
Back
|
FazBrowse Home
|
New Git URL