Here's a list: * [Put all `import`s in one place](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L7-L15), and then [decide for the type of import](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L137-L144). * Deduplicate code. Reason why [which copy](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L179-L186) should [stay in](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L205-L207). (Also note that `__builtin__` and `__builtins__` are [related](https://docs.python.org/2.7/reference/executionmodel.html) but [different](https://docs.python.org/2/library/__builtin__.html) things.) * [Deduplicate some more](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L225-L308), this time from `dylink.r2py`. * [Check constructs](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L160-L162) that point at [issues](SeattleTestbed/repy_v2#71) that have been [fixed](SeattleTestbed/repy_v2#127). * Verify that [funny namespace overrides](https://github.com/SeattleTestbed/portability/blob/f3a798fb1400e92f865e29b9536dd4633177235a/repyportability.py#L165-L170) are still necessary in the RepyV2 API. (The Repy-`file` / Python-`file` name clash only existed in V1.)
Here's a list:
imports in one place, and then decide for the type of import.__builtin__and__builtins__are related but different things.)dylink.r2py.file/ Python-filename clash only existed in V1.)