Changeset b1b9c0d in git


Ignore:
Timestamp:
Jun 15, 2005, 1:56:48 PM (18 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
9122086d5002d157fdfe81f44ea84f1836d551db
Parents:
aeb6d365075d1f830530abf950058c3afdc8f977
Message:
*bricken: refactoring


git-svn-id: file:///usr/local/Singular/svn/trunk@8373 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
modules/openmathserver
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • modules/openmathserver/binding.py

    raeb6d3 rb1b9c0d  
    1010    return lambdasym==sym
    1111   
    12 class OMbinding(OMObjectBase):
     12class OMBinding(OMObjectBase):
    1313    """hopefully fixed possible problems: reevaluation writes new scope, if it isn't
    1414       meant so, references do not work correctly because of scopes
    15        solve this by first evaluation to bounded OMbinding"""
     15       solve this by first evaluation to bounded OMBinding"""
    1616    def __init__(self, binder,variables,block):
    17         super(OMbinding,self).__init__()
     17        super(OMBinding,self).__init__()
    1818        self.block=block
    1919        self.binder=binder
  • modules/openmathserver/cd.py

    raeb6d3 rb1b9c0d  
    11from objects import OMSymbol
    22from omexceptions import *
    3 class OMcd(object):
     3class OMCD(object):
    44    def __init__(self,name, base="http://www.openmath.org/cd"):
    55        self.name=name
     
    1313        return hash((self.name,self.base))
    1414
    15 class OMcdImplementation(object):
     15class OMCDImplementation(object):
    1616    def __init__(self,cd):
    1717        self.cd=cd
  • modules/openmathserver/omxmlreader.py

    raeb6d3 rb1b9c0d  
    6464            #print "cdbase", cdbase
    6565            if cdbase==None:
    66                 cd=OMcd(cdname)
     66                cd=OMCD(cdname)
    6767            else:
    68                 cd=OMcd(cdname,cdbase)
     68                cd=OMCD(cdname,cdbase)
    6969            erg=OMSymbol(name,cd)
    7070        if (node.nodeName=="OMA"):
Note: See TracChangeset for help on using the changeset viewer.