A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021085.html below:

[Python-Dev] Slash and burn in Tools/scripts. Objections?

[Python-Dev] Slash and burn in Tools/scripts. Objections? [Python-Dev] Slash and burn in Tools/scripts. Objections?Skip Montanaro skip@pobox.com
Wed, 13 Mar 2002 20:15:10 -0600
    >> "Traverse, maybe modify and replace" is a non-trivial but
    >> non-excruciating blob of code that gets reinvented repeatedly, so
    >> pointless variations are bound to creep in.
    >> 
    >> 'Twould be nice to factor that out into a common, consistent utility.

    Trent> Any pointers on which script might have the best crack at that?
    Trent> reindent.py?  tabnanny.py? another?

Mailman has a script called 'withlist' that implements the basic "loop over
everything in the list".  The caller provides the name of a callable object
that is called, more or less like os.path.walk.  Might be a good place to
look.

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4