Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: /
Date: Wed, 11 Jan 2012 12:20:26
Message-Id: 93bff8841e53b7a47dedc0509d4986e79b4e71a3.zmedico@gentoo
1 commit: 93bff8841e53b7a47dedc0509d4986e79b4e71a3
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 11 12:18:20 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 11 12:18:20 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=93bff884
7
8 DEVELOPING: remove section about string module
9
10 The module no longer exists since Python 2.7, so by now it should be
11 obvious that it's obsolete.
12
13 ---
14 DEVELOPING | 21 ---------------------
15 1 files changed, 0 insertions(+), 21 deletions(-)
16
17 diff --git a/DEVELOPING b/DEVELOPING
18 index 8286a8b..2c98ddb 100644
19 --- a/DEVELOPING
20 +++ b/DEVELOPING
21 @@ -33,27 +33,6 @@ The mixing of tabs and spaces means other developers can't read what you did.
22 This is why the python peps state spaces over tabs; because with spaces the line
23 wrapping is always clear (but you cannot convert spaces as easily as tabwidth).
24
25 -String
26 --------
27 -Try not to use the functions in the string module, they are deprecated.
28 -
29 -string.join(<iterable>," ")
30 -
31 -should be replaced with:
32 -
33 -" ".join(<iterable>)
34 -
35 -and:
36 -
37 -string.split(string, delimeter)
38 -
39 -should be replaced with:
40 -
41 -"somestring".split(delimeter)
42 -
43 -Nearly all other methods in string work on string objects and have similar calling
44 -conventions.
45 -
46 Comparisons
47 -----------