[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] PMT Python Bug

From: Johannes Schmitz
Subject: [Discuss-gnuradio] PMT Python Bug
Date: Tue, 06 Aug 2013 16:25:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

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}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]