Hello,

> --- python/branches/release31-maint/Lib/configparser.py       (original)
> +++ python/branches/release31-maint/Lib/configparser.py       Wed Feb  2 
> 22:35:48 2011
> @@ -88,7 +88,7 @@
>  """
>  
>  try:
> -    from collections import OrderedDict as _default_dict
> +    from collections import Mapping, OrderedDict as _default_dict
>  except ImportError:
>      # fallback for setup.py which hasn't yet built _collections
>      _default_dict = dict

Buildbots can’t compile after that change, because Mapping is not found.
 I suggest aliasing Mapping to dict in the except block (untested).

Regards
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to