2014-01-25 Guido van Rossum <[email protected]>:
>> I'm fine with a read-only property using a private _granularity attribute.
>
> Just make it a private _granularity attribute (like everything else in the
> event loop classes) -- I don't see a need for a read-only property.

Hum, I cannot find a usecase requiring granularity (outside the event
loop), so I agree to make it completly private. I just removed it from
the documentation too.

>> I tested: the unit test pass. I prefer your version because it is
>> simpler (it doesn't need the math module). See attached patch. Feel
>> free to commit it, or tell if I can push it.
>
> Please push it.

Done.

Victor

Reply via email to