[Python-bugs-list] [ python-Bugs-740026 ] re.finditer() listed as new in 2.2.?

SourceForge.net noreply@sourceforge.net
Mon, 19 May 2003 11:52:41 -0700


Bugs item #740026, was opened at 2003-05-19 20:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=740026&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Grzegorz Adam Hankiewicz (gradha)
Assigned to: Nobody/Anonymous (nobody)
Summary: re.finditer() listed as new in 2.2.?

Initial Comment:
Documentation says re.finditer() is new in 2.2
(http://www.python.org/doc/current/lib/node99.html),
but this is not totally correct:

[gradha@ws5:0] [~/cms_freeze]$ python
Python 2.2.1 (#1, Sep 10 2002, 17:49:17)
[GCC 3.2] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import re
>>> re.finditer
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'finditer'

[0:arpa/g/gradha> /usr/pkg/bin/python2.2
Python 2.2.2 (#1, Mar 13 2003, 22:53:11)
[GCC 2.95.3 20010315 (release) (NetBSD nb3)] on netbsd1
Type "help", "copyright", "credits" or "license" for
more information.
>>> import re
>>> re.finditer
<function finditer at 0x1201ed218>

The first log was produced on an 8.1 Suse default
distro. For a moment I wanted to blame Suse, but I
thought: "hey, let's blame the documentation!". Please
extend that version number to 2.2.2.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=740026&group_id=5470