Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Python client submission

Hi Ian,

I agree and so do other people here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=406240

I already started reorganising the code.

Cheers,

Roger


On Tue, Apr 30, 2013 at 11:01 AM, Ian Craggs
<icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Roger,
>
> I would like the module to be paho.mqtt (with mqtt being a submodule of
> Paho).  Then, how many of the functions and other entities within that
> module actually have to be prefixed with anything?
>
> If you import paho, then you will get names such as "paho.mqtt.Client".
>
> "from paho import mqtt" will give you "mqtt.Client".
>
> "from paho.mqtt import *" will give you "Client" - that's your choice.
>
> Ian
>
>
> On 18/04/13 22:08, Roger Light wrote:
>>
>> Hi,
>>
>> The Python client submission has passed the initial CQ, with some
>> minor changes needed:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=403956
>>
>> One of the changes that isn't mentioned is the naming of the module
>> and functions, which are currently all mosquitto*.  I presume that
>> this does want changing! What should I change it to? Paho?
>>
>> Cheers,
>>
>> Roger
>> _______________________________________________
>> paho-dev mailing list
>> paho-dev@xxxxxxxxxxx
>> http://dev.eclipse.org/mailman/listinfo/paho-dev
>>
>
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top