You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From python 3.4 on, the 'U' mode of open has been deprecated.
According to this answer the 'U' has been replaced by the newline argument, that when set to None, the default, uses universal new line.
I have identified only three rU modes. Two in the readline function and one regarding svn.
If it's fine with you, for the first two cases I'll do a PR where I set the mode to rU for python 2 and r otherwise.
I don't think that I need to touch the svn case, as the mode is never used