[Zope-Checkins] CVS: Zope2 - 010620-2.4-btreeconflict.stx:1.1

Matthew T. Kromer matt@digicool.com
Wed, 20 Jun 2001 10:48:51 -0400 (EDT)


Update of /cvs-repository/Zope2/doc/changenotes
In directory korak.digicool.com:/tmp/cvs-serv8506/doc/changenotes

Added Files:
	010620-2.4-btreeconflict.stx 
Log Message:
Raise ZODB.POSException.ConflictError inside of resolveConflict routines
instead of any other error that may be raised.



--- Added File 010620-2.4-btreeconflict.stx in package Zope2 ---
CHANGE
	
	010620-2.4-btreeconflict

DEVELOPMENT BRANCH TAG

	(trunk)

DESCRIPTION

	This change makes BTree conflict resolutions raise ConflictError
	when persistence is active at compile time.

AFFECTED MODULES

	- BTrees/MergeTemplate.c

	- BTrees/BTreeModuleTemplate.c

	- BTrees/BucketTemplate.c

	- BTrees/BTreeTemplate.c

API CHANGES

	None.

NONAPI CHANGES

	The master module template BTreeModuleTemplate will now import
	ConflictError from ZODB.POSException.

	ConflictError is raised in merge_error instead of ValueError.
	(arguably redundant with the below)

	bucket_p_resolveConflict and BTree_p_resolveConflict will 
	replace any error that is raised if they return NULL with a Conflict
	Error.