[Python-Dev] Is static typing still optional?
Eric V. Smith
eric at trueblade.com
Sun Dec 10 16:37:35 EST 2017
More information about the Python-Dev mailing list
Sun Dec 10 16:37:35 EST 2017
- Previous message (by thread): [Python-Dev] Is static typing still optional?
- Next message (by thread): [Python-Dev] Is static typing still optional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/10/2017 4:29 PM, Ivan Levkivskyi wrote: > On 10 December 2017 at 22:24, Raymond Hettinger > <raymond.hettinger at gmail.com <mailto:raymond.hettinger at gmail.com>> wrote: > > Without typing (only the first currently works): > > Point = namedtuple('Point', ['x', 'y', 'z']) # > underlying store is a tuple > Point = make_dataclass('Point', ['x', 'y', 'z']) # > underlying store is an instance dict > > > Hm, I think this is a bug in implementation. The second form should also > work. Agreed. I have a bunch of pending changes for dataclasses. I'll add this. Eric.
- Previous message (by thread): [Python-Dev] Is static typing still optional?
- Next message (by thread): [Python-Dev] Is static typing still optional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list