{"action":"created","issue":{"url":"https://api.github.com/repos/IIC2233/Syllabus/issues/233","repository_url":"https://api.github.com/repos/IIC2233/Syllabus","labels_url":"https://api.github.com/repos/IIC2233/Syllabus/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/IIC2233/Syllabus/issues/233/comments","events_url":"https://api.github.com/repos/IIC2233/Syllabus/issues/233/events","html_url":"https://github.com/IIC2233/Syllabus/issues/233","id":314480200,"number":233,"title":"Estructura de datos iterable sobre los atributos.","user":{"login":"fabarros","id":30666832,"avatar_url":"https://avatars3.githubusercontent.com/u/30666832?v=4","gravatar_id":"","url":"https://api.github.com/users/fabarros","html_url":"https://github.com/fabarros","followers_url":"https://api.github.com/users/fabarros/followers","following_url":"https://api.github.com/users/fabarros/following{/other_user}","gists_url":"https://api.github.com/users/fabarros/gists{/gist_id}","starred_url":"https://api.github.com/users/fabarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabarros/subscriptions","organizations_url":"https://api.github.com/users/fabarros/orgs","repos_url":"https://api.github.com/users/fabarros/repos","events_url":"https://api.github.com/users/fabarros/events{/privacy}","received_events_url":"https://api.github.com/users/fabarros/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T02:26:42Z","updated_at":"2018-04-16T02:51:11Z","closed_at":null,"author_association":"NONE","body":"Hola, tengo una lista ligada de listas ligadas que itera bien sobre los nodos. La tarea me exige crear una estructura de datos `jugadores` y otra `equipos` de la forma \r\n`jugadores = [['0', 'C. López', ' Camilo López', 'FC Barcelona',\r\n                      'Spanish Primera División', 'Chile', '92'],\r\n                     ['1', 'N.Kawas', 'Nebil Kawas', 'CD Palestino',\r\n                      'Chilian Primera División', 'Chile', '95'],]`, por ejemplo. Tengo esa estructura de datos creada con lo que se pide que haga, sin embargo cuando abro la interfaz y apreto `Campeonatos` esta se cae. Qué puede ser? Qué tiene que ver con mi estructura si esta hace todo lo que se supone que tiene que hacer?"},"comment":{"url":"https://api.github.com/repos/IIC2233/Syllabus/issues/comments/381465630","html_url":"https://github.com/IIC2233/Syllabus/issues/233#issuecomment-381465630","issue_url":"https://api.github.com/repos/IIC2233/Syllabus/issues/233","id":381465630,"user":{"login":"fabarros","id":30666832,"avatar_url":"https://avatars3.githubusercontent.com/u/30666832?v=4","gravatar_id":"","url":"https://api.github.com/users/fabarros","html_url":"https://github.com/fabarros","followers_url":"https://api.github.com/users/fabarros/followers","following_url":"https://api.github.com/users/fabarros/following{/other_user}","gists_url":"https://api.github.com/users/fabarros/gists{/gist_id}","starred_url":"https://api.github.com/users/fabarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabarros/subscriptions","organizations_url":"https://api.github.com/users/fabarros/orgs","repos_url":"https://api.github.com/users/fabarros/repos","events_url":"https://api.github.com/users/fabarros/events{/privacy}","received_events_url":"https://api.github.com/users/fabarros/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T02:51:11Z","updated_at":"2018-04-16T02:51:11Z","author_association":"NONE","body":"Estuve revisando el módulo Interfaz y me fijé que en la clase `Window` el atributo `self.lista_jugadores` se obtiene del iterable que le entregamos, el que se desempaqueta (línea 61) con el asterisco y de esa forma se obtiene una lista de python con los datos de los jugadores. \r\nPero el atributo `self.equipos` es nuestra estructura de datos, y este atributo nunca se pasa a lista de python, sino que se queda como ListaLigada (línea 58). Entonces cuando la interfaz quiere ocupar `self.equipos` asume que es una lista de python y en realidad no lo es, razón por la cual yo asumo, me tira error y se me cierra el programa. \r\nQué hago entonces? porque me están obligando a usar una estructura de datos que su programa no quiere ocupar (en el caso de `self.equipos`)."}}
{"actor":{"display_login":"fabarros"}}