Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:" ': 0.03; 'subject:Function': 0.09; 'examples': 0.12; 'finney': 0.16; 'subject: \n ': 0.16; 'subject:vs.': 0.16; 'subject:was': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'message-id:@mail.gmail.com': 0.28; 'generic': 0.29; 'match': 0.30; 'rather': 0.33; 'to:addr:python- list': 0.34; 'but': 0.37; 'getting': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'subject:. ': 0.66; 'said:': 0.67; 'subject:!)': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=kwrCFL+RPqs8NKHUnyH77nY8u/TaQge0te+JQgMfpCM=; b=LC5ajMC0cwPS0kc4QBZuZhVEfo+lVQEHkqTRG1VPnU1tigNHf2A9LIuCISkacsxfuP Xufwe6FO0W5m+ejsCCoWCuQfeStaNVEON2bvjiz0VxNl3ucct83woBacqGJ02+WOS6uA 2D44AcfrH73KGoMXOWnxh8aPI8urV2rTwUiPU= MIME-Version: 1.0 Date: Sat, 30 Jul 2011 07:45:10 +0530 Subject: Re: Function "modes" vs. separate functions (was: PyWart: os.path needs immediate attention!) From: Rustom Mody To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311992112 news.xs4all.nl 23924 [2001:888:2000:d::a6]:53675 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10565 Ben Finney said: > But this is all getting rather generic and abstract. What specific > real-world examples do you have in mind? regex match vs regex search?