also sprach John Goerzen <[EMAIL PROTECTED]> [2008.05.05.1700 +0100]:
> That makes sense, but would break compatibility with the existing 
> folderfilter function for everybody.  Perhaps a new config option, 
> folderfilter_quick that, if present, would be used instead of folderfilter 
> when run in quick mode?

Python's duck typing allows you to check the number of parameters
a function takes. See e.g.
http://git.ikiwiki.info/?p=ikiwiki;a=commitdiff;h=8a43597a00e561ecab541069661090947ae79899

Not sure which approach is the bigger hack...

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"if confronted with a choice between all the truth in god's right hand
 and the ever live struggle for truth, coupled with eternal error, in
 god's left, i would choose the left."
                                                   -- gotthold lessing

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to