AT
Size: a a a
AT
AT
bytes
как mp_bin было бы очень естественно. Наверное, надо под это опцию завести (чтобы не ломать обратную совместимость).AT
diff --git a/tarantool/request.py b/tarantool/request.py
index d1a5a82..3214bf3 100644
--- a/tarantool/request.py
+++ b/tarantool/request.py
@@ -79,26 +79,9 @@ class Request(object):
packer_kwargs = dict()
- # use_bin_type=True is default since msgpack-1.0.0.
- #
- # The option controls whether to pack binary (non-unicode)
- # string values as mp_bin or as mp_str.
- #
- # The default behaviour of the connector is to pack both
- # bytes and Unicode strings as mp_str.
- #
- # msgpack-0.5.0 (and only this version) warns when the
- # option is unset:
- #
- # | FutureWarning: use_bin_type option is not specified.
- # | Default value of the option will be changed in future
- # | version.
- #
- # The option is supported since msgpack-0.4.0, so we can
- # just always set it for all msgpack versions to get rid
- # of the warning on msgpack-0.5.0 and to keep our
- # behaviour on msgpack-1.0.0.
- packer_kwargs['use_bin_type'] = False
+ # XXX: Write an explanation here.
+ # XXX: Pass it from a connection constructor args.
+ packer_kwargs['use_bin_type'] = True
self.packer = msgpack.Packer(**packer_kwargs)
AT
SA
AK
OU
АД
АД
MF
MF
MF
АД
АД
АД
AM
MF
AT
ls -l /usr/lib*/libproj*
?AT
AT