[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2020-03-03 Thread Andrew Bartlett
Andrew Bartlett added the comment: ...Python 2.9 or at best 2.10. Of course I mean Python 3.9 or at best 3.10. Sorry for the confusion. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2020-03-03 Thread Andrew Bartlett
Andrew Bartlett added the comment: I think we are speaking past each other. Yes, Python 2 is no longer being changed, which is awesome as we need for fear breakage of the older builds that use that for the build system. The issue isn't the particular language feature

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2020-03-02 Thread Andrew Bartlett
Andrew Bartlett added the comment: Thanks for the reply. To clarify, it is best to understand where Samba thinks of itself in terms of Python. We use python, but we don't really think of ourselves as a python project, and while we have some developers with a depth of experience

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2020-02-20 Thread Andrew Bartlett
Andrew Bartlett added the comment: This breaks Samba's build: https://bugzilla.samba.org/show_bug.cgi?id=14266 While we are of course able to patch new versions of Samba, this will make it harder to bisect back though Samba history. It would be really great if this kind of change could