smirarab / sepp

Ensemble of HMM methods (SEPP, TIPP, UPP)
GNU General Public License v3.0
89 stars 38 forks source link

Please consider dropping obsolete "U" mode passed to open() #124

Closed pgrt closed 3 months ago

pgrt commented 1 year ago

Hello,

There are four places in the source code of sepp 4.5.1 (and also at the current tip of the master branch) where open is used with the "rU" speficier.

The "U" mode has been deprecated in Python since Python3 and has had no effect. In Python 3.11, it is now disallowed. This mode flag causes runtime failures.

Link to Debian bug tracker about this for information: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029580

Best,

-- Pierre

smirarab commented 3 months ago

e544a9c85ea4c51d981cb8521adb87c0632c9e25