How standard is the standard library?

Discussion in 'Python' started by steve.leach, Apr 18, 2005.

  1. steve.leach

    steve.leach Guest

    Newbie question: Looking through my stack of books and various on-line
    references, I have seen several libraries and library functions listed
    as depreciated.

    Is there a road map or concrete list of what parts of the standard
    library are to be considered reliable and permanent? Coming from C, I
    am used to library functions being set in stone.

    Can I reasonably expect that code using, for instance xml.dom.minidom
    will still work in 10 years?

    Do all depreciated libraries print warnings when they are imported? I
    see that if I print xmllib, I get the message "The xmllib module is
    obsolete. Use xml.sax instead." Is this behavior followed
    consistently, to give a "this code might not work come this time next
    year" warning?
    steve.leach, Apr 18, 2005
    #1
    1. Advertising

  2. On Mon, 18 Apr 2005 11:43:15 -0400, rumours say that "steve.leach"
    <> might have written:

    >Newbie question: Looking through my stack of books and various on-line
    >references, I have seen several libraries and library functions listed
    >as depreciated.
    >
    >Is there a road map or concrete list of what parts of the standard
    >library are to be considered reliable and permanent? Coming from C, I
    >am used to library functions being set in stone.


    [snip]

    You didn't mention any reading of PEP 4 (which would be obvious by a
    simple google search), so take a look at this:

    http://www.python.org/peps/pep-0004.html
    --
    TZOTZIOY, I speak England very best.
    "Be strict when sending and tolerant when receiving." (from RFC1958)
    I really should keep that in mind when talking with people, actually...
    Christos TZOTZIOY Georgiou, Apr 18, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fredrik Lundh
    Replies:
    0
    Views:
    432
    Fredrik Lundh
    Feb 4, 2005
  2. Daniel Bickett
    Replies:
    0
    Views:
    380
    Daniel Bickett
    Feb 4, 2005
  3. funkyj
    Replies:
    5
    Views:
    1,122
    funkyj
    Jan 20, 2006
  4. Carmen Sei
    Replies:
    4
    Views:
    836
    James Kanze
    Mar 5, 2008
  5. defn noob
    Replies:
    1
    Views:
    380
    Mark Space
    Jun 28, 2008
Loading...

Share This Page