Re: etree, gzip, and BytesIO

2021-01-21 Thread Kushal Kumaran
On Thu, Jan 21 2021 at 08:22:08 AM, Frank Millman wrote: > Hi all > > This question is mostly to satisfy my curiosity. > > In my app I use xml to represent certain objects, such as form > definitions and process definitions. > > They are stored in a database. I use etree.tostring() when storing >

etree, gzip, and BytesIO

2021-01-20 Thread Frank Millman
Hi all This question is mostly to satisfy my curiosity. In my app I use xml to represent certain objects, such as form definitions and process definitions. They are stored in a database. I use etree.tostring() when storing them and etree.fromstring() when reading them back. They can be quite