Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Jul 30, 2018

All use of these attributes should be guarded by if __debug__.
However, that's not always the case. Providing different API based
on __debug__ is unnecessarily fragile.

This is intended as a quick fix for a maintenance release (3.1.1). More coming up in another PR.

Fixes: #226

@encukou encukou requested a review from tiran July 30, 2018 17:20
All use of these attributes *should* be guarded by `if __debug__`.
However, that's not always the case. Providing different API based
on __debug__ is unnecessarily fragile.

This is intended as a quick fix for a maintenance release.

Fixes: python-ldap#226
@encukou
Copy link
Member Author

encukou commented Jan 30, 2019

@tiran, could you have a quick look here?

Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@tiran tiran merged commit b66e56d into python-ldap:master Mar 8, 2019
@Tardo Tardo mentioned this pull request Jun 21, 2022
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

Successfully merging this pull request may close these issues.

AttributeError: 'module' object has no attribute '_trace_level'

2 participants