o ,º] ã@sÄdZddlmZddlmZmZmZmZmZer'ddl m Z m Z m ZmZmZnddlm Z m Z mZmZmZddlmZmZmZmZmZmZmZmZmZmZmZddlmZejr^gd¢Zd SgZd S) a¹ A resurrection of some old functions from Python 2 for use in Python 3. These should be used sparingly, to help with porting efforts, since code using them is no longer standard Python 3 code. This module provides the following: 1. Implementations of these builtin functions which have no equivalent on Py3: - apply - chr - cmp - execfile 2. Aliases: - intern <- sys.intern - raw_input <- input - reduce <- functools.reduce - reload <- imp.reload - unichr <- chr - unicode <- str - xrange <- range 3. List-producing versions of the corresponding Python 3 iterator-producing functions: - filter - map - range - zip 4. Forward-ported Py2 types: - basestring - dict - str - long - unicode é)ÚPY3)ÚfilterÚmapÚrangeÚreduceÚzip)Ú basestringÚolddictÚoldstrÚlongÚunicode)rÚdictÚstrr r ) ÚapplyÚchrÚcmpÚexecfileÚinternÚoctÚ raw_inputÚreloadÚunichrr Úxrange)Úutils)rrrrrrr rr r rrrrrrrrrN) Ú__doc__Ú future.utilsrÚpast.builtins.noniteratorsrrrrrÚ past.typesrr r r rr r Ú __builtin__Úpast.builtins.miscrrrrrrrrrrÚpastrÚ__all__©r"r"ú8/usr/lib/python3/dist-packages/past/builtins/__init__.pyÚs )4