On Jul 4, 2013, at 5:15 PM, Mike Orr <sluggos...@gmail.com> wrote: > On Wed, Jul 3, 2013 at 10:21 PM, Tres Seaver <tsea...@palladion.com> wrote: >> -----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. > > Mike, how are you handling smart escaping without MarkupSafe in Mako > on 3.2? Are you falling back to the pre-MarkupSafe code?
yes it falls back to the old code. Apparently MarkupSafe also stringifies non-string values first, and the debugger in Pyramid relies upon this, so that is causing a widely reported error between all these systems. -- 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.