Hi Bill, > > If someone could test it out and see what things need > correcting, especially > > that the charset work by Bill still is working as expected. > > I looked it over a bit, and didn't see anything that would raise a > flag. It looks like all the parser diffs were to PluckerDocs.py and > TextParser.py, right?
Yes. Just these two files. > I changed the string.atoi() calls to int() calls and updated the > docs/DBFormat.html doc. No problem. > I'd probably have used a mapping of standard > colornames to rgb values, instead of an if-elif tree. The color value > could perhaps be carried as a 3-ple (R, G, B) instead of a string? Very reasonable. Please feel free to modify/improve as you see fit, as I am not much of a python wizard. If you pass everything around as a 3-ple, you can chop out the itoa function from PluckerDocs.py. When you are satisfied with the strategy, can recycle the derived strategy for backcolor support as some later point, if needed/requested. Best wishes, Robert
