[Python-Dev] PEP: Consolidating names in the `unittest` module

Michael Foord fuzzyman at voidspace.org.uk
Wed Jul 16 03:03:53 CEST 2008


Collin Winter wrote:
> On Tue, Jul 15, 2008 at 6:58 AM, Ben Finney <ben+python at benfinney.id.au> wrote:
>>
>> Backwards Compatibility
>> =======================
>>
>> The names to be obsoleted should be deprecated and removed according
>> to the schedule for modules in PEP 4 [#PEP-4]_.
>>
>> While deprecated, use of the deprecated attributes should raise a
>> ``DeprecationWarning``, with a message stating which replacement name
>> should be used.
>>     
>
> Is any provision being made for a 2to3 fixer/otherwise-automated
> transition for the changes you propose here?
>   

As the deprecation is intended for 2.X and 3.X - is 2to3 fixer needed?

Michael
> Collin Winter
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>   


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/



More information about the Python-Dev mailing list