<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/jwt/api_jws.py, branch remove-cli</title>
<subtitle>github.com: progrium/pyjwt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/'/>
<entry>
<title>Remove unnecessary compatibility shims for Python 2 (#498)</title>
<updated>2020-06-19T05:53:17+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-06-19T05:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=dc8dc7d05d54bd5502295601c01b557caab92a76'/>
<id>dc8dc7d05d54bd5502295601c01b557caab92a76</id>
<content type='text'>
As the project is Python 3 only, can remove the compatibility shims in
compat.py.

Type checking has been simplified where it can:
  - str is iterable
  - bytes is iterable
  - use isinstance instead of issubclass

The remaining function bytes_from_int() has been moved to utils.py.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the project is Python 3 only, can remove the compatibility shims in
compat.py.

Type checking has been simplified where it can:
  - str is iterable
  - bytes is iterable
  - use isinstance instead of issubclass

The remaining function bytes_from_int() has been moved to utils.py.</pre>
</div>
</content>
</entry>
<entry>
<title>Emit warnings about user code, not pyjwt code (#494)</title>
<updated>2020-06-09T11:56:50+00:00</updated>
<author>
<name>Marius Gedminas</name>
<email>marius@gedmin.as</email>
</author>
<published>2020-06-09T11:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=079849d17687fde8fcb545c76882766883aa0f7a'/>
<id>079849d17687fde8fcb545c76882766883aa0f7a</id>
<content type='text'>
This assumes all direct calls to private methods (leading underscore in name)
are from pyjwt code, hence stacklevel=3 nor 2.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This assumes all direct calls to private methods (leading underscore in name)
are from pyjwt code, hence stacklevel=3 nor 2.</pre>
</div>
</content>
</entry>
<entry>
<title>Run pyupgrade across project to use modern Python 3 conventions (#491)</title>
<updated>2020-06-08T05:40:09+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-06-08T05:40:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=65bca5c4db1b62dc0eb05f40aaa86dabf898fdae'/>
<id>65bca5c4db1b62dc0eb05f40aaa86dabf898fdae</id>
<content type='text'>
pyupgrade is a tool to automatically upgrade Python syntax for newer
versions of the language. Running pyupgrade removes several
Python-2-isms that are no longer necessary now that the project is
Python 3 only.

https://github.com/asottile/pyupgrade</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pyupgrade is a tool to automatically upgrade Python syntax for newer
versions of the language. Running pyupgrade removes several
Python-2-isms that are no longer necessary now that the project is
Python 3 only.

https://github.com/asottile/pyupgrade</pre>
</div>
</content>
</entry>
<entry>
<title>Enhance tracebacks. (#477)</title>
<updated>2020-05-15T01:44:22+00:00</updated>
<author>
<name>Julien Palard</name>
<email>julien@palard.fr</email>
</author>
<published>2020-05-15T01:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=8556a1590532d58c540256ae1824688ec6c7abe2'/>
<id>8556a1590532d58c540256ae1824688ec6c7abe2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DX Tweaks (#450)</title>
<updated>2019-10-22T02:38:34+00:00</updated>
<author>
<name>José Padilla</name>
<email>jpadilla@webapplicate.com</email>
</author>
<published>2019-10-22T02:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=11ac89474b1179925c76450fcc4b3d2042c45f19'/>
<id>11ac89474b1179925c76450fcc4b3d2042c45f19</id>
<content type='text'>
* Setup pre-commit hooks

* Run initial `tox -e lint`

* Fix package name

* Fix .travis.yml
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Setup pre-commit hooks

* Run initial `tox -e lint`

* Fix package name

* Fix .travis.yml
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct type for json_encoder argument (#438)</title>
<updated>2019-09-28T20:26:41+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-09-28T20:26:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=1b979a42dcd57588fa1d7c169b6627f1f0cd3e1b'/>
<id>1b979a42dcd57588fa1d7c169b6627f1f0cd3e1b</id>
<content type='text'>
Per recent upstream fix to typeshed, json.dumps() cls argument should be
optional type JSONEncoder.

https://github.com/python/typeshed/commit/8e0d288ea49a34f9bd21b1598ec487414a339a1f

Fixes mypy error:

    jwt/api_jws.py:102: error: Argument "cls" to "dumps" has incompatible type "Optional[Callable[..., Any]]"; expected "Optional[Type[JSONEncoder]]"
    jwt/api_jwt.py:61: error: Argument "cls" to "dumps" has incompatible type "Optional[Callable[..., Any]]"; expected "Optional[Type[JSONEncoder]]"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per recent upstream fix to typeshed, json.dumps() cls argument should be
optional type JSONEncoder.

https://github.com/python/typeshed/commit/8e0d288ea49a34f9bd21b1598ec487414a339a1f

Fixes mypy error:

    jwt/api_jws.py:102: error: Argument "cls" to "dumps" has incompatible type "Optional[Callable[..., Any]]"; expected "Optional[Type[JSONEncoder]]"
    jwt/api_jwt.py:61: error: Argument "cls" to "dumps" has incompatible type "Optional[Callable[..., Any]]"; expected "Optional[Type[JSONEncoder]]"</pre>
</div>
</content>
</entry>
<entry>
<title>Import collection ABC's from correct module (#384)</title>
<updated>2018-11-25T15:28:26+00:00</updated>
<author>
<name>Tsuyoshi Hombashi</name>
<email>tsuyoshi.hombashi@gmail.com</email>
</author>
<published>2018-11-25T15:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=30d4c5a7f91e2425211b51c479f2f1e7a37f98b9'/>
<id>30d4c5a7f91e2425211b51c479f2f1e7a37f98b9</id>
<content type='text'>
* Move ABCs imports to compat.py to reuse the imports from other modules

* Import collection ABC's from correct module
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move ABCs imports to compat.py to reuse the imports from other modules

* Import collection ABC's from correct module
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #351 by reverting argument name changes for .decode() (#352)</title>
<updated>2018-05-24T02:45:54+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2018-05-24T02:45:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=d25c92ca5e9980ca7bc8b31420bf36e3f4a9e3f0'/>
<id>d25c92ca5e9980ca7bc8b31420bf36e3f4a9e3f0</id>
<content type='text'>
* Fix #351 by reverting argument name changes for .decode()

* Update CHANGELOG and bump version to 1.6.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix #351 by reverting argument name changes for .decode()

* Update CHANGELOG and bump version to 1.6.4
</pre>
</div>
</content>
</entry>
<entry>
<title>RFC: Add type hints (#344)</title>
<updated>2018-04-08T23:31:37+00:00</updated>
<author>
<name>Jacopo Farina</name>
<email>jacopofar@users.noreply.github.com</email>
</author>
<published>2018-04-08T23:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=aed7305680b0ca6cf9846cd755b420f4dfccee22'/>
<id>aed7305680b0ca6cf9846cd755b420f4dfccee22</id>
<content type='text'>
* Add mypy to Travis and a simple type hint to _get_default_options

* Make flake8 accept unused import required by mypy

* Add typing to encode and decode, create encode_bytes in JWS to differentiate from encode in JWT

* Use Union type to describe both types of payload
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add mypy to Travis and a simple type hint to _get_default_options

* Make flake8 accept unused import required by mypy

* Add typing to encode and decode, create encode_bytes in JWS to differentiate from encode in JWT

* Use Union type to describe both types of payload
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #315: Raise InvalidSignatureError over generic DecodeError (#316)</title>
<updated>2017-12-01T19:11:09+00:00</updated>
<author>
<name>Markus Holtermann</name>
<email>info@markusholtermann.eu</email>
</author>
<published>2017-12-01T19:11:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=0c80a7119a1a82e7023ab3b0c766311de5821707'/>
<id>0c80a7119a1a82e7023ab3b0c766311de5821707</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
