{"action":"created","issue":{"url":"https://api.github.com/repos/cvxgrp/cvxpy/issues/197","labels_url":"https://api.github.com/repos/cvxgrp/cvxpy/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/cvxgrp/cvxpy/issues/197/comments","events_url":"https://api.github.com/repos/cvxgrp/cvxpy/issues/197/events","html_url":"https://github.com/cvxgrp/cvxpy/issues/197","id":89386459,"number":197,"title":"Slicing not working with print","user":{"login":"mseesquared","id":3312779,"avatar_url":"https://avatars.githubusercontent.com/u/3312779?v=3","gravatar_id":"","url":"https://api.github.com/users/mseesquared","html_url":"https://github.com/mseesquared","followers_url":"https://api.github.com/users/mseesquared/followers","following_url":"https://api.github.com/users/mseesquared/following{/other_user}","gists_url":"https://api.github.com/users/mseesquared/gists{/gist_id}","starred_url":"https://api.github.com/users/mseesquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseesquared/subscriptions","organizations_url":"https://api.github.com/users/mseesquared/orgs","repos_url":"https://api.github.com/users/mseesquared/repos","events_url":"https://api.github.com/users/mseesquared/events{/privacy}","received_events_url":"https://api.github.com/users/mseesquared/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T20:13:36Z","updated_at":"2015-07-16T18:28:00Z","closed_at":"2015-07-16T18:28:00Z","body":"Currently, slicing a variable, then printing it, throws an error:\r\n\r\n```\r\nx = cvx.Variable(100)\r\nprint x[:-1]\r\n```\r\nthrows\r\n`TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'`"},"comment":{"url":"https://api.github.com/repos/cvxgrp/cvxpy/issues/comments/122041823","html_url":"https://github.com/cvxgrp/cvxpy/issues/197#issuecomment-122041823","issue_url":"https://api.github.com/repos/cvxgrp/cvxpy/issues/197","id":122041823,"user":{"login":"SteveDiamond","id":520736,"avatar_url":"https://avatars.githubusercontent.com/u/520736?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveDiamond","html_url":"https://github.com/SteveDiamond","followers_url":"https://api.github.com/users/SteveDiamond/followers","following_url":"https://api.github.com/users/SteveDiamond/following{/other_user}","gists_url":"https://api.github.com/users/SteveDiamond/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveDiamond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveDiamond/subscriptions","organizations_url":"https://api.github.com/users/SteveDiamond/orgs","repos_url":"https://api.github.com/users/SteveDiamond/repos","events_url":"https://api.github.com/users/SteveDiamond/events{/privacy}","received_events_url":"https://api.github.com/users/SteveDiamond/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T18:28:00Z","updated_at":"2015-07-16T18:28:00Z","body":"Fixed."}}