Changes:
* fix: boolen test works even for sqlite results (tx Emyr Thomas for the idea)
* fix issue with loop.xx variables in templetor (Bug#476708)
* hide unwanted tracebacks in debugerror
* display correct template line numbers in debugerror
* new utilities: counter, safeiter, safewrite, requeue, restack (by
Aaron Swartz)
* various form.py fixes and improvements
* automatically escape % characters in the db query (Bug#516516)
* fix non-deterministic template order (Bug#490209)
* attachment support for web.sendmail (tx gregglind)
* template.py optimizations and extension support
I'm quite excited about the template improvements and extension support.
Please test this with your software and let me know if something breaks.
Anand
--
You received this message because you are subscribed to the Google Groups "web.py" group.
To post to this group, send email to we...@googlegroups.com.
To unsubscribe from this group, send email to webpy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
I'm not sure what you mean by specific to an application.
In web.py 0.33, the following query would fail.
>>> db.query("SELECT * FROM thing WHERE key LIKE 'foo%'")
ERR: SELECT * FROM thing WHERE key LIKE 'foo%'
Traceback (most recent call last):
...
IndexError: list index out of range
The work around was to escape % with %%.
>>> db.query("SELECT * FROM thing WHERE key LIKE 'foo%%'")
0.22 (1): SELECT * FROM thing WHERE key LIKE 'foo%'
<web.utils.IterBetter instance at 0x16676e8>
In 0.34 this has been fixed.
>>> db.query("SELECT * FROM thing WHERE key LIKE 'foo%'")
0.0 (1): SELECT * FROM thing WHERE key LIKE 'foo%'
<web.utils.IterBetter instance at 0x1667580>
%% works still to provide backward-compatibility.
>>> db.query("SELECT * FROM thing WHERE key LIKE 'foo%%'")
0.0 (1): SELECT * FROM thing WHERE key LIKE 'foo%'
<web.utils.IterBetter instance at 0x16676e8>
Does this answer your question?
--
anyone have the link? bueller? bueller?
On Mar 11, 4:11 pm, kevin <kevincastigli...@gmail.com> wrote:
> thanks for the release!
>
> On Wed, Mar 10, 2010 at 10:41 PM, Anand Chitipothu <anandol...@gmail.com>wrote:
>
>
>
> > web.py 0.34 is ready for release.
>
> > Changes:
>
> > * fix: boolen test works even for sqlite results (tx Emyr Thomas for the
> > idea)
> > * fix issue with loop.xx variables in templetor (Bug#476708)
> > * hide unwanted tracebacks in debugerror
> > * display correct template line numbers in debugerror
> > * new utilities: counter, safeiter, safewrite, requeue, restack (by
> > Aaron Swartz)
> > * various form.py fixes and improvements
> > * automatically escape % characters in the db query (Bug#516516)
> > * fix non-deterministic template order (Bug#490209)
> > * attachment support for web.sendmail (tx gregglind)
> > * template.py optimizations and extension support
>
> > I'm quite excited about the template improvements and extension support.
>
> > Please test this with your software and let me know if something breaks.
>
> > Anand
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "web.py" group.
> > To post to this group, send email to we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > webpy+un...@googlegroups.com <webpy%2Bunsu...@googlegroups.com>.
Thanks for release thing. Maybe I should have poked a little
earlier.
Also, can you tag it in github? Did you decide not to use my patch to
allow filepaths as attachments?
G.
To unsubscribe from this group, send email to webpy+un...@googlegroups.com.
Erwin
Just curious: When do you plan to release 0.34?
There seems to be only one open bug: 119356.
> Changes:
...
I decided to use it and pushed your patch.
Anand