Mercurial > pylearn
view exceptions.py @ 354:d580b3a369a4
dataset__call__() returns a FieldsSubsetDataSet, so still a subset of fields, but not cached any more. I added the function dataset.cached_fields_subset(self,*fieldnames) that returns the old version, cached, in case someone needs it. Current behaviour passes the tests.
author | Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca> |
---|---|
date | Thu, 19 Jun 2008 12:35:41 -0400 |
parents | ee11ed427ba8 |
children |
line wrap: on
line source
""" Common exceptions. @todo: This file should be part of a common/ python package. """ class AbstractFunction (Exception): """Derived class must override this function""" class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""