Re: Python Object Systems

2014-08-14 Thread Michele Simionato
Il giorno mercoledì 13 agosto 2014 19:13:16 UTC+2, thequie...@gmail.com ha scritto: > What is the difference between traits and roles? People keep using the same names to mean different concepts. For me traits are the things described here: http://www.iam.unibe.ch/~scg/Archive/Papers/Scha03aTra

Re: Python Object Systems

2014-08-13 Thread thequietcenter
On Wednesday, August 13, 2014 4:32:04 AM UTC-4, Michele Simionato wrote: > Years ago I wrote strait: https://pypi.python.org/pypi/strait What is the difference between traits and roles? -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Object Systems

2014-08-13 Thread Michele Simionato
Years ago I wrote strait: https://pypi.python.org/pypi/strait I wonder who is using it and for what purpose, since surprisingly enough it has 50+ downloads per day. For me it was more of an experiment than a real project. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Object Systems

2014-08-11 Thread Mike C. Fletcher
On 14-08-11 04:26 PM, thequietcen...@gmail.com wrote: ... Hello, has anyone created a survey of Python Object Systems? The two I am aware of are: - elk https://github.com/frasertweedale/elk - Traits http://code.enthought.com/projects/traits/ Here's the ones from my talk at Pycon 2005

Re: Python Object Systems

2014-08-11 Thread Marko Rauhamaa
thequietcen...@gmail.com: > I personally get tired of manually assigning attributes in a > __init__() method. It's not all that bad. Just do it. Marko -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Object Systems

2014-08-11 Thread Mark Lawrence
On 11/08/2014 22:26, thequietcen...@gmail.com wrote: On Monday, August 11, 2014 5:09:35 PM UTC-4, Marko Rauhamaa wrote: Elk and Traits implement a C++-style object model on top of Python. The systems enforce member access, type constraints etc and result in ugly code that barely looks like P

Re: Python Object Systems

2014-08-11 Thread thequietcenter
On Monday, August 11, 2014 5:09:35 PM UTC-4, Marko Rauhamaa wrote: > > Elk and Traits implement a C++-style object model on top of Python. The > > systems enforce member access, type constraints etc and result in ugly > > code that barely looks like Python. I personally get tired of manually a

Re: Python Object Systems

2014-08-11 Thread Marko Rauhamaa
Skip Montanaro : > On Mon, Aug 11, 2014 at 3:26 PM, wrote: >> has anyone created a survey of Python Object Systems? > > For the uninitiated, can you back up a step and define what you mean > by an "object system"? Elk and Traits implement a C++-style object model o

Re: Python Object Systems

2014-08-11 Thread thequietcenter
On Monday, August 11, 2014 4:37:29 PM UTC-4, Skip Montanaro wrote: > On Mon, Aug 11, 2014 at 3:26 PM, wrote: > > > has anyone created a survey of Python Object Systems? > > > > For the uninitiated, can you back up a step and define what you mean > > by an &quo

Re: Python Object Systems

2014-08-11 Thread Skip Montanaro
On Mon, Aug 11, 2014 at 3:26 PM, wrote: > has anyone created a survey of Python Object Systems? For the uninitiated, can you back up a step and define what you mean by an "object system"? The term seems kind of broad for Google ( number of hits for CLOS, etc), and Wikipedia just

Python Object Systems

2014-08-11 Thread thequietcenter
(Cross-posted from http://www.reddit.com/r/Python/comments/2d9f7i/survey_of_python_object_systems/) Hello, has anyone created a survey of Python Object Systems? The two I am aware of are: - elk https://github.com/frasertweedale/elk - Traits http://code.enthought.com/projects/traits/ -- https