Re: [Tutor] Object instance package wide with Jython 2.7

2014-06-26 Thread Dave Angel
"Jorge L." Wrote in message: (please post in text mode, as html carries a number of problems in a text list like this one) class Server(object) def __init__(self, name) self.name = name def some_operation(self) # stuff to be done with JLI

[Tutor] Object instance package wide with Jython 2.7

2014-06-26 Thread Jorge L.
To avoid duplicated work: This a cross posting of a SE question: http://programmers.stackexchange.com/questions/246161/object-attribute-needed-at-package-level-with-python Let's consider the following scenario. We have a Python 2.7 package which serves as a library for some scripting projects. W