summaryrefslogtreecommitdiff
path: root/sqlparse/tokens.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notice.Andi Albrecht2020-10-071-1/+1
|
* Remove support for end-of-life PythonsJon Dufresne2020-08-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.7 and 3.4 are end-of-life. They are no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01 and 3.4 on 2019-03-18. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards modern Python 3. Using pypinfo, we can show the PyPI download statistics, showing less than 10% of users are using Python 2.7. | python_version | percent | download_count | | -------------- | ------: | -------------: | | 3.7 | 45.36% | 3,056,010 | | 3.6 | 26.46% | 1,782,778 | | 3.8 | 12.22% | 823,213 | | 2.7 | 9.97% | 671,459 | | 3.5 | 5.86% | 394,846 | | 3.4 | 0.10% | 6,700 | | 3.9 | 0.03% | 2,346 | | 2.6 | 0.00% | 57 | | 3.3 | 0.00% | 21 | | 3.10 | 0.00% | 6 | | Total | | 6,737,436 | Library users who continue to use Python 2.7 will still be able to install previous versions of sqlparse. Compatibility shims have been dropped, simplifying the code. Using pyupgrade, the codebase has been updated to take advantage of modern syntax <https://github.com/asottile/pyupgrade>. The wheel is no longer marked as "universal" as it is now Python 3 only.
* Avoid formatting of psql commands (fixes #469).Andi Albrecht2019-03-111-1/+1
|
* Update copyright header (fixes #372).Andi Albrecht2018-07-311-1/+2
|
* Fix typostypoVictor Uriarte2017-11-291-2/+2
|
* Revert "Fix test failure on Python 3.6 (fixes #286)."Andi Albrecht2016-09-211-2/+0
| | | | | | | This reverts commit a03e7fd681e275dfd214f1196bad94af225a9d68. This change isn't needed anymore. The actual problem was solved in cpython: https://hg.python.org/cpython/rev/1a2b8398f045/
* Fix test failure on Python 3.6 (fixes #286).Tim Graham2016-09-201-0/+2
|
* Correct license link (fixes #288).Andi Albrecht2016-09-141-1/+1
|
* Correct Typo. Closes #222Victor Uriarte2016-06-041-1/+1
|
* Add or Update copyright year to filesVictor Uriarte2016-06-041-3/+5
|
* Update TokenType magic methods (contains, getattr, repr)Victor Uriarte2016-06-021-8/+7
| | | | | Variables were renamed to keep with convention getattr call to tuple (super) is unnecessary.
* Remove unused code from tokens.pyVictor Uriarte2016-06-021-14/+0
|
* Remove unused hash function from tokens.pyVictor Uriarte2016-05-291-3/+0
|
* Ensure get_type() works for queries that use WITH.Andrew Tipton2016-03-021-0/+1
|
* get rid of tokens.Punctuation.ArrayIndex, add negative lookbehind for sqlite ↵Darik Gamble2015-03-041-1/+0
| | | | identifiers
* (postgresql) Add support for square bracket array indexing, by darikg.Andi Albrecht2015-02-081-0/+1
| | | | Pull request #170 with trivial conflicts resolved.
* Fix typo: Comparsion -> Comparison.Andi Albrecht2010-07-041-1/+1
|
* PEP8: Code cleanup.Andi Albrecht2010-07-041-18/+17
|
* Distinguish between operators that are part of a comparsion and others.Andi Albrecht2009-07-121-0/+1
|
* Cleaned up some unused imports.Andi Albrecht2009-06-111-5/+0
|
* Cleanup in token.pyAndi Albrecht2009-06-111-44/+1
|
* Initial import.Andi Albrecht2009-04-031-0/+131