msgpack-python/msgpack/_cmsgpack.pyx
Charlie Lin ccfd2547c7 Drop spurious multhreading test
Per https://github.com/msgpack/msgpack-python/pull/641#discussion_r2315489310, sharing more than one `Packer` object is not supported.
2025-09-11 17:44:53 +00:00

11 lines
367 B
Cython

# coding: utf-8
# cython: embedsignature=True, c_string_encoding=ascii, language_level=3, freethreading_compatible=True
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"