summaryrefslogtreecommitdiff
path: root/pygments/lexers/python.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged in ↵Anteru2018-12-071-17/+18
|\ | | | | | | | | | | cocoatomo/pygments-main-1/cocoatomo/insert-exception-names-added-in-python-v-1490751933833 (pull request #715) Insert exception names added in Python version 3.5 and 3.6.
| * Merge heads.Georg Brandl2018-11-281-10/+10
| |\
| | * Fix remaining 'DeprecationWarning: invalid escape sequence' occurrences in ↵Andreas Kloeckner2018-06-191-10/+10
| | | | | | | | | | | | lexer files
| * | Remove duplicated number definition.Matth?us G. Chajdas2018-11-271-14/+6
| | |
| * | Merged in kevinastone/pygments-main (pull request #720)Anteru2018-11-271-1/+1
| |\ \ | | | | | | | | | | | | Added pep 515 support to the python lexer
| | * | Highlight %a in Python3LexerPurpleMyst2017-07-231-1/+1
| | |/
| * | Fixed missing complex float caseKevin Stone2017-05-021-1/+1
| | |
| * | Added pep 515 support to the python lexerKevin Stone2017-05-021-0/+9
| |/ | | | | | | Fixes #1299
* | Insert exception names added in Python version 3.5 and 3.6.cocoatomo2017-03-291-3/+3
|/
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+939
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.