On 18 May 16:08, Udo Spallek wrote:
> Sat, 16 May 2015 20:39:38 +0200
> Cédric Krier <cedric.kr...@b2ck.com>:
> >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?

Why?



-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgp7t2z4zn_iz.pgp
Description: PGP signature

Reply via email to