[New-bugs-announce] [issue14942] add PyType_New()
Eric Snow
report at bugs.python.org
Tue May 29 01:56:24 CEST 2012
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
Nick Coghlan suggested[1] exploring an easier spelling for "type(name, (), {})" in the C API. I've attached a patch that adds a function that does so: _PyType_New(). It's "private" in the patch, but only because I am reticent to expand the API without solid feedback from the more experienced devs.
Even if I didn't get the implementation quite right (I'm relatively new to the C API), the patch at least demonstrates the concept. :)
[1] http://mail.python.org/pipermail/python-ideas/2012-May/015281.html
----------
files: PyType_New.diff
keywords: patch
messages: 161820
nosy: eric.snow
priority: normal
severity: normal
status: open
title: add PyType_New()
versions: Python 3.3
Added file: http://bugs.python.org/file25752/PyType_New.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14942>
_______________________________________
More information about the New-bugs-announce
mailing list