<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlparse.git/sqlparse/compat.py, branch 0.4.4</title>
<subtitle>github.com: andialbrecht/sqlparse.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/'/>
<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://91.123.203.49/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>Remove unnecessary compat shim for bytes</title>
<updated>2019-03-10T08:03:42+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2018-12-28T20:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=c9a490abf869eddf5b88de57c17d7a6c6c643ed8'/>
<id>c9a490abf869eddf5b88de57c17d7a6c6c643ed8</id>
<content type='text'>
Both Python 2.7 and Python 3 have the type bytes. On Python 2.7, it is
an alias of str, same as was previously defined in compat.py. Makes the
code slightly more compatible with Python 3 style syntax. Observe:

    $ python2
    &gt;&gt;&gt; bytes
    &lt;type 'str'&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both Python 2.7 and Python 3 have the type bytes. On Python 2.7, it is
an alias of str, same as was previously defined in compat.py. Makes the
code slightly more compatible with Python 3 style syntax. Observe:

    $ python2
    &gt;&gt;&gt; bytes
    &lt;type 'str'&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright header (fixes #372).</title>
<updated>2018-07-31T06:12:54+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2018-07-31T06:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=3853a076c63493f43e969cf4ddd2e642e92f02fb'/>
<id>3853a076c63493f43e969cf4ddd2e642e92f02fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicate StringIO import</title>
<updated>2018-01-05T02:05:08+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2018-01-05T02:05:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=4efc82d568fe15daaa9264e5230c0a2a68796a18'/>
<id>4efc82d568fe15daaa9264e5230c0a2a68796a18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct license link (fixes #288).</title>
<updated>2016-09-14T12:56:34+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2016-09-14T12:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=4430c5c163d8b6ffc89d83b506c8a478037d26ea'/>
<id>4430c5c163d8b6ffc89d83b506c8a478037d26ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Decode bytes to unicode in Lexer.get_tokens().</title>
<updated>2016-08-31T13:11:22+00:00</updated>
<author>
<name>Oleg Broytman</name>
<email>phd@phdru.name</email>
</author>
<published>2016-08-31T13:10:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=843499915e91e0ee324a0407c78ac6f570806370'/>
<id>843499915e91e0ee324a0407c78ac6f570806370</id>
<content type='text'>
Raise TypeError if the input is neither bytes in a known encoding nor
unicode nor a file-like object (file, StringIO).

Remove function u(). Add bytes_type to compat. Add tests for non-ascii.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Raise TypeError if the input is neither bytes in a known encoding nor
unicode nor a file-like object (file, StringIO).

Remove function u(). Add bytes_type to compat. Add tests for non-ascii.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move file_types list to compat module.</title>
<updated>2016-08-10T08:43:40+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2016-08-10T08:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=907d36a7b8909addfffdf172b39fa52df0288ae4'/>
<id>907d36a7b8909addfffdf172b39fa52df0288ae4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update init and misc files</title>
<updated>2016-06-06T14:55:39+00:00</updated>
<author>
<name>Victor Uriarte</name>
<email>victor.m.uriarte@intel.com</email>
</author>
<published>2016-06-05T21:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=b114ff6361550246cb5cb96168d25fe46bd355ef'/>
<id>b114ff6361550246cb5cb96168d25fe46bd355ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unicode-str compatible cls decorator</title>
<updated>2016-06-04T22:06:04+00:00</updated>
<author>
<name>Victor Uriarte</name>
<email>victor.m.uriarte@intel.com</email>
</author>
<published>2016-05-29T20:31:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=da914acdb20293b9a059bdb346221757907855a7'/>
<id>da914acdb20293b9a059bdb346221757907855a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add or Update copyright year to files</title>
<updated>2016-06-04T18:08:20+00:00</updated>
<author>
<name>Victor Uriarte</name>
<email>victor.m.uriarte@intel.com</email>
</author>
<published>2016-06-03T20:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlparse.git/commit/?id=af2a3fa7eb75c534ca76b8c0cc2ca6731fdb2efb'/>
<id>af2a3fa7eb75c534ca76b8c0cc2ca6731fdb2efb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
