Peter A. Bigot - 2012-02-25
  • status changed from new to closed
  • resolution set to fixed

commit 241de20cf735ffe9eb49bec48da5e2157876e8e8
Author: Peter A. Bigot <pabigot@…>
Date: Sat Feb 25 14:48:45 2012 -0600

trac/121: PyXB elementary data types do not play well with copy/pickling/...

The datetime classes use a pickle format which is a packed structure, but
call the class new method to unpack it. PyXB's schema date/time
datatypes expect string constructor parameters to be lexical values. Define
a reduce method that produces the lexical value as the pickle format.