chameleon icon indicating copy to clipboard operation
chameleon copied to clipboard

Fast HTML/XML template engine for Python

Results 30 chameleon issues
Sort by recently updated
recently updated
newest added

Just importing pkg_resources becomes slower and slower the more packages are installed. Even on fast machines with SSDs this can add a second or more to the startup time.

To iterate over a list, you can access the repeat variable by referencing the iteration item variable name: ```html Even Odd ``` However it doesn't seem possible to access the...

feature

In Zope PageTemplates there is a handy method called "find_bad_templates", which does the obvious: traverse through all PageTemplates in a Folder and listing those, where the "_cook" method fails. However,...

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...

``` File "../lib/python3.8/site-packages/chameleon/exc.py", line 321, in __call__ exc = create_formatted_exception(exc, type(exc), exc._original__str__) File "../lib/python3.8/site-packages/chameleon/utils.py", line 227, in create_formatted_exception inst = cls.__new__(new) TypeError: BaseException.__new__(SyntaxError) is not safe, use SyntaxError.__new__() ``` ```...

Working on the integration of `zope.tales` expressions with `chameleon`, I noticed that some expressions use `Scope.vars.get`. Like other `dict` methods, this method knows nothing about `_root` and therefore may miss...

core

`Pathlib` (https://docs.python.org/3/library/pathlib.html) was introduced in Python 3.4, I'm suggesting adding support for it when handling file paths in `chameleon`. The benefit of using `pathlib.Path` is user-friendly interface for OS-independent path...

feature

I use chameleon and pyramid in a small project with i18n tags for translation. I did the project a year ago and back than i simply run python setup.py extract_messages...

feature

When using a recursive structure such as below, the repeat.item.number and index don't appear to behave in a sane way. I'm not sure why they decrement once, then stay the...

core
bug

Structuring a list of dicts breaks with five.pt (version 2.2.1) but works with zpt. ``` ...stuff... ``` ``` 2013-05-03 13:22:53 ERROR Zope.SiteErrorLog 1367580173.450.957745445615 http://lf40035:8080/site_gvp/glossar/folder_az_view Traceback (innermost last): Module ZPublisher.Publish, line...

feature