When I go to pmt and back to Python with a dict ints are converted to long. Is that on purpose?

import pmt

a = {'asdf': 34, 'qwer': 3.7}

In [26]: pmt.to_python(pmt.to_pmt(a))
Out[26]: {'asdf': 34L, 'qwer': 3.7}

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to