Alexandre Detiste
c4afb785f2
Update the benchmarks to support Python 3.13 (the "cgi" module was removed in 3.13) ( #90 )
2024-11-16 19:31:55 +01:00
Simon Cross
e4fd2c8125
Merge branch 'master' into drd/i18n-ctxt
2021-05-02 22:20:31 +02:00
Felix Schwarz
ba15e0ede8
use Python 3-compatible syntax in various places
2020-06-14 22:20:44 +02:00
Felix Schwarz
2c8cf1fab6
examples: use "print()" function
2020-06-14 22:20:44 +02:00
Felix Schwarz
4f414c0390
use "except … as e" instead of deprecated Python 2 syntax
...
This is a Python 2.6+ feature so it breaks compatibility with Python 2.4/2.5
(assuming this library did work with these ancient releases so far).
However this is necessary to use a unified source for Python 2 and Python 3.
2020-06-14 22:20:44 +02:00
Eric O'Connell
d9d45bd1bc
Add support for msgctxt to i18n
2018-09-01 12:36:21 -07:00
Simon Cross
a6a5800574
Skip mako benchmark if Mako isn't installed.
2013-01-26 10:52:08 +00:00
Christopher Lenz
f88e2142d3
Merged soc2008-xpath branch back into trunk.
2009-03-11 17:03:03 +00:00
Christopher Lenz
e0ef96f707
Remove the outdated and unmaintained !TurboGears example.
2009-03-09 16:15:22 +00:00
Christopher Lenz
ce4a0a2e2b
Switch profiling in the benchmarks to cProfile.
2009-03-09 16:14:43 +00:00
Christopher Lenz
438dbaa2e7
Remove obsolete webpy example.
2008-06-17 15:42:38 +00:00
Christopher Lenz
e8fe46d15b
Fix compatibility of tutorial code with CherryPy 3.1. Closes #159 .
2007-12-05 23:16:50 +00:00
Christopher Lenz
9b9c9fc0e5
Fix typo in benchmark info output.
2007-11-22 19:18:34 +00:00
Christopher Lenz
dd194e1ddf
Remove CherryPy example as the GenshiTutorial is a better example for using Genshi with CherryPy.
2007-09-05 16:51:46 +00:00
Christopher Lenz
55683658df
GenshiTutorial: add body class to show that the ''@*'' XPath in the match template works.
2007-09-05 12:39:56 +00:00
Christopher Lenz
b15f25fd55
GenshiTutorial: remove !EvalException left-over
2007-09-04 20:49:32 +00:00
Christopher Lenz
5a0f334000
GenshiTutorial: implement the XSS section.
2007-09-04 19:20:46 +00:00
Christopher Lenz
a3ea8a8760
GenshiTutorial: Remove transparency from the logo.
2007-09-04 15:36:33 +00:00
Christopher Lenz
1aac8fbb64
GenshiTutorial: tweaks to sync with code on wiki page.
2007-09-03 19:59:03 +00:00
Christopher Lenz
bd3f32ab71
GenshiTutorial: minor tweaks to sync with Wiki page.
2007-08-31 23:13:27 +00:00
Christopher Lenz
695b0a0dfe
Remove some obsoluete, unmaintained examples.
2007-08-31 21:28:45 +00:00
Christopher Lenz
df6d38da75
GenshiTutorial: implemented AJAX commenting.
2007-08-31 17:01:00 +00:00
Christopher Lenz
1c128287f2
Use packed version of jQuery to workaround !CherryPy bug [ http://www.cherrypy.org/ticket/598 #598 ].
2007-08-31 16:58:30 +00:00
Christopher Lenz
f0539099a4
GenshiTutorial: Minor updates to Atom feed templates.
2007-08-30 23:01:49 +00:00
Christopher Lenz
3912d92c93
GenshiTutorial: add Atom feeds.
2007-08-30 22:49:48 +00:00
Christopher Lenz
a1a228eb65
Use system default date/time format in templates.
2007-08-30 19:09:28 +00:00
Christopher Lenz
5224df2445
GenshiTutorial: remove obsolete template.
2007-08-30 17:12:45 +00:00
Christopher Lenz
05a5c1ab56
GenshiTutorial: various updates to sync with wiki page.
2007-08-30 14:19:59 +00:00
Christopher Lenz
60b345805f
Simplify the tutorial project: comments are now flat, not hierarchical.
2007-08-30 09:08:06 +00:00
Christopher Lenz
a4deab80d7
GenshiTutorial: use form filler on comment/reply views.
2007-08-29 20:51:39 +00:00
Christopher Lenz
f0f2ad3435
GenshiTutorial: make URLs dynamic so that the app could theoretically be mounted on some other SCRIPT_NAME.
2007-08-29 20:12:54 +00:00
Christopher Lenz
56a506f6a0
GenshiTutorial: fix storing of submissions.
2007-08-29 19:34:39 +00:00
Christopher Lenz
a7b404e7f6
Add current code for GenshiTutorial to the examples directory.
2007-08-29 17:51:45 +00:00
Christopher Lenz
f5c2527efa
Add runtime optimization hints for match templates.
2007-08-23 11:35:43 +00:00
Christopher Lenz
b5949426bf
Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
2007-08-13 12:40:56 +00:00
Christopher Lenz
bc233d4864
Replace Myghty by Mako in bigtable benchmark, apply escaping in Mako templates.
2007-06-28 18:12:15 +00:00
Christopher Lenz
c3ecff0f4d
Exclude broken Cheetah benchmark by default, include SimpleTAL instead.
2007-06-28 18:05:39 +00:00
Christopher Lenz
ed7de32f5a
Replace Myghty by Mako in basic benchmark.
2007-06-28 17:32:19 +00:00
Christopher Lenz
8d1c5e9d34
Improve basic benchmark for Kid by storing the template class outside the render function. Closes #96 .
2007-05-21 09:11:36 +00:00
Christopher Lenz
0fbd3f0560
Fix undefined error in TurboGears example app, and some cleanup.
2007-04-11 11:02:02 +00:00
Christopher Lenz
5753f2b945
* Updated change log
...
* Updated CherryPy example to 3.0
2007-03-22 18:54:09 +00:00
Christopher Lenz
5948ab5305
Renamed genshi.template.core to genshi.template.base, mainly to avoid confusion with genshi.core.
2007-01-18 14:58:39 +00:00
Christopher Lenz
1d8ec68979
Updated WebPy example for 0.2.
2006-12-06 18:20:11 +00:00
Christopher Lenz
3057b7e0d8
Make Attrs instances immutable.
2006-11-10 15:27:36 +00:00
Christopher Lenz
972195ce0c
* Fixed basic.py benchmark on Windows, closing #72 . Thanks to John M. Camara for reporting the issue and providing the fix.
...
* Changed `bigtable.py` benchmark so that `cElementTree` and `ElementTree` are no longer required to run it.
2006-11-07 14:28:02 +00:00
Christopher Lenz
7471f3cd50
Forgot to add myghty templates for [393].
2006-10-24 16:44:32 +00:00
Christopher Lenz
92698a71a8
Add [ http://www.myghty.org/ Myghty] to the benchmarks, kindly contributed by Mike Bayer.
2006-10-24 16:27:41 +00:00
Christopher Lenz
30560ba1bc
Still too much whitespace in the [WebPy web.py] example. Switch to printing the whole output at once.
2006-09-27 09:22:46 +00:00
Christopher Lenz
7f2b59650e
The [WebPy web.py] example was generating extraneous line breaks.
2006-09-27 09:20:45 +00:00
Christopher Lenz
cbeb1edef2
Add [WebPy web.py] example app.
2006-09-25 13:26:42 +00:00