View Issue Details

IDProjectCategoryView StatusLast Update
0005019Talerobsolete componentpublic2020-09-05 01:45
ReporterChristian Grothoff Assigned ToMarcello Stanisci  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionwon't fix 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0005019: taler bank should follow PEP 484 and 526 where applicable
DescriptionPEP 484 specifies a syntax for annotation arguments with types.

Wherever possible, we should add such type annotations.
Additional Informationhttps://www.python.org/dev/peps/pep-0484/
https://www.python.org/dev/peps/pep-0526/
TagsNo tags attached.

Activities

Christian Grothoff

2017-05-22 14:40

manager   ~0012144

Once this approaches completion, the mypy tool should be integrated with the buildbot:

http://mypy-lang.org/

Marcello Stanisci

2017-12-06 17:55

reporter   ~0012628

arguments like '*args' and '**kwargs' will be type-annotated at last, as this requires special care.

Florian Dold

2020-09-04 13:09

manager   ~0016840

Resolving this as "won't fix", because there has been no meaningful progress with adding mypy annotations. For typed code, we should stick with TypeScript and Kotlin, or any other reasonable typed language.

I would say mypy is great for some very large and complex Python code bases, but for our small demo projects (and in conjunction with Django!), the costs of mypy don't justify the benefits.

Issue History

Date Modified Username Field Change
2017-05-20 20:34 Christian Grothoff New Issue
2017-05-20 20:34 Christian Grothoff Status new => assigned
2017-05-20 20:34 Christian Grothoff Assigned To => Marcello Stanisci
2017-05-22 14:34 Christian Grothoff Summary taler bank should follow PEP 484 where applicable => taler bank should follow PEP 484 and 526 where applicable
2017-05-22 14:34 Christian Grothoff Additional Information Updated
2017-05-22 14:40 Christian Grothoff Note Added: 0012144
2017-12-06 17:55 Marcello Stanisci Note Added: 0012628
2017-12-14 15:51 Christian Grothoff Target Version => 0.7.1
2020-03-29 22:08 Christian Grothoff Target Version 0.7.1 => 0.8
2020-07-10 23:30 Christian Grothoff Target Version 0.8 => 0.9
2020-07-24 12:08 Christian Grothoff Target Version 0.9 => 0.9.1
2020-09-04 13:09 Florian Dold Status assigned => resolved
2020-09-04 13:09 Florian Dold Resolution open => won't fix
2020-09-04 13:09 Florian Dold Note Added: 0016840
2020-09-05 01:45 Christian Grothoff Status resolved => closed
2020-09-05 01:45 Christian Grothoff Fixed in Version => 0.8
2020-09-05 01:45 Christian Grothoff Target Version 0.9.1 => 0.8
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component