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

Load optional #3

Merged
8 commits merged into from Nov 15, 2010

Conversation

Projects
None yet
1 participant
@kentfredric
Contributor

kentfredric commented Nov 13, 2010

I've added a new function, load_optional_class , that allows people to DWIM with loading classes optionally, because generally speaking, if the class exists, but its broken, you WANT it do die(); properly.

Its based on my previous tree.

Tests added, tested on 5.8.9 to work as expected.

Thanks =)

@kentfredric

This comment has been minimized.

Show comment
Hide comment
@kentfredric

kentfredric Nov 13, 2010

Contributor

If you're wanting the rationale behind it, http://blog.fox.geek.nz/2010/11/handling-optional-requirements-with.html may be of some use.

Contributor

kentfredric commented Nov 13, 2010

If you're wanting the rationale behind it, http://blog.fox.geek.nz/2010/11/handling-optional-requirements-with.html may be of some use.

This issue was closed.

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