[New-bugs-announce] [issue30397] Expose regular expression and match objects types in the re module

Serhiy Storchaka report at bugs.python.org
Thu May 18 05:17:51 EDT 2017


New submission from Serhiy Storchaka:

Proposed patch adds re.Patter and re.Match types (names are conforming with the typing module) that represent the types of compiled regular expressin objects and match objects. The purpose of this is exposing the documentation of the methods of these objects in the module documentation produced by pydoc.

The patch also changes the __module__ attribute of these classes and re.error (this enhances the help and repr and increases pickle compatibility of re.error), adds docstrings for re.error and many descriptors, and fixes few other docstrings.

----------
assignee: serhiy.storchaka
components: Extension Modules, Library (Lib), Regular Expressions
messages: 293914
nosy: ezio.melotti, mrabarnett, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Expose regular expression and match objects types in the re module
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30397>
_______________________________________


More information about the New-bugs-announce mailing list