[Python-Dev] email package status in 3.X (original) (raw)

Michael Urman murman at gmail.com
Wed Jun 23 02:38:00 CEST 2010


On Tue, Jun 22, 2010 at 15:32, Terry Reedy <tjreedy at udel.edu> wrote:

On 6/22/2010 9:24 AM, Michael Urman wrote:

These are trivial functions; I just don't fully understand why the capability isn't baked in. Possible reasons: They are special purpose functions easily built on the basic functions provided. Fine for a 3rd party library. Most people do not need them. Some might be mislead by them. As other have said, "Not every one-liner should be builtin".

Perhaps the two-argument constructions on bytes and str should have been removed in favor of the .decode and .encode methods on their respective classes. Or vice versa; I don't have the history to know in which order they originated, and which is theoretically preferred these days.

-- Michael Urman



More information about the Python-Dev mailing list