| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* crypto: Add type annotations
* Don’t redefine var
mypy complains about the redefinition
* _util: Add type annotations
* rand: Add type annotations
* Prepare package & CI for running mypy
* fix toxenv name
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
|
| |
|
|
|
| |
Instead just decode stuff at the call-sites -- 100% of which were passing bytes
|
|
|
|
|
| |
And also whatever supports the protocol.
Way more pythonic now!
|
|
|
| |
It has been a no-op (when called from an _instance_ of Binding) since 3.3
|
|
|
|
|
|
|
|
|
|
|
| |
* py27 going, going, gone
* black
* more black
* ok then
* forgot to remove pypy2
|
| |
|
|
|
|
|
|
|
| |
* newer pypy
* missed one
* we don't support ancient cffi any more
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* use _ffi.from_buffer(buf) in send, to support bytearray
* add bytearray test
* update CHANGELOG.rst
* move from_buffer before 'buffer too long' check
* context-managed from_buffer + black
* don't shadow buf in send()
* test return count for sendall
* test sending an array
* fix test
* also use from_buffer in bio_write
* de-format _util.py
* formatting
* add simple bio_write tests
* wrap line
|
|
|
|
|
|
| |
* Fix for Python 4
* Fix for Python 4
|
| |
|
| |
|
| |
|
|
|
|
| |
Also port forward a few changes from #422.
|
|
Prevents accidental imports when running tests.
|