{"push_id":560647343,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"83236295e79eef723282b0e05669c1b85ac129b6","before":"426ada8957b10559a3f6214639d7873b11f03f29","commits":[{"sha":"16d109ee80c991bb585e608151330edc710c2a47","author":{"email":"1c16694a372b9c65d343b428c4e5d584b4821091@08APC0501.altran.es","name":"dmiro"},"message":"decode error\n\nstop_words = [line.strip().decode('utf-8')\n             for line in language_file.readlines()]\n\nStrip() return a copy of the string with leading and trailing whitespace characters removed.\nBut if the string contains non-ascii characters, Strip() causes a UnicodeDecodeError error\n(eg UnicodeDecodeError: 'utf8' codec can not decode byte 0xc3 in position 34: unexpected end of data).\n\nThe workaround is to reorder the call:\n\nstop_words = [line.decode('utf-8').strip()\n             for line in language_file.readlines()]","distinct":true,"url":"https://api.github.com/repos/Alir3z4/python-stop-words/commits/16d109ee80c991bb585e608151330edc710c2a47"},{"sha":"ff4f07d0c1ffbf2368e6e4e7fb0f1fc1b74b23fd","author":{"email":"1c16694a372b9c65d343b428c4e5d584b4821091@08APC0501.altran.es","name":"dmiro"},"message":"add catalan language to LANGUAGE_MAPPING","distinct":true,"url":"https://api.github.com/repos/Alir3z4/python-stop-words/commits/ff4f07d0c1ffbf2368e6e4e7fb0f1fc1b74b23fd"},{"sha":"e5add47f7de32a6329d9af20ac52515f43eb9178","author":{"email":"1c16694a372b9c65d343b428c4e5d584b4821091@08APC0501.altran.es","name":"dmiro"},"message":"Modified readme","distinct":true,"url":"https://api.github.com/repos/Alir3z4/python-stop-words/commits/e5add47f7de32a6329d9af20ac52515f43eb9178"},{"sha":"83236295e79eef723282b0e05669c1b85ac129b6","author":{"email":"7108225ff3f56c84e6fd69ea9e147cfffcfc5b3b@gmail.com","name":"Alireza Savand"},"message":"Merge pull request #5 from dmiro/master\n\nDecode error AND Add catalan language to LANGUAGE_MAPPING\r\n\r\nThanks @dmiro","distinct":true,"url":"https://api.github.com/repos/Alir3z4/python-stop-words/commits/83236295e79eef723282b0e05669c1b85ac129b6"}]}