After update from 3.7.1+ to 3.7.2 when I create course I get only course creator role in this course (dont have editingteacher role) although I have set creatornewroleid = editingteacher. I'm testing this on new moodle instance and there is the same problem.
Have you got the same problem?