protobuf-to-dict icon indicating copy to clipboard operation
protobuf-to-dict copied to clipboard

Use of long causes issues with newer python versions

Open DrewParallel opened this issue 7 years ago • 3 comments

I'm using python 3.5.1.

Including the protobuf_to_dict in my code as follows: from protobuf_to_dict import protobuf_to_dict

Causes the following error: NameError: name 'long' is not defined

DrewParallel avatar Jul 12 '17 01:07 DrewParallel

I agree. This now blows up immediately on import in python 3.6

tommyjcarpenter avatar Jan 04 '18 16:01 tommyjcarpenter

This fork seems to solve the problem: https://github.com/kaporzhu/protobuf-to-dict

syats avatar Feb 02 '18 15:02 syats

A kind soul created protobuf3-to-dict: https://pypi.python.org/pypi/protobuf3-to-dict/0.1.5

It seems to work for me.

evictor avatar Feb 23 '18 22:02 evictor