Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move runtime helpers into separate package #30

Open
graingert opened this issue Jun 5, 2017 · 2 comments
Open

move runtime helpers into separate package #30

graingert opened this issue Jun 5, 2017 · 2 comments

Comments

@graingert
Copy link

graingert commented Jun 5, 2017

def _py_backwards_merge_dicts(dicts):
    result = {}
    for dict_ in dicts:
        result.update(dict_)
    return result

_py_backwards_merge_dicts(...)

could be

import py_backwards_some_module_name as _py_backwards

 _py_backwards.merge_dicts(...)
@nvbn
Copy link
Owner

nvbn commented Jun 6, 2017

It can't be part of py_backwards package, because it's not possible to install py_backwards on python < 3.3.

I think it would be better to have something like py_backwards_runtime or py_backwards_polyfill.

@graingert
Copy link
Author

that module itself would be compiled with py_backwards, but all the transformers that require runtime helpers would have to be disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants