| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix splitting of statements using CASE ... WHEN (fixes #580). | Andi Albrecht | 2020-09-30 | 1 | -0/+6 |
| | | |||||
| * | Fix splitting when using DECLARE ... HANDLER (fixes #581). | Andi Albrecht | 2020-09-30 | 1 | -0/+6 |
| | | |||||
| * | Don't flush token streams iff they only contain whitespace tokens (fixes #496). | Andi Albrecht | 2020-09-13 | 1 | -0/+7 |
| | | |||||
| * | Remove support for end-of-life Pythons | Jon Dufresne | 2020-08-31 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Revert "Add in slash comment functionality" | Toby Mao | 2019-06-26 | 1 | -16/+0 |
| | | | | | This reverts commit 170010e7d709f2145169d23482d006dc56856256. | ||||
| * | Add in slash comment functionality | Ian Robertson | 2019-03-10 | 1 | -0/+16 |
| | | |||||
| * | Fix incorrect splitting with double quotes and a new line | Fredy Wijaya | 2018-03-09 | 1 | -0/+10 |
| | | |||||
| * | Parse double dollars (PostgreSQL) as literal strings (fixes #277). | Andi Albrecht | 2016-08-13 | 1 | -1/+2 |
| | | |||||
| * | Parametrize tests | Victor Uriarte | 2016-06-20 | 1 | -32/+13 |
| | | | | | | | Allows for tests to continue if the first assert had failed. In particular useful when certain change is dealing with two almost opposing edge cases. | ||||
| * | Remove some test classes and clean-up | Victor Uriarte | 2016-06-20 | 1 | -127/+140 |
| | | |||||
| * | Replace tests/utils with conftest.py | Victor Uriarte | 2016-06-20 | 1 | -8/+7 |
| | | | | | http://stackoverflow.com/questions/34466027/what-is-the-use-of-conftest-py | ||||
| * | Replace other UnitTest with Py.Test | Victor Uriarte | 2016-06-20 | 1 | -40/+40 |
| | | |||||
| * | Replace ndiffAssertEqual with Py.Test | Victor Uriarte | 2016-06-20 | 1 | -14/+15 |
| | | |||||
| * | Redo unicode-encoding on lexer.py | Victor Uriarte | 2016-06-11 | 1 | -0/+5 |
| | | |||||
| * | Use compat module for single Python 2/3 code base. | Andi Albrecht | 2015-10-26 | 1 | -19/+16 |
| | | | | | This change includes minor fixes and code cleanup too. | ||||
| * | Recognize escaped backslashes within strings | casey | 2015-02-26 | 1 | -0/+4 |
| | | | | | | Previously if a single quoted string ended with an escaped backslash, parsing would not consider the string to be terminated. | ||||
| * | Strip leading and trailing whitespaces from splitted statements. | Andi Albrecht | 2013-05-15 | 1 | -0/+7 |
| | | |||||
| * | PEP8'ified to code a bit. | Andi Albrecht | 2012-11-12 | 1 | -1/+2 |
| | | |||||
| * | splitstream -> parsestream | quest | 2012-04-21 | 1 | -3/+3 |
| | | |||||
| * | Always use a stream internally; makes things more readable. | quest | 2012-04-21 | 1 | -1/+0 |
| | | |||||
| * | We can now work with file-like objects. | quest | 2012-04-21 | 1 | -0/+15 |
| | | |||||
| * | Added test for Issue 57 | Jesús Leganés Combarro "Piranna" | 2012-01-23 | 1 | -0/+6 |
| | | |||||
| * | Split statements with IF as functions correctly (fixes issue33). | Andi Albrecht | 2011-07-24 | 1 | -0/+7 |
| | | |||||
| * | Match single line comments at end of string. | Andi Albrecht | 2010-11-14 | 1 | -0/+10 |
| | | | | | The bug was reported for CrunchyFrog: http://code.google.com/p/crunchyfrog/issues/detail?id=88 | ||||
| * | Improve statement detection for DECLARE statements outside ↵ | Andi Albrecht | 2010-06-23 | 1 | -0/+7 |
| | | | | | | | | | function/procedure definitions. The parser didn't recognized DECLARE statements outside function/procedure definitions correctly and assumed that a non-separating semicolon follows. | ||||
| * | Turn relative import in tests module to absolute imports. | Andi Albrecht | 2009-04-30 | 1 | -1/+1 |
| | | |||||
| * | Initial import. | Andi Albrecht | 2009-04-03 | 1 | -0/+88 |
