Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Support for Python versions <3.7? #4

Open
njsmith opened this issue Apr 20, 2018 · 2 comments
Open

Support for Python versions <3.7? #4

njsmith opened this issue Apr 20, 2018 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@njsmith
Copy link

njsmith commented Apr 20, 2018

Not sure if this would violate your principles or not, but this hack would let you make this work on all versions of Python, I think :-)

@brettcannon
Copy link
Owner

As of right now I don't want the headache of caring about anything older than Python 3.7, but maybe I can be convinced. 😉

I could also make everything that is lazy simply not be lazy in the face of being older than Python 3.7 so that it can be a drop-in thing that's great in >=3.7 but a no-op in <3.7.

@brettcannon brettcannon added the enhancement New feature or request label Apr 21, 2018
@brettcannon
Copy link
Owner

Thinking about this some more, making lazy_import() not lazy on <3.7 might be okay if a big project came forward and said they would totally use this if that was added. Everything else I have planned, though, just currently isn't structured to work in a pre-3.7 world. 😁

@brettcannon brettcannon added the question Further information is requested label Apr 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants