{"action":"opened","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/11485","repository_url":"https://api.github.com/repos/numpy/numpy","labels_url":"https://api.github.com/repos/numpy/numpy/issues/11485/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/11485/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/11485/events","html_url":"https://github.com/numpy/numpy/issues/11485","id":337875785,"node_id":"MDU6SXNzdWUzMzc4NzU3ODU=","number":11485,"title":" The type conversion problem of array operations","user":{"login":"yydcnjjw","id":25126996,"node_id":"MDQ6VXNlcjI1MTI2OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/25126996?v=4","gravatar_id":"","url":"https://api.github.com/users/yydcnjjw","html_url":"https://github.com/yydcnjjw","followers_url":"https://api.github.com/users/yydcnjjw/followers","following_url":"https://api.github.com/users/yydcnjjw/following{/other_user}","gists_url":"https://api.github.com/users/yydcnjjw/gists{/gist_id}","starred_url":"https://api.github.com/users/yydcnjjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yydcnjjw/subscriptions","organizations_url":"https://api.github.com/users/yydcnjjw/orgs","repos_url":"https://api.github.com/users/yydcnjjw/repos","events_url":"https://api.github.com/users/yydcnjjw/events{/privacy}","received_events_url":"https://api.github.com/users/yydcnjjw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T12:23:08Z","updated_at":"2018-07-03T12:23:08Z","closed_at":null,"author_association":"NONE","body":"```\r\na = np.array([0,255], dtype='uint8')\r\noutput：array([  0, 255], dtype=uint8)\r\n\r\na * 2\r\noutput：array([  0, 254], dtype=uint8) // become  the top eight after the operation\r\n\r\nb = np.array([1, 255], dtype='uint8')\r\nb * 256\r\noutput：array([  256, 65280], dtype=uint16) // Automatically become the type of uint16\r\n```\r\n\r\nThe change of the variable type depends on the minimum of the array?"}}
{"actor":{"display_login":"yydcnjjw"}}