Пример #1
0
 def make_superdict(self, machine=None):
     msg = 'make_superdict is not really ready yet'
     warnings.warn(msg, NotReadyYetWarning, stacklevel=3)
     if machine is None:
         self._check_machine_set()
         machine = self.current_machine
     clause = self._machine_clause_(machine=machine)
     # due to limitations in the Environment class
     # we need to temporarily set the machine
     # to the value of the machine argument, then
     # set it back before returning the superdict
     current_machine = self.current_machine
     self.set_machine(machine)
     superdict = Environment._make_superdict_(self, clause)
     self.set_machine(current_machine)
     return  superdict
Пример #2
0
 def make_superdict(self, machine=None):
     msg = 'make_superdict is not really ready yet'
     warnings.warn(msg, NotReadyYetWarning, stacklevel=3)
     if machine is None:
         self._check_machine_set()
         machine = self.current_machine
     clause = self._machine_clause_(machine=machine)
     # due to limitations in the Environment class
     # we need to temporarily set the machine
     # to the value of the machine argument, then
     # set it back before returning the superdict
     current_machine = self.current_machine
     self.set_machine(machine)
     superdict = Environment._make_superdict_(self, clause)
     self.set_machine(current_machine)
     return superdict
Пример #3
0
 def _make_superdict_(self):
     clause = self._mtype_clause()
     return Environment._make_superdict_(self, clause)
Пример #4
0
 def _make_superdict_(self):
     clause = Eq('profile', self.profile)
     return Environment._make_superdict_(self, clause)
Пример #5
0
 def _make_superdict_(self):
     clause = Eq('profile', self.profile)
     return Environment._make_superdict_(self, clause)
Пример #6
0
 def _make_superdict_(self):
     clause = self._mtype_clause()
     return Environment._make_superdict_(self, clause)
Пример #7
0
 def _make_superdict_(self):
     clause = self._machine_clause_()
     return Environment._make_superdict_(self, clause)
Пример #8
0
 def _make_superdict_(self):
     clause = self._machine_clause_()
     return Environment._make_superdict_(self, clause)
Пример #9
0
 def _make_superdict_(self):
     msg = "_make_superdict_ is not really ready yet"
     warnings.warn(msg, NotReadyYetWarning, stacklevel=3)
     clause = self._machine_clause_()
     return Environment._make_superdict_(self, clause)
Пример #10
0
 def _make_superdict_(self):
     msg = "_make_superdict_ is not really ready yet"
     warnings.warn(msg, NotReadyYetWarning, stacklevel=3)
     clause = self._machine_clause_()
     return Environment._make_superdict_(self, clause)