A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025410.html below:

[Python-Dev] 'new' and 'types'

[Python-Dev] 'new' and 'types' [Python-Dev] 'new' and 'types'Guido van Rossum guido@python.org
Fri, 14 Jun 2002 15:49:43 -0400
> Patch 568629 removes the built-in module new (with sincere apologies
> to Tommy Burnette ;-) and replaces it with a tiny Python module
> consisting of a single import statement:

I'm reviewing it now.  It seems it's your patch.  Did you forget to
mention that in this message?

> Now, what about the types module?  It has been suggested that this
> module should be deprecated.  I think it still has some use: we need
> a place to put all the types that are not used often enough to be
> added to the builtins.  I suggest that they be placed in the module
> 'types' with names matching their __name__ attribute.  The types
> module will still have the long MixedCaseType names for backward
> compatibility.  The use of the long names should be deprecated, not
> the types module itself.

Not a bad idea.

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4