FS#54882 - [python-msgpack] 'strict_types' argument not accepted

Attached to Project: Community Packages
Opened by Ric (invik) - Thursday, 20 July 2017, 00:20 GMT
Last edited by Johannes Löthberg (demize) - Saturday, 22 July 2017, 15:02 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using package community/python-msgpack 0.4.8-2, msgpack.Packer produces errors when using argument "strict_types", which is part of the documented api at http://msgpack-python.readthedocs.io/en/latest/api.html.


When package is manually downloaded and from git repository at https://github.com/msgpack/msgpack-python, "strict_types" argument is accepted and works as expected.


Steps to reproduce:

From a python3.6.1 shell:

>>> import msgpack
>>> msgpack.Packer(strict_types=1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "msgpack/_packer.pyx", line 84, in msgpack._packer.Packer.__init__ (msgpack/_packer.cpp:1242)
TypeError: __init__() got an unexpected keyword argument 'strict_types'


This task depends upon

Closed by  Johannes Löthberg (demize)
Saturday, 22 July 2017, 15:02 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The strict_types has not been part of any msgpack release.

Loading...