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

Z_DEBUG_MODE seems to be unused #445

jugmac00 opened this Issue Jan 1, 2019 · 3 comments


3 participants
Copy link

jugmac00 commented Jan 1, 2019


When grepping the source code, Z_DEBUG_MODE only gets set twice in

def debug_mode(value):


but gets nowhere read.

Also, afaik debug mode gets set via buildout config.

Is the variable obsolete? Anybody got insight on this?

I'd like to delete the references to this env variable in the docs.

Thank you!


This comment has been minimized.

Copy link

dataflake commented Jan 2, 2019

I cannot find any place where it is actually read, either, so the documentation is definitely wrong when it claims that the variable sets the debug mode. I suggest removing the documentation references.

@icemac icemac added this to the 4.0 final milestone Jan 25, 2019

@icemac icemac added this to To do in Zope 4 final release via automation Jan 25, 2019


This comment has been minimized.

Copy link

icemac commented Jan 25, 2019

Even the function setting Z_DEBUG_MODE seems to be unused.
I found some other places where Z_DEBUG_MODE is referenced in the documentation. It seem that it was true some years ago but currently there is another way to enable the debug mode.


This comment has been minimized.

Copy link
Member Author

jugmac00 commented Feb 3, 2019

closed by #467

@jugmac00 jugmac00 closed this Feb 3, 2019

Zope 4 final release automation moved this from To do to Done Feb 3, 2019

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