Timeline for A list of data structures in Python
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 25, 2015 at 16:41 | answer | added | myeeshen | timeline score: 1 | |
| Jun 27, 2014 at 12:29 | comment | added | GreenB | I was trying to use the data structure to encapsulate some database records that I need to define for unit tests. eg a Base unit test could define some data for tables that would be created and populated before the unit tests run. More specific unit tests could override the default values and add to them if required in order to test more specific functionality. In this case the 'Name' was the name of a SQL Alchemy mapping class while the dictionary (with id etc) was the data that would be created for that class/DB record. Hope that makes sense... | |
| Jun 20, 2014 at 14:56 | comment | added | mykhal |
what is the point of such design, where Name nor id value aren't unique?
|
|
| Jun 20, 2014 at 14:42 | answer | added | DOSHI | timeline score: 0 | |
| Jun 20, 2014 at 14:35 | review | First posts | |||
| Jun 20, 2014 at 14:36 | |||||
| Jun 20, 2014 at 14:26 | history | reopened |
Lev Levitsky davidism Martijn Pieters vaultah DSM |
||
| Jun 20, 2014 at 14:24 | comment | added | gkusner | probably better to use a dictionary to start instead of list of tuples then it is mutable and quickly searchable | |
| Jun 20, 2014 at 14:19 | history | closed |
vaultah Community Bot Ffisegydd davidism jonrsharpe |
Opinion-based | |
| Jun 20, 2014 at 14:11 | history | asked | GreenB | CC BY-SA 3.0 |