[issue20148] Convert the _sre module to use Argument Clinic

Serhiy Storchaka report at bugs.python.org
Mon Jan 6 17:04:29 CET 2014


New submission from Serhiy Storchaka:

Here is preliminary patch which converts the _sre module to use Argument Clinic. 22 functions are converted.

There are thre problems:

* Issue20141. The code was manually edited after Argument Clinic (and should be edited again for next run of Argument Clinic).

* Issue20144. Literal 1000000000 is temporary used instead of PY_SSIZE_T_MAX.

* Pydoc for _sre.compile (and only for this function) returns:

    _sre.compile = <built-in function compile>

----------
components: Extension Modules, Regular Expressions
messages: 207448
nosy: ezio.melotti, larry, mrabarnett, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Convert the _sre module to use Argument Clinic
type: enhancement
versions: Python 3.4

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


More information about the Python-bugs-list mailing list