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

Let's simplify everything and make one factory function #19

Closed
iLoveTux opened this issue Nov 6, 2016 · 0 comments
Closed

Let's simplify everything and make one factory function #19

iLoveTux opened this issue Nov 6, 2016 · 0 comments

Comments

@iLoveTux
Copy link
Owner

iLoveTux commented Nov 6, 2016

Trying to make everything work on Windows has taken a huge portion of my time and has led me to learn way too much (and too little) about the pywin32 project. What I propose is to create a factory function which takes a function function and returns a class. This class will be constructed based on the current platform.

Come to think of it, this sounds a lot like a decorator. I'm going to try that and see what happens.

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

No branches or pull requests

1 participant