[Python-Dev] a new type for sys.implementation
Steven D'Aprano
steve at pearwood.info
Thu May 31 11:28:42 CEST 2012
On Thu, May 31, 2012 at 01:21:36AM -0600, Eric Snow wrote:
> 1. should we make the new type un-instantiable (null out tp_new and tp_init)?
Please don't. "Consenting adults" and all that. There's little things
more frustrating that having a working type that does exactly what you
want, except that some B&D coder has made it un-instantiable.
Leave it undocumented and/or a single underscore name for the time
being, with an aim to make it public in 3.4 if it is useful and there
are no major objections.
--
Steven
More information about the Python-Dev
mailing list