durusmail: quixote-users: Session persistence for Quixote 2.0
Session persistence for Quixote 2.0
2005-05-26
2005-05-27
2005-05-27
2005-05-27
2005-05-27
2005-05-27
2005-05-27
2005-05-27
2005-05-28
2005-05-29
2005-05-29
2005-05-29
2005-05-28
2005-05-28
2005-05-29
2005-05-29
Sessions in mod_python (was [Quixote-users] Session persistence...
2005-05-29
Session persistence for Quixote 2.0
David M. Cooke
2005-05-27
On Fri, May 27, 2005 at 01:06:36AM -0400, Michele Simionato wrote:
> 3.  Exception("unimplemented") can be replaced with the built-in
>      NotImplemented ;)

While we're nitpicking :-) NotImplemented is the singleton returned (not
raised) by numeric methods (like __add__) and rich comparision methods
(__eq__ and friends) to indicate they don't handle the combination of
objects passed to them (see section 3.2 of the Language Reference). What
you want here is NotImplementedError (which is a subclass of Exception).

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm@physics.mcmaster.ca
reply