-
Notifications
You must be signed in to change notification settings - Fork 105
DeprecationWarning: 'U' mode is deprecated #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Since Python 3.3 is in the support Matrix, does that work the same? |
It seems so: https://docs.python.org/3.3/library/functions.html#open. The
|
The PR you propose is def an enhancement we will have to follow up with open and read eventially tho |
I can start with readlines and then work my way through. |
closed by #116 |
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 toNone
, the default, uses universal new line.I have identified only three
rU
modes. Two in thereadline
function and one regarding svn.rU
for python 2 andr
otherwise.The text was updated successfully, but these errors were encountered: