-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/03/2013 11:12 PM, Mike Orr wrote:
> The thing is, WebHelpers has always tried to avoid dependencies so > that it can be used in the widest variety of use cases. It now > depends on MarkupSafe because that's a small best-of-breed security > enhancement. And I found some hidden dependencies on Pylons and > Routes that I've now eradicated. FWIW, MarkupSafe is deliberately incompatible with Python 3.2: the maintainer is stonewalling a trivial pull request restoring compatibility to leverage its users to drop 3.2 and adopt 3.3: https://github.com/mitsuhiko/markupsafe/pull/13 For my money, that zeroes out any "best of breed" stamp it might otherwise have. YMMV, of course. > Lxml to me seems large, whether that's accurate or not. And > WebHelpers' need is just for a small thing, and it would use only 5% > of lxml's features. I may make an HTML class with a basic Python > back end, and a subclass that uses lxml if available. (Leaving aside my joke at Mac users' expense) I reach for lxml the minute I need anything more than triple-quoted strings and percent format variables to generate XML (or when I do *any* parsing at all). It truly *is* best-of-breed in this space, sitting atop libxml2 / libxslt which are the definiitive open source libraries for XML. Again, YMMV. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlHVBmsACgkQ+gerLs4ltQ7cqgCgsb6tXf/E/cueyco28kldeWeO KnoAoMvk1Te2aysabJJqOGzBhFrta2mO =fdPi -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/groups/opt_out.