id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc
157	pyyaml-3.09 dumps core	rich@…	xi	"I'm not sure how to provide a small demonstration here.

In the ""spread"" module, (SpreadModule on pypi), there is a type spread.MembershipMsg which contains a ""group_id"", spread.MembershipMsg.group_id.  The group_id is an opaque type.  I'm not sure how to generate one of these easily aside from bringing up a spread system, which seems like overkill.

In any case, attempting to serialize this opaque type with pyyaml results in a python core dump.

I recognize that pyyaml can't possibly know how to serialize or unserialize this sort of object.  However, I think that attempting to do so should result in a suitable exception rather than an interpreter core dump.

I'll find another way around my problem.  But chasing down this dump took me a couple of days.  If it had been an exception, I'd have found the problem in minutes."	defect	closed	normal	pyyaml	critical	invalid		rich@…
