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 testlilyissues-a...@lists.sourceforge.net 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
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto