Module Import alias Import alias ImportFrom alias alias alias alias alias alias Import alias ImportFrom alias Import alias Import alias Import alias Assert CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num Num ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call NameLoad BinOpMod Str NameLoad keyword Str If CompareNotEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Print Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str keyword Str If CompareNotEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Print Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If CompareEq Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Num If BoolOpAnd UnaryOpNot NameLoad CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore Call AttributeLoad Call NameLoad ListLoad Str Str Str attr Str NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str Str attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list Return Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Num Index Num Return BinOpAdd SubscriptLoad NameLoad Slice UnaryOpUSub Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad TryFinally body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr finalbody Delete SubscriptDel AttributeLoad NameLoad attr Index Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str For NameStore NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Str Import alias Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad ListLoad Str keyword ListLoad Str Str Str Str Str Str Str Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str If CompareEq NameLoad NameLoad body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Raise Call NameLoad BinOpMod Str NameLoad While Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq NameLoad Str body Return NameLoad orelse If CompareIn NameLoad Call AttributeLoad NameLoad attr body Return SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad If NameLoad body For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Break orelse TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Return NameLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Import alias ImportFrom alias alias alias alias TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad Return Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad If NameLoad body For NameStore NameLoad body If Call NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad NameLoad attr body Continue For NameStore Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad body Expr Yield NameLoad If UnaryOpNot NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad ListLoad ListLoad NameLoad NameLoad NameLoad body Expr Str ImportFrom alias alias alias alias alias alias alias alias alias ImportFrom alias Assert UnaryOpNot Call NameLoad NameLoad NameLoad BinOpMod Str NameLoad Assign NameStore Str If NameLoad body Assign NameStore Call NameLoad For NameStore NameLoad body For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Break orelse If NameLoad body Assign NameStore BoolOpOr BoolOpAnd Call NameLoad NameLoad ListLoad NameLoad ListLoad orelse Assign NameStore BoolOpOr BoolOpAnd Call NameLoad NameLoad ListLoad NameLoad ListLoad If UnaryOpNot NameLoad body If CompareIs NameLoad NameLoad body Pass orelse If CompareIs NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass orelse Expr Call NameLoad NameLoad For NameStore NameLoad body If BoolOpAnd BoolOpOr NameLoad UnaryOpNot Call NameLoad NameLoad Call NameLoad NameLoad body If NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Continue orelse Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd BoolOpOr CompareEq NameLoad Str BoolOpAnd CompareEq NameLoad Str UnaryOpNot NameLoad Call NameLoad NameLoad NameLoad NameLoad body Expr Yield NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad ListLoad NameLoad body For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue orelse Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareEq NameLoad Str Call NameLoad NameLoad NameLoad NameLoad body Expr Yield NameLoad If UnaryOpNot Call NameLoad NameLoad ListLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad If NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad NameLoad body Expr Yield NameLoad orelse If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args defaults body Global identifier If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad Call NameLoad NameLoad Str TryFinally body Import alias Assign NameStore AttributeLoad NameLoad attr finalbody Delete SubscriptDel AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list
N/A N/A sys N/A os os.path join dirname normpath abspath exists basename N/A re glob glob N/A codecs N/A webbrowser N/A mklib N/A N/A N/A mklib __version_info__ N/A 0 7 2 mklib.common MkError mklib Task mk mklib sh bugs N/A Task N/A N/A open bug/issues page make N/A N/A self N/A N/A N/A N/A N/A webbrowser open http://github.com/trentm/django-markdown-deux/issues N/A N/A site N/A Task N/A N/A open project page make N/A N/A self N/A N/A N/A N/A N/A webbrowser open http://github.com/trentm/django-markdown-deux N/A N/A pypi N/A Task N/A N/A open project page make N/A N/A self N/A N/A N/A N/A N/A webbrowser open http://pypi.python.org/pypi/django-markdown-deux/ N/A N/A cut_a_release N/A Task N/A N/A automate the steps for cutting a release
    
    See 'docs/devguide.md' in <http://github.com/trentm/eol> for details.
     N/A proj_name django-markdown-deux N/A version_py_path lib/markdown_deux/__init__.py N/A version_module markdown_deux N/A _changes_parser N/A N/A re compile N/A ^## %s (?P<ver>[\d\.abc]+)(?P<nyr>\s+\(not yet released\))?(?P<body>.*?)(?=^##|\Z) proj_name N/A N/A re M N/A re S make N/A N/A self N/A N/A N/A DRY_RUN False N/A version N/A N/A self _get_version N/A N/A DRY_RUN N/A N/A answer N/A query_yes_no N/A * * *
Are you sure you want cut a %s release?
This will involved commits and a release to pypi. version default no N/A N/A answer yes N/A N/A N/A N/A N/A self log info user abort N/A N/A * * * N/A N/A N/A N/A self log info cutting a %s release version N/A changes_path N/A join N/A self dir CHANGES.md N/A changes_txt changes_txt_before N/A N/A N/A N/A codecs open changes_path r utf-8 read N/A changes_sections N/A N/A N/A self _changes_parser findall changes_txt N/A top_ver N/A N/A changes_sections N/A 0 N/A 0 N/A N/A top_ver version N/A N/A N/A MkError N/A top section in `CHANGES.md' is for version %r, expected version %r: aborting N/A top_ver version N/A top_nyr N/A N/A changes_sections N/A 0 N/A 1 N/A N/A top_nyr N/A N/A answer N/A query_yes_no 
* * *
The top section in `CHANGES.md' doesn't have the expected
'(not yet released)' marker. Has this been released already? default yes N/A N/A answer no N/A N/A N/A N/A N/A self log info abort N/A N/A * * * N/A top_body N/A N/A changes_sections N/A 0 N/A 2 N/A N/A N/A N/A top_body strip (nothing yet) N/A N/A N/A MkError top section body is `(nothing yet)': it looks like nothing has been added to this release N/A changes_txt N/A N/A changes_txt replace  (not yet released) 1 N/A N/A N/A DRY_RUN N/A changes_txt changes_txt_before N/A N/A N/A N/A N/A self log info prepare `CHANGES.md' for release N/A f N/A N/A codecs open changes_path w utf-8 N/A N/A N/A f write changes_txt N/A N/A N/A f close N/A N/A N/A sh run N/A git commit %s -m "prepare for %s release" N/A changes_path version N/A N/A self log debug N/A curr_tags N/A set N/A t N/A t N/A N/A N/A _capture_stdout N/A git tag -l split t N/A N/A N/A DRY_RUN N/A version curr_tags N/A N/A N/A N/A N/A self log info tag the release N/A N/A N/A sh run N/A git tag -a "%s" -m "version %s" N/A version version N/A N/A self log debug N/A N/A N/A sh run git push --tags N/A N/A self log debug N/A N/A N/A N/A self log info release to pypi N/A N/A DRY_RUN N/A N/A N/A mk pypi_upload N/A next_version N/A N/A self _get_next_version version N/A N/A N/A N/A self log info prepare for future dev (version %s) next_version N/A marker N/A ## %s %s
 N/A N/A self proj_name version N/A N/A marker changes_txt N/A N/A N/A MkError N/A couldn't find `%s' marker in `%s' content: can't prep for subsequent dev N/A marker changes_path N/A changes_txt N/A N/A changes_txt replace N/A ## %s %s
 N/A N/A self proj_name version N/A ## %s %s (not yet released)

(nothing yet)

## %s %s
 N/A N/A self proj_name next_version N/A self proj_name version N/A N/A DRY_RUN N/A N/A f N/A N/A codecs open changes_path w utf-8 N/A N/A N/A f write changes_txt N/A N/A N/A f close N/A ver_path N/A join N/A self dir N/A normpath N/A self version_py_path N/A ver_content N/A N/A N/A N/A codecs open ver_path r utf-8 read N/A version_tuple N/A N/A self _tuple_from_version version N/A next_version_tuple N/A N/A self _tuple_from_version next_version N/A marker N/A __version_info__ = %r N/A version_tuple N/A N/A marker ver_content N/A N/A N/A MkError N/A couldn't find `%s' version marker in `%s' content: can't prep for subsequent dev N/A marker ver_path N/A ver_content N/A N/A ver_content replace marker N/A __version_info__ = %r N/A next_version_tuple N/A N/A DRY_RUN N/A N/A f N/A N/A codecs open ver_path w utf-8 N/A N/A N/A f write ver_content N/A N/A N/A f close N/A N/A DRY_RUN N/A N/A N/A N/A sh run N/A git commit %s %s -m "prep for future dev" N/A changes_path ver_path N/A N/A N/A sh run git push N/A _tuple_from_version N/A N/A self version N/A N/A _intify N/A N/A s N/A N/A N/A N/A N/A N/A int s N/A N/A N/A ValueError N/A N/A s N/A N/A N/A tuple N/A N/A _intify b N/A b N/A N/A version split . N/A _get_next_version N/A N/A self version N/A N/A N/A last_bit N/A N/A N/A version rsplit . 1 N/A -1 N/A N/A N/A last_bit N/A int last_bit N/A N/A N/A ValueError N/A N/A last_bit N/A int N/A N/A N/A re split [abc] last_bit 1 N/A -1 N/A N/A N/A version N/A N/A N/A len N/A str last_bit N/A str N/A last_bit 1 N/A _get_version N/A N/A self N/A N/A N/A lib_dir N/A join N/A dirname N/A abspath __file__ lib N/A N/A N/A N/A sys path insert 0 lib_dir N/A N/A N/A mod N/A __import__ N/A self version_module N/A N/A mod __version__ N/A N/A N/A N/A sys path N/A 0 N/A N/A clean N/A Task N/A N/A Clean generated files and dirs. make N/A N/A self N/A N/A N/A patterns N/A dist build MANIFEST *.pyc lib/*.pyc N/A pattern patterns N/A N/A p N/A join N/A self dir pattern N/A path N/A glob p N/A N/A N/A N/A sh rm path log N/A self log N/A N/A sdist N/A Task N/A N/A python setup.py sdist make N/A N/A self N/A N/A N/A N/A N/A sh run_in_dir N/A %spython setup.py sdist --formats zip N/A _setup_command_prefix N/A self dir N/A N/A self log debug N/A N/A pypi_upload N/A Task N/A N/A Upload release to pypi. make N/A N/A self N/A N/A N/A N/A N/A sh run_in_dir N/A %spython setup.py sdist --formats zip upload N/A _setup_command_prefix N/A self dir N/A N/A self log debug N/A N/A N/A N/A sys path insert 0 N/A join N/A self dir lib N/A url http://pypi.python.org/pypi/django-markdown-deux/ N/A webbrowser N/A N/A N/A webbrowser open_new url N/A N/A todo N/A Task N/A N/A Print out todo's and xxx's in the docs area. make N/A N/A self N/A N/A N/A path N/A _paths_from_path_patterns N/A . excludes N/A .svn *.pyc TODO.txt Makefile.py *.png *.gif *.pprint *.prof tmp* N/A N/A N/A N/A self _dump_pattern_in_path TO\DO\|XX\X path N/A _dump_pattern_in_path N/A N/A self pattern path N/A N/A N/A N/A N/A os system N/A grep -nH '%s' '%s' N/A pattern path N/A N/A query_yes_no N/A N/A question default N/A yes N/A N/A Ask a yes/no question via raw_input() and return their answer.
    
    "question" is a string that is presented to the user.
    "default" is the presumed answer if the user just hits <Enter>.
        It must be "yes" (the default), "no" or None (meaning
        an answer is required of the user).

    The "answer" return value is one of "yes" or "no".
     N/A valid N/A yes y ye no n yes yes yes no no N/A N/A default None N/A N/A prompt  [y/n]  N/A N/A N/A default yes N/A N/A prompt  [Y/n]  N/A N/A N/A default no N/A N/A prompt  [y/N]  N/A N/A N/A ValueError N/A invalid default answer: '%s' default N/A 1 N/A N/A N/A N/A N/A sys stdout write N/A question prompt N/A choice N/A N/A N/A raw_input lower N/A N/A N/A default None N/A choice N/A N/A default N/A N/A N/A choice N/A N/A valid keys N/A N/A N/A valid N/A choice N/A N/A N/A N/A N/A sys stdout write Please respond with 'yes' or 'no' (or 'y' or 'n').
 N/A _should_include_path N/A N/A path includes excludes N/A N/A N/A Return True iff the given path should be included. os.path basename fnmatch fnmatch N/A base N/A basename path N/A includes N/A N/A include includes N/A N/A N/A fnmatch base include N/A N/A N/A N/A N/A N/A log debug include `%s' (matches `%s') path include N/A N/A N/A N/A NameError AttributeError N/A N/A N/A N/A N/A N/A N/A N/A N/A log debug exclude `%s' (matches no includes) path N/A N/A N/A N/A NameError AttributeError N/A N/A N/A False N/A exclude excludes N/A N/A N/A fnmatch base exclude N/A N/A N/A N/A N/A N/A log debug exclude `%s' (matches `%s') path exclude N/A N/A N/A N/A NameError AttributeError N/A N/A N/A False N/A True N/A _walk N/A N/A top topdown onerror follow_symlinks N/A True None False N/A N/A A version of `os.walk()` with a couple differences regarding symlinks.
    
    1. follow_symlinks=False (the default): A symlink to a dir is
       returned as a *non*-dir. In `os.walk()`, a symlink to a dir is
       returned in the *dirs* list, but it is not recursed into.
    2. follow_symlinks=True: A symlink to a dir is returned in the
       *dirs* list (as with `os.walk()`) but it *is conditionally*
       recursed into (unlike `os.walk()`).
       
       A symlinked dir is only recursed into if it is to a deeper dir
       within the same tree. This is my understanding of how `find -L
       DIR` works.

    TODO: put as a separate recipe
     N/A os os.path join isdir islink abspath N/A N/A N/A names N/A N/A os listdir top N/A N/A N/A OSError N/A err N/A N/A N/A onerror None N/A N/A N/A onerror err N/A N/A N/A dirs nondirs N/A N/A N/A N/A follow_symlinks N/A N/A name names N/A N/A N/A isdir N/A join top name N/A N/A N/A N/A dirs append name N/A N/A N/A N/A nondirs append name N/A N/A name names N/A N/A path N/A join top name N/A N/A islink path N/A N/A N/A N/A nondirs append name N/A N/A N/A isdir path N/A N/A N/A N/A dirs append name N/A N/A N/A N/A nondirs append name N/A topdown N/A N/A N/A N/A top dirs nondirs N/A name dirs N/A N/A path N/A join top name N/A N/A follow_symlinks N/A islink path N/A N/A top_abs N/A abspath top N/A link_abs N/A abspath N/A join top N/A N/A os readlink path N/A N/A N/A N/A link_abs startswith N/A top_abs N/A os sep N/A N/A N/A x N/A _walk path topdown onerror follow_symlinks follow_symlinks N/A N/A N/A x N/A N/A topdown N/A N/A N/A N/A top dirs nondirs N/A N/A _NOT_SPECIFIED N/A NOT SPECIFIED _paths_from_path_patterns N/A N/A path_patterns files dirs recursive includes excludes skip_dupe_dirs follow_symlinks on_error N/A True never True N/A N/A False False _NOT_SPECIFIED N/A N/A _paths_from_path_patterns([<path-patterns>, ...]) -> file paths

    Generate a list of paths (files and/or dirs) represented by the given path
    patterns.

        "path_patterns" is a list of paths optionally using the '*', '?' and
            '[seq]' glob patterns.
        "files" is boolean (default True) indicating if file paths
            should be yielded
        "dirs" is string indicating under what conditions dirs are
            yielded. It must be one of:
              never             (default) never yield dirs
              always            yield all dirs matching given patterns
              if-not-recursive  only yield dirs for invocations when
                                recursive=False
            See use cases below for more details.
        "recursive" is boolean (default True) indicating if paths should
            be recursively yielded under given dirs.
        "includes" is a list of file patterns to include in recursive
            searches.
        "excludes" is a list of file and dir patterns to exclude.
            (Note: This is slightly different than GNU grep's --exclude
            option which only excludes *files*.  I.e. you cannot exclude
            a ".svn" dir.)
        "skip_dupe_dirs" can be set True to watch for and skip
            descending into a dir that has already been yielded. Note
            that this currently does not dereference symlinks.
        "follow_symlinks" is a boolean indicating whether to follow
            symlinks (default False). To guard against infinite loops
            with circular dir symlinks, only dir symlinks to *deeper*
            dirs are followed.
        "on_error" is an error callback called when a given path pattern
            matches nothing:
                on_error(PATH_PATTERN)
            If not specified, the default is look for a "log" global and
            call:
                log.error("`%s': No such file or directory")
            Specify None to do nothing.

    Typically this is useful for a command-line tool that takes a list
    of paths as arguments. (For Unix-heads: the shell on Windows does
    NOT expand glob chars, that is left to the app.)

    Use case #1: like `grep -r`
      {files=True, dirs='never', recursive=(if '-r' in opts)}
        script FILE     # yield FILE, else call on_error(FILE)
        script DIR      # yield nothing
        script PATH*    # yield all files matching PATH*; if none,
                        # call on_error(PATH*) callback
        script -r DIR   # yield files (not dirs) recursively under DIR
        script -r PATH* # yield files matching PATH* and files recursively
                        # under dirs matching PATH*; if none, call
                        # on_error(PATH*) callback

    Use case #2: like `file -r` (if it had a recursive option)
      {files=True, dirs='if-not-recursive', recursive=(if '-r' in opts)}
        script FILE     # yield FILE, else call on_error(FILE)
        script DIR      # yield DIR, else call on_error(DIR)
        script PATH*    # yield all files and dirs matching PATH*; if none,
                        # call on_error(PATH*) callback
        script -r DIR   # yield files (not dirs) recursively under DIR
        script -r PATH* # yield files matching PATH* and files recursively
                        # under dirs matching PATH*; if none, call
                        # on_error(PATH*) callback

    Use case #3: kind of like `find .`
      {files=True, dirs='always', recursive=(if '-r' in opts)}
        script FILE     # yield FILE, else call on_error(FILE)
        script DIR      # yield DIR, else call on_error(DIR)
        script PATH*    # yield all files and dirs matching PATH*; if none,
                        # call on_error(PATH*) callback
        script -r DIR   # yield files and dirs recursively under DIR
                        # (including DIR)
        script -r PATH* # yield files and dirs matching PATH* and recursively
                        # under dirs; if none, call on_error(PATH*)
                        # callback

    TODO: perf improvements (profile, stat just once)
     os.path basename exists isdir join normpath abspath lexists islink realpath glob glob N/A N/A N/A isinstance path_patterns basestring N/A 'path_patterns' must be a sequence, not a string: %r path_patterns N/A GLOB_CHARS *?[ N/A skip_dupe_dirs N/A N/A searched_dirs N/A set N/A path_pattern path_patterns N/A N/A glob_char GLOB_CHARS N/A N/A N/A glob_char path_pattern N/A N/A paths N/A glob path_pattern N/A N/A N/A follow_symlinks N/A N/A paths N/A N/A N/A exists path_pattern N/A path_pattern N/A N/A N/A paths N/A N/A N/A lexists path_pattern N/A path_pattern N/A N/A N/A paths N/A N/A N/A on_error None N/A N/A N/A N/A N/A on_error _NOT_SPECIFIED N/A N/A N/A N/A N/A N/A log error `%s': No such file or directory path_pattern N/A N/A N/A N/A NameError AttributeError N/A N/A N/A N/A N/A on_error path_pattern N/A path paths N/A N/A N/A N/A follow_symlinks N/A N/A islink path N/A isdir path N/A N/A skip_dupe_dirs N/A N/A canon_path N/A normpath N/A abspath path N/A follow_symlinks N/A N/A canon_path N/A realpath canon_path N/A N/A canon_path searched_dirs N/A N/A N/A N/A N/A N/A searched_dirs add canon_path N/A N/A N/A N/A dirs always N/A N/A dirs if-not-recursive N/A recursive N/A _should_include_path path includes excludes N/A N/A N/A path N/A N/A recursive N/A _should_include_path path N/A excludes N/A N/A N/A dirpath dirnames filenames N/A _walk path follow_symlinks follow_symlinks N/A N/A dir_indeces_to_remove N/A N/A N/A i dirname N/A enumerate dirnames N/A N/A d N/A join dirpath dirname N/A skip_dupe_dirs N/A N/A canon_d N/A normpath N/A abspath d N/A follow_symlinks N/A N/A canon_d N/A realpath canon_d N/A N/A canon_d searched_dirs N/A N/A N/A N/A dir_indeces_to_remove append i N/A N/A N/A N/A N/A searched_dirs add canon_d N/A N/A N/A dirs always N/A _should_include_path d includes excludes N/A N/A N/A d N/A N/A N/A _should_include_path d N/A excludes N/A N/A N/A N/A dir_indeces_to_remove append i N/A i N/A reversed dir_indeces_to_remove N/A N/A N/A dirnames N/A i N/A files N/A N/A filename N/A sorted filenames N/A N/A f N/A join dirpath filename N/A N/A _should_include_path f includes excludes N/A N/A N/A f N/A N/A N/A files N/A _should_include_path path includes excludes N/A N/A N/A path N/A N/A _g_version None _get_version N/A N/A N/A N/A N/A _g_version N/A N/A _g_version None N/A N/A N/A N/A N/A sys path insert 0 N/A join N/A dirname __file__ lib N/A N/A N/A cmdln N/A _g_version N/A cmdln __version__ N/A N/A N/A N/A sys path N/A 0 N/A _g_version N/A _setup_command_prefix N/A N/A N/A N/A N/A prefix N/A N/A N/A sys platform darwin N/A N/A prefix COPY_EXTENDED_ATTRIBUTES_DISABLE=1  N/A prefix N/A _capture_stdout N/A N/A argv N/A N/A N/A subprocess N/A p N/A N/A subprocess Popen argv stdout N/A subprocess PIPE N/A N/A N/A N/A p communicate N/A 0 N/A