Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hyde/j2includebug


https://github.com/hyde/j2includebug

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

This demonstrates how mitsuhiko/jinja2#84 breaks certain includes.

Working
=======

```
mkvirtualenv j26
pip install jinja2==2.6
python gen.py
```

Output:

```

A


A, A, A

B


B, B, B

C


C, C, C
```

Breaking
========

```
mkvirtualenv j27
pip install jinja2==2.7
python gen.py
```

Error:

```
...
RuntimeError: maximum recursion depth exceeded while calling a Python object
```