Re: [PATCH v9 08/14] iotests: touch up log function signature

2020-03-30 Thread John Snow
On 3/30/20 12:19 PM, Kevin Wolf wrote: > Am 25.03.2020 um 00:20 hat John Snow geschrieben: >> Representing nested, recursive data structures in mypy is notoriously >> difficult; the best we can reliably do right now is denote the atom >> types as "Any" while describing the general shape of the d

Re: [PATCH v9 08/14] iotests: touch up log function signature

2020-03-30 Thread John Snow
On 3/30/20 8:28 AM, Max Reitz wrote: > On 25.03.20 00:20, John Snow wrote: >> Representing nested, recursive data structures in mypy is notoriously >> difficult; the best we can reliably do right now is denote the atom >> types as "Any" while describing the general shape of the data. >> >> Regar

Re: [PATCH v9 08/14] iotests: touch up log function signature

2020-03-30 Thread Kevin Wolf
Am 25.03.2020 um 00:20 hat John Snow geschrieben: > Representing nested, recursive data structures in mypy is notoriously > difficult; the best we can reliably do right now is denote the atom > types as "Any" while describing the general shape of the data. > > Regardless, this fully annotates the

Re: [PATCH v9 08/14] iotests: touch up log function signature

2020-03-30 Thread Max Reitz
On 25.03.20 00:20, John Snow wrote: > Representing nested, recursive data structures in mypy is notoriously > difficult; the best we can reliably do right now is denote the atom > types as "Any" while describing the general shape of the data. > > Regardless, this fully annotates the log() function

[PATCH v9 08/14] iotests: touch up log function signature

2020-03-24 Thread John Snow
Representing nested, recursive data structures in mypy is notoriously difficult; the best we can reliably do right now is denote the atom types as "Any" while describing the general shape of the data. Regardless, this fully annotates the log() function. Typing notes: TypeVar is a Type variable t