Пример #1
0
	def __init__(self, coerce=None):
		if coerce is None: coerce = lambda x: x
		self.coerce = coerce

		self.trees      = xcollections.weakcache()
		self.leaves     = xcollections.weakcache()

		self.cache      = {}
Пример #2
0
    def __init__(self, coerce=None):
        if coerce is None: coerce = lambda x: x
        self.coerce = coerce

        self.trees = xcollections.weakcache()
        self.leaves = xcollections.weakcache()

        self.cache = {}
Пример #3
0
    def __init__(self):
        self.opContext = util.canonical.CanonicalCache(OpContext)
        self.codeContext = util.canonical.CanonicalCache(CodeContext)
        self.cache = xcollections.weakcache()

        self.index = 0
Пример #4
0
	def __init__(self):
		self.cache = xcollections.weakcache()
		self._emptyset = self.cache[frozenset()]
Пример #5
0
 def __init__(self):
     self.cache = xcollections.weakcache()
     self._emptyset = self.cache[frozenset()]
Пример #6
0
	def __init__(self):
		self.opContext   = util.canonical.CanonicalCache(OpContext)
		self.codeContext = util.canonical.CanonicalCache(CodeContext)
		self.cache       = xcollections.weakcache()

		self.index = 0
Пример #7
0
	def __init__(self, create):
		self.create = create
		self.cache  = xcollections.weakcache()