Closed Sophist-UK closed 2 years ago
Ready for review.
I note that there are lots of raise exception statements without explanations. Before we merge this and create a new version, would you like me to go through and add explanations?
https://github.com/meerk40t/svgelements/tree/tatarize/pr117-b
Fixed a couple of the weirder repr tests. Added SVGImage with a redirect to Image and SVGText with a direct to Text. Might be a potentially breaking change. Still fails the repr_image since it lacks a few lines.
Additional raised crash information feels like another PR. There's also much harder housekeeping of converting most of the code to Python 3 with the typing values. Though I can likely push that off until after End-of-Life and simply do it for svgio when that I get to doing the core elements of that project.
Yes - I see the issue. For
repr
you cannot have hyphens in attribute names - forstr
you can.