[issue13599] Compiled regexes don't show all attributes in dir()

2011-12-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue13599] Compiled regexes don't show all attributes in dir()

2011-12-14 Thread Martin Häcker
Martin Häcker added the comment: Indeed, I'm on version % python --version Python 2.7.1 Sorry. -- status: pending -> closed ___ Python tracker ___ ___

[issue13599] Compiled regexes don't show all attributes in dir()

2011-12-14 Thread Ezio Melotti
Ezio Melotti added the comment: This seems already fixed in 2.7.2+/3.2/3.3, what version have you tried? -- resolution: -> out of date status: open -> pending type: -> enhancement ___ Python tracker

[issue13599] Compiled regexes don't show all attributes in dir()

2011-12-14 Thread Martin Häcker
New submission from Martin Häcker : When looking at a regex with dir() you don't get all available attributes - which is inconvenient as some very important ones (like .pattern) are not visible. To demonstrate: > import re > re.compile('foo').pattern 'foo' > dir(re.compile('foo')) ['__copy__