FAQ
Random thoughts on the Generic Operating System Services chapter of
the library guide: http://docs.python.org/dev/library/allos.html

* There are four sections that are very long and complex, nesting down
to four levels: argparse, optparse, logging, and ctypes. Should any
of them become chapters of their own?

logging and ctypes seem like the most plausible ones to move. We
could move argparse/optparse/getopt into a chapter by themselves,
but that wouldn't reduce the nesting depth at all.

* The usual rationale for the ordering is from more widely used
modules to more esoteric or little-used. Should we therefore move
optparse to follow getopt instead of preceding it?

* I thought we were going to add a warning to the optparse docs
suggesting people use argparse instead. Shall I go ahead and write
that, or was it decided to not do that?

--amk

Search Discussions

  • Michael Foord at May 19, 2010 at 6:40 pm

    On 12/05/2010 15:44, A.M. Kuchling wrote:
    [snip...]
    * I thought we were going to add a warning to the optparse docs
    suggesting people use argparse instead. Shall I go ahead and write
    that, or was it decided to not do that?
    Yes - I think we definitely should, please go ahead. This was part of
    the rationale for bringing in a new argument handling module into the
    standard library.

    All the best,

    Michael
    --amk
    _______________________________________________
    Doc-SIG maillist - Doc-SIG at python.org
    http://mail.python.org/mailman/listinfo/doc-sig

    --
    http://www.ironpythoninaction.com/
    http://www.voidspace.org.uk/blog

    READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdoc-sig @
categoriespython
postedMay 12, '10 at 2:44p
activeMay 19, '10 at 6:40p
posts2
users2
websitepython.org

2 users in discussion

Michael Foord: 1 post A.M. Kuchling: 1 post

People

Translate

site design / logo © 2019 Grokbase