Simplify the Library implementation slightly: #95

Merged
merged 1 commit into from Jul 16, 2014

Projects

None yet

4 participants

Owner
alex commented Jul 15, 2014
  • Remove _initialized flag and just test if self._lib is None. This removes an obnoxious error in the event you try to inspect ._lib before Library is initialized
  • Removed the caching of attributes on self, and instead always do the lookup on Lib
@alex alex Simplify the Library implementation slightly:
* Remove _initialized flag and just test if self._lib is None. This removes an obnoxious error in the event you try to inspect ._lib before Library is initialized
* Removed the caching of attributes on self, and instead always do the lookup on Lib
70b623a
Owner
dstufft commented Jul 15, 2014

:shipit:

Coverage Status

Coverage decreased (-0.05%) when pulling 70b623a on alex:do-less-stuff into 75a6697 on pyca:master.

@reaperhulk reaperhulk merged commit 0b12ae7 into pyca:master Jul 16, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@alex alex deleted the alex:do-less-stuff branch Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment