Sat, 16 May 2015 20:39:38 +0200
Cédric Krier <[email protected]>:
>On 16 May 14:20, Udo Spallek wrote:
...
>> Is the use of ``get_singleton()`` recommended in module code or
>> better stay with config = Config(1)?
>Obviously it is not the recommended way.
>Indeed I don't see any advantage in using get_singleton but I see one
>for the current way, it prevent a search if the configuration is not
>used.

Ok, sounds reasonable. Is a patch welcome, removing get_singleton()
from code and doc?

Regards Udo

Attachment: pgpuP8dxCaW32.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to