|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5580 Replace deprecated functions from string module |
Date: | Fri, 25 Oct 2019 11:48:47 -0000 |
commit e57c27dc14a188bfdbcf0b1af9af0564218d9cdf Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Fri Oct 18 21:56:26 2019 +0200 Issue 5580/6: Drop now unused 'import string' commit ee6d1f8119f5a2f49ed63a668c51f6825af31bee Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Fri Oct 18 21:51:32 2019 +0200 Issue 5580/5: Replace string.replace() by str.replace() The method is available since at least Python 2.4. commit 15a81586f70aa859de917c389a23ddaf8bd3365f Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Fri Oct 18 21:46:58 2019 +0200 Issue 5580/4: Replace string.strip() by str.strip() The method is available since at least Python 2.4. commit a7d581df1611cf3a7d59bdd2985e31ab96d2be9f Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Fri Oct 18 21:41:44 2019 +0200 Issue 5580/3: Replace string.join() by sep.join() The method is available since at least Python 2.4 and "the default value for sep is a single space character." commit 440d90310d9613856df4496a764165f1eab593ab Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Fri Oct 18 21:33:45 2019 +0200 Issue 5580/2: Replace string.split() by str.split() The new method is available since at least Python 2.4. commit 8f95f02325a2a9d2a008a8eeb8780da5740e2c57 Author: Jonas Hahnfeld <hahnjo@hahnjo.de> Date: Fri Oct 18 21:29:09 2019 +0200 Issue 5580/1: Replace string.atoi() by int() The functions are available since Python 2.0 and take the same arguments.
[issues:#5580] Replace deprecated functions from string module
Status: Fixed
Labels: Fixed_2_21_0
Created: Sat Oct 19, 2019 12:10 PM UTC by Jonas Hahnfeld
Last Updated: Fri Oct 25, 2019 09:34 AM UTC
Owner: Jonas Hahnfeld
Replace deprecated functions from string module
These methods have been deprecated since at least Python 2.4 and their
replacements are available since at least that version.
Individual changes:
* Replace string.atoi() by int()
* Replace string.split() by str.split()
* Replace string.join() by sep.join()
* Replace string.strip() by str.strip()
* Replace string.replace() by str.replace()
* Drop now unused 'import string'
http://codereview.appspot.com/566920044
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |