³ò ”,9Mc@s¤dZdZddkZyeWn+ej od„Zee_eZnXyeWn+ej od„Zee_eZnXyeWn+ej od„Zee_eZnXyeWn(ej ogd„Zee_nXyeWn#ej od e_eZnXye Wn#ej od e_ e Z nXye Wnej oe e_ nXye Wn%ej od „Z e e_ nXdS( sç Compatibility idioms for __builtin__ names This module adds names to the __builtin__ module for things that we want to use in SCons but which don't show up until later Python versions than the earliest ones we support. This module checks for the following __builtin__ names: all() any() bool() dict() True False zip() Implementations of functions are *NOT* guaranteed to be fully compliant with these functions in later versions of Python. We are only concerned with adding functionality that we actually use in SCons, so be wary if you lift this code for other uses. (That said, making these more nearly the same as later, official versions is still a desirable goal, we just don't need to be obsessive about it.) If you're looking at this with pydoc and various names don't show up in the FUNCTIONS or DATA output, that means those names are already built in to this version of Python and we don't need to add them from this module. sBsrc/engine/SCons/compat/builtins.py 4629 2010/01/17 22:23:21 sconsiÿÿÿÿNcCs$x|D]}|ptSqqWtS(sH Returns True if all elements of the iterable are true. (tFalsetTrue(titerabletelement((s:install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.pytallBs  cCs$x|D]}|otSqqWtS(sF Returns True if any element of the iterable is true. (RR(RR((s:install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.pytanyQs  cCs| S(sáDemote a value to 0 or 1, depending on its truth value. This is not to be confused with types.BooleanType, which is way too hard to duplicate in early Python versions to be worth the trouble. ((tvalue((s:install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.pytbool`scKs8h}x|D]\}}|||¡s(txrangetmintmaptlentappendttuple(tliststresultR((s:install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.pytzip•s &( t__doc__t __revision__t __builtin__Rt NameErrorRRRRRtfiletopenR(((s:install/lib/scons-1.2.0.d20100117/SCons/compat/builtins.pys8sX