Third Draft: Pep for Deprecating Builtins
Sean 'Shaleh' Perry
shalehperry at attbi.com
Mon Apr 29 15:42:31 EDT 2002
On 29-Apr-2002 Raymond Hettinger wrote:
> From the comments, I've learned:
>
> 1. map, filter, divmod, and pow may be immovable and should
> be left alone.
>
> 2. reduce has fewer friends, but should probably also be
> left alone
>
thank you, thank you. Gah, I could not imagine being forced to use list
comprehensions everywhere.
> 4. apply() was repeatedly suggested as another candidate for
> deprecation since the * and ** forms make it obsolete
>
> 5. oct() is another candidate based on the rarity of usage
>
so should we remove the left and right bit shift ops too then? oct() may be
rarely used but having it keeps me from writing C or perl code.
More information about the Python-list
mailing list