On Tue, Mar 1, 2011 at 12:24 PM, Hartmut Goebel <h.goe...@goebel-consult.de>wrote:
> Am 01.03.2011 10:19, schrieb nap: > > More sériously, we create ALL our properties with this dict, even > > running one, so list, dict and other pointers we need. Of course we do > > not use THIS [] because every one share it, that why in item::__init__ > > we copy the values. > Parton? I do not understand this at all. > > Are these properties meant to hold strings, lists of strings, numbers, > universes or black holes? > So these should be either StringProp, ListProp, NumberProp, UniversProp > or BlackHoleProp. But never ever a StringProp with an empty list as an > default. A StringProp can not hold a list -- this contradicts teh > semantics expressed by the name "StringProp". > > So again my question: What type of property is this? > None of them, that why we need the raw one. Or Maybe we can rename ListProp To StringListProp and the ListProp will be the default [] (and we can have a dict too). Jean > -- > Schönen Gruß - Regards > Hartmut Goebel > Dipl.-Informatiker (univ.), CISSP, CSSLP > > Goebel Consult > Spezialist für IT-Sicherheit in komplexen Umgebungen > http://www.goebel-consult.de > > Monatliche Kolumne: http://www.cissp-gefluester.de/ > Goebel Consult mit Mitglied bei http://www.7-it.de > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Shinken-devel mailing list > Shinken-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shinken-devel > >
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel