[issue5878] Regular Expression instances

2009-04-29 Thread Georg Brandl
Georg Brandl added the comment: The output is probably from the stone-aged original re module. Fixed in r72132. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue5878] Regular Expression instances

2009-04-29 Thread Ezio Melotti
Ezio Melotti added the comment: Looks like a documentation bug, afaik it has always been <_sre.SRE_Pattern object at 0x00A0BB78> (just checked on Python >=2.4). Maybe it used to be in older versions. -- nosy: +ezio.melotti versions: +Python 2.4, Python 2.5, Python 2.6, Python 2.7

[issue5878] Regular Expression instances

2009-04-29 Thread Emilio
New submission from Emilio : Following the example from http://docs.python.org/3.0/howto/regex.html If I execute the following code on the python shell (3.1a1): >>> import re >>> p = re.compile('ab*') >>> p I get the msg: <_sre.SRE_Pattern object at 0x013A3440> instead of the msg from the exa