[Python-ideas] a simple namespace type

Eric Snow ericsnowcurrently at gmail.com
Tue May 29 02:00:24 CEST 2012


On Mon, May 28, 2012 at 10:34 AM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
> On Sun, May 27, 2012 at 2:09 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> There's also a potentially less controversial alternative: just add an easy
>> spelling for "type(name, (), {})" to the C API.
>
> I really like this.  There's a lot of boilerplate to create just a
> simple type like this in the C API.  I'll see what I can come up with.
>  :)

http://bugs.python.org/issue14942

-eric



More information about the Python-ideas mailing list