~mcepl/m2crypto#344: 
We don’t have type defitions for the binary C module m2

Migrated from: https://gitlab.com/m2crypto/m2crypto/-/issues/344
Created by: Matěj Cepl mcepl@cepl.eu
Created at: 2023-12-03T00:22:58.345Z

Which means that mypy fails with a zillion errors: error: Module has no attribute "something" [attr-defined].

When defining types, we are actually mostly dealing with bytes (and some ints), so it would be helpful to distinguish between their different versions with NewType https://docs.python.org/3/library/typing.html?highlight=newtype#distinct (since Python 3.5.2).

Status
REPORTED
Submitter
~mcepl
Assigned to
No-one
Submitted
7 months ago
Updated
5 months ago
Labels
No labels applied.

~mcepl 7 months ago

Changed on 2023-12-03T00:27:49.811Z by Matěj Cepl:

mentioned in commit mcepl/m2crypto@5766decec68a04bc460a1402aaf15f0e4ae803dc

(Last edited at 2023-12-03T00:27:49.815Z.)

~mcepl 7 months ago

Changed on 2024-01-03T07:30:20.027Z by Matěj Cepl:

mentioned in commit mcepl/m2crypto@a0429844563046844be82fdbb5ac4c2e6015ff86

(Last edited at 2024-01-03T07:30:20.065Z.)

~mcepl 7 months ago

Changed on 2024-02-13T22:46:24.447Z by Matěj Cepl:

mentioned in commit mcepl/m2crypto@d204c80464aeb08b64188b4cd6c2c192324bd4ac

(Last edited at 2024-02-13T22:46:24.452Z.)

~mcepl 7 months ago

Changed on 2024-02-13T22:58:41.618Z by Matěj Cepl:

mentioned in commit mcepl/m2crypto@efa65371e25cc9386f9313efaf9b838426458cd7

(Last edited at 2024-02-13T22:58:41.622Z.)

~mcepl 6 months ago

Matěj Cepl referenced this ticket in commit bdbe160.

~mcepl 5 months ago

Currently (2024-08-13T10:34:00+02:00), “Found 1296 errors in 32 files (checked 36 source files)”

Register here or Log in to comment, or comment via email.