Re:What’s New in Python 3.7
by twoodfin on Sunday September 17, 2017 @11:31AM
(#15270048)
First thing that pops to mind is ORM for extremely column-wide tables, which are not unusual in some domains.
[ Parent
| on HN ]
Re:What’s New in Python 3.7
by userbinator on Sunday September 17, 2017 @11:58AM
(#15270201)
I'm not too familiar with Python but something like that would typically be handled by passing a pointer to a data structure containing the column data, and not each column itself (or does/did it have a 255-item limit on its other data structures too...?)
OK, but then you need to populate the data structure. You can do it with individual member assignments of course, but some quick Googling (I am not a Python expert either) suggests that the default row/object constructor for SQLAlchemy is an arg-per-field function.