[Python-ideas] Data Classes

Niki Spahiev niki.spahiev at gmail.com
Fri May 19 03:10:00 EDT 2017


On 19.05.2017 04:37, Eric V. Smith wrote:
> On 5/18/17 2:26 PM, Sven R. Kunze wrote:
>> On 17.05.2017 23:29, Ivan Levkivskyi wrote:
>>> the idea is to write it into a PEP and consider API/corner
>>> cases/implementation/etc.
>>
>> Who's writing it?
> 
> Guido, Hynek, and I met today. I'm writing up our notes, and hopefully 
> that will eventually become a PEP. I'm going to propose calling this 
> feature "Data Classes" as a placeholder until we come up with something 
> better.

FWIIW: Kotlin has similar feature - data class.

data class ABCthing(val a: Double, val b: Double, val c: Double)


Niki



More information about the Python-ideas mailing list