[issue12163] str.count

2011-11-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: This already seems fixed on 2.7, 3.2 and 3.3: >>> ''.find('', None) 0 -- nosy: +petri.lehtinen resolution: -> out of date status: open -> closed versions: -Python 3.1 ___ Python tracker

[issue12163] str.count

2011-05-28 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- components: +Interpreter Core versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-

[issue12163] str.count

2011-05-23 Thread R. David Murray
R. David Murray added the comment: For background on a similar issue, see #11828, especially msg133532. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue12163] str.count

2011-05-23 Thread py.user
New submission from py.user : specification says [code] str.count(sub[, start[, end]]) Return the number of non-overlapping occurrences of substring sub in the range [start, end]. Optional arguments start and end are interpreted as in slice notation. [/code] [code] >>> ''.count('', None)