[Python-Dev] Autoloading? (Making Queue.Queue easier to use)

Aahz aahz at pythoncraft.com
Wed Oct 12 23:02:41 CEST 2005


On Wed, Oct 12, 2005, Michael Chermside wrote:
> Guido says:
>> Aahz writes:
>>>
>>> (Python 3.0 should "deprecate" ``thread`` by renaming it to ``_thread``).
>> 
>> +1. (We could even start doing this before 3.0.)
> 
> Before 3.0, let's deprecate it by listing it in the Deprecated modules
> section within the documentation... no need to gratuitously break code
> by renaming it until 3.0 arrives.

Note carefully the deprecation in quotes.  It's not going to be
literally deprecated, only renamed, similar to the way _socket and
socket work together.  We could also rename to _threading, but I prefer
the simpler change of only a prepended underscore.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair


More information about the Python-Dev mailing list