Standalone Python functions in UML?

bruno at modulix onurb at xiludom.gro
Wed Apr 5 05:04:11 EDT 2006


Ravi Teja wrote:
(snip)
> 
>> And probably Python is too dynamic for UML. That is another reason
> rountrip tools aren't there.
> 
> 
> As you probably already know, UML diagrams are structural and
> behavioural (plus interactional with 2.0). Round trip tools only model
> structural diagrams. Python is dynamic but only once the program starts
> executing :-). Even though Python classes "can" change, they do so only
> at runtime 

Well, you can have a lot of things happening during the import stage. Is
this 'runtime' or not ?-)

And you can actually *create* (not 'change') classes at runtime too.

> So dynamism of Python should not be as
> much of an issue. 

Not so sure about this.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list