lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5580 Repl


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5580 Replace deprecated functions from string module
Date: Fri, 25 Oct 2019 11:51:40 -0000

Yeah, eventually a cleanup of those would be nice, and also a global policy on whether there is a space before a function call or not. But I wouldn't want to tackle this until we have migrated to Python 3, which will be difficult enough without a global reformatting...


[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 11:48 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]