<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlparse.git/sqlparse/sql.py, branch 0.4.4</title>
<subtitle>github.com: andialbrecht/sqlparse.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/'/>
<entry>
<title>Fix get_type with comments between WITH keyword</title>
<updated>2023-01-04T17:36:15+00:00</updated>
<author>
<name>Shikanime Deva</name>
<email>deva.shikanime@protonmail.com</email>
</author>
<published>2021-07-19T11:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=dd9d5b91d7aa30e4a000d5370f09dc99378891dc'/>
<id>dd9d5b91d7aa30e4a000d5370f09dc99378891dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor to reduce redundant code.</title>
<updated>2022-08-08T08:52:33+00:00</updated>
<author>
<name>Daniel Harding</name>
<email>dharding@living180.net</email>
</author>
<published>2021-05-19T10:46:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=5ab834471cf66f718536b34c6b65caab54b01793'/>
<id>5ab834471cf66f718536b34c6b65caab54b01793</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't make slice copies in TokenList._token_matching().</title>
<updated>2022-08-08T08:52:33+00:00</updated>
<author>
<name>Daniel Harding</name>
<email>dharding@living180.net</email>
</author>
<published>2021-05-19T10:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=a3e19f1cbdf929eb45dc0e22d116b466d7b985a1'/>
<id>a3e19f1cbdf929eb45dc0e22d116b466d7b985a1</id>
<content type='text'>
Since we are working with indexes anyway, don't bother calling
enumerate() with a slice from self.tokens (which requires copying
memory).  Instead, just generate the indexes using range() and use
normal indexing to access the desired tokens.

The old behavior resulted in quadratic runtime with respect to the
number of tokens, which significantly impacted performance for
statements with very large numbers of tokens.

With the new behavior, the runtime is now linear with respect to the
number of tokens.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we are working with indexes anyway, don't bother calling
enumerate() with a slice from self.tokens (which requires copying
memory).  Instead, just generate the indexes using range() and use
normal indexing to access the desired tokens.

The old behavior resulted in quadratic runtime with respect to the
number of tokens, which significantly impacted performance for
statements with very large numbers of tokens.

With the new behavior, the runtime is now linear with respect to the
number of tokens.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright notice.</title>
<updated>2020-10-07T06:54:27+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-10-07T06:54:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=10b0ec24cefc4e2c36a04e1250a0635051071f35'/>
<id>10b0ec24cefc4e2c36a04e1250a0635051071f35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove support for end-of-life Pythons</title>
<updated>2020-09-01T00:27:38+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-05-24T13:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=3e3892f939031d58d98275ce8a237689225d299a'/>
<id>3e3892f939031d58d98275ce8a237689225d299a</id>
<content type='text'>
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 &lt;https://github.com/asottile/pyupgrade&gt;.

The wheel is no longer marked as "universal" as it is now Python 3 only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;https://github.com/asottile/pyupgrade&gt;.

The wheel is no longer marked as "universal" as it is now Python 3 only.
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] Fixing typed literal regression</title>
<updated>2020-02-02T20:19:41+00:00</updated>
<author>
<name>John Bodley</name>
<email>john.bodley@airbnb.com</email>
</author>
<published>2020-01-20T21:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=44eacf2e2f4a4255829109a5e67e0c1d2af542da'/>
<id>44eacf2e2f4a4255829109a5e67e0c1d2af542da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update sql.py</title>
<updated>2020-01-20T18:29:08+00:00</updated>
<author>
<name>John Bodley</name>
<email>4567245+john-bodley@users.noreply.github.com</email>
</author>
<published>2020-01-17T18:07:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=aaf5403f05e2cdb4f36a507b92e039c8cc2016a0'/>
<id>aaf5403f05e2cdb4f36a507b92e039c8cc2016a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update sql.py</title>
<updated>2020-01-20T18:29:08+00:00</updated>
<author>
<name>John Bodley</name>
<email>4567245+john-bodley@users.noreply.github.com</email>
</author>
<published>2020-01-17T15:35:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=8f03397ff4a29a78cc8c739874fae9e6dd5963f0'/>
<id>8f03397ff4a29a78cc8c739874fae9e6dd5963f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[sql] Adding TIMESTAMP to typed literal</title>
<updated>2020-01-20T18:29:08+00:00</updated>
<author>
<name>John Bodley</name>
<email>4567245+john-bodley@users.noreply.github.com</email>
</author>
<published>2020-01-17T06:39:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=966a55959cd1f7d0613aef3fddc5cdf939e142ac'/>
<id>966a55959cd1f7d0613aef3fddc5cdf939e142ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanup.</title>
<updated>2019-10-20T15:51:02+00:00</updated>
<author>
<name>Andreas Albrecht</name>
<email>a.albrecht@Mac-PU08.prounix.local</email>
</author>
<published>2019-10-20T15:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=b8b65c52db6e4ffda18dbce3d4752696b99149a0'/>
<id>b8b65c52db6e4ffda18dbce3d4752696b99149a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
