Changeset b1b9c0d in git
- Timestamp:
- Jun 15, 2005, 1:56:48 PM (18 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- 9122086d5002d157fdfe81f44ea84f1836d551db
- Parents:
- aeb6d365075d1f830530abf950058c3afdc8f977
- Location:
- modules/openmathserver
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/openmathserver/binding.py
raeb6d3 rb1b9c0d 10 10 return lambdasym==sym 11 11 12 class OM binding(OMObjectBase):12 class OMBinding(OMObjectBase): 13 13 """hopefully fixed possible problems: reevaluation writes new scope, if it isn't 14 14 meant so, references do not work correctly because of scopes 15 solve this by first evaluation to bounded OM binding"""15 solve this by first evaluation to bounded OMBinding""" 16 16 def __init__(self, binder,variables,block): 17 super(OM binding,self).__init__()17 super(OMBinding,self).__init__() 18 18 self.block=block 19 19 self.binder=binder -
modules/openmathserver/cd.py
raeb6d3 rb1b9c0d 1 1 from objects import OMSymbol 2 2 from omexceptions import * 3 class OM cd(object):3 class OMCD(object): 4 4 def __init__(self,name, base="http://www.openmath.org/cd"): 5 5 self.name=name … … 13 13 return hash((self.name,self.base)) 14 14 15 class OM cdImplementation(object):15 class OMCDImplementation(object): 16 16 def __init__(self,cd): 17 17 self.cd=cd -
modules/openmathserver/omxmlreader.py
raeb6d3 rb1b9c0d 64 64 #print "cdbase", cdbase 65 65 if cdbase==None: 66 cd=OM cd(cdname)66 cd=OMCD(cdname) 67 67 else: 68 cd=OM cd(cdname,cdbase)68 cd=OMCD(cdname,cdbase) 69 69 erg=OMSymbol(name,cd) 70 70 if (node.nodeName=="OMA"):
Note: See TracChangeset
for help on using the changeset viewer.