Mind this is not thread safe. On Mar 14, 7:22 pm, DenesL <[email protected]> wrote: > Thanks for the explain Yarko, this could go in the new wiki. > > That is the understanding I had, my problem was to think about a class > only as an instance factory and not as an object itself, which can > also track the objects that have been instanced by it. > > A simplified model of it would be: > > class K: > inst=[] > def __init__(self): > K.inst.append(self) > > Back to views now... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---
- [web2py:17981] Re: the need for an ID field DenesL
- [web2py:17983] Re: the need for an ID field mdipierro
- [web2py:17984] Re: the need for an ID field DenesL
- [web2py:17996] Re: the need for an ID field Yarko Tymciurak
- [web2py:18003] Re: the need for an ID field mdipierro
- [web2py:18007] Re: the need for an ID field Yarko Tymciurak
- [web2py:18010] Re: the need for an ID field DenesL
- [web2py:18012] Re: the need for an ID field Yarko Tymciurak
- [web2py:18019] Re: the need for an ID field Yarko Tymciurak
- [web2py:18045] Re: the need for an ID field DenesL
- [web2py:18047] Re: the need for an ID field mdipierro
- [web2py:18031] Re: the need for an ID field mdipierro
- [web2py:18042] Re: the need for an ID field Yarko Tymciurak
- [web2py:18095] Re: the need for an ID field DenesL
- [web2py:18099] Re: the need for an ID field mdipierro
- [web2py:17993] Re: the need for an ID field Yarko Tymciurak
- [web2py:17971] Re: the need for an ID field mdipierro
- [web2py:17974] Re: the need for an ID field Yarko Tymciurak
- [web2py:17913] Re: the need for an ID field aspersieman

