def close(self):
		'''关闭与数据库的连接'''
		if VERBOSE:
			print 'Database connection CLOSE.'
		self.conn.close()
def remove_item(self, item):
    if (self._locker.is_unlocked("prevent_removal_below_min_size")
        and len(self._items) == self._min_size):
      return