summaryrefslogtreecommitdiff
path: root/pygments/lexers/python.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix most complaints from regexlint.Georg Brandl2016-02-141-26/+38
|
* Add tokens for string affixes and heredoc delimiters. Add lexing for them in ↵Miikka Salminen2016-02-061-10/+10
| | | | C/C++, Perl, PHP, Python and Ruby. Update my old style Lovelace accordingly.
* Merged birkenfeld/pygments-main into defaultMiikka Salminen2016-02-031-1/+68
|\
| * Merged birkenfeld/pygments-main into defaultMiikka Salminen2016-01-201-1/+68
| |\
| | * Added support and documentation for magic method and variable tokens. ReflectedMiikka Salminen2015-10-231-1/+68
| | | | | | | | | | | | | | | this change in an updated version of my older style, Lovelace. Added Python lexing for Python's magic methods and variables.
* | | Fixed new style string interpolation for Python 3.Miikka Salminen2016-01-181-17/+22
|/ /
* | Some Cython fixes. (refs #1193)Georg Brandl2016-01-161-1/+3
| |
* | Merged in chebee7i/pygments-main/lexer_comments (pull request #253)Tim Hatch2015-10-311-2/+4
|/ | | | (with conflicts resolved)
* Closes #1146: add "unsigned" as a cython builtin.Georg Brandl2015-10-171-8/+9
|
* Closes #685: use String.{Single,Double} in Python lexer.Georg Brandl2015-10-171-32/+33
|
* Python: add async, await, matmul opGeorg Brandl2015-08-081-4/+5
|
* Closes #1088: add ResourceWarning.Georg Brandl2015-03-081-1/+1
|
* The new style string formatting now works correctly with multiple ↵Miikka Salminen2015-03-081-4/+4
| | | | occurrences of interpolation fields in one string, and erroneous fields are handled properly.
* Merged birkenfeld/pygments-main into defaultMiikka Salminen2015-03-081-1/+10
|\
| * Added support for the (still valid) old style string interpolation along ↵Miikka Salminen2015-03-071-1/+10
| | | | | | | | with the new style string formatting to the Python 3 lexer.
* | Merged in miikkas/pygments-hashbangtokens (pull request #457)Georg Brandl2015-03-081-1/+2
|\ \ | | | | | | | | | A new token type Comment.Hashbang
| * | Added a new token type Comment.Hashbang with its documentation, and a ↵Miikka Salminen2015-03-071-1/+2
| |/ | | | | | | support for it in Javascript, Perl, Python, Ruby and Bash lexers.
* | Moved True, False and None to Keyword.Constant.Miikka Salminen2015-03-071-1/+4
|/
* Copyright year update.Georg Brandl2015-01-211-1/+1
|
* Fix Python tracebacks getting duplicated in the console lexer (closes #1068).Georg Brandl2015-01-201-0/+1
|
* Simplify charclasses in a few more modulesGeorg Brandl2014-11-061-1/+1
|
* Curly brace escaping, round 1.Tim Hatch2014-10-151-3/+3
| | | | | These locations were all found by regexlint and done semi-manually, leaving braces within [] alone (they aren't special in the 'regex' module).
* Closes #874: do not swallow incomplete tracebacks in the Python console lexer.Georg Brandl2014-10-071-0/+3
|
* misc fixups in math.py and jvm.pyGeorg Brandl2014-09-201-1/+96
|
* move Hy to lisp, use words() in python.pyGeorg Brandl2014-09-161-181/+92
|
* split up agile.py into individual modulesGeorg Brandl2014-09-161-5/+633
|
* split up lexers.compiled into multiple submodulesGeorg Brandl2014-09-161-0/+196