Skip to content

Fix usage of deprecated rU file mode#13

Open
devbranch-vadym wants to merge 1 commit into
halfmarble:mainfrom
devbranch-vadym:fix-deprecated-ru-file-mode
Open

Fix usage of deprecated rU file mode#13
devbranch-vadym wants to merge 1 commit into
halfmarble:mainfrom
devbranch-vadym:fix-deprecated-ru-file-mode

Conversation

@devbranch-vadym

Copy link
Copy Markdown

The rU file mode is deprecated, it does not have any effect since Python 3.0 and causes errors while opening the file at newer Python versions (happening with 3.11.6 for me).

https://docs.python.org/3/library/functions.html#open

Closes #11

@oliv3r

oliv3r commented Sep 26, 2024

Copy link
Copy Markdown

Can confirm this error, and the fix.

@kaza007

kaza007 commented Oct 9, 2024

Copy link
Copy Markdown

confirmed error and fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mode "rU" is deprecated

3 participants