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
Python-Markdown calls logging.captureWarnings on import #384
Comments
Just be sure that when the commandline script (defined in markdown__main__.py) runs, that captureWarnings is True. My recollection is that captureWarnings has to be set in the module the warnings are issued in, but perhaps I'm wrong about that. Have at it. |
What should be the expected behaviour? When running the commandline script with, for example, Do you have a test case that I can use to make sure I don't change the commandline script behavior? |
@mitya57 by the time I figured out why the warnings weren't being logged, I had a solution, so I just committed it. |
Thank you! |
Oh and one other thing, if Debian doesn't want to wait for the next release, I don't see any reason why this one commit couldn't be backported as 2.5.3. Yes, I realize that they are listing the current version as 2.5.1-2 and would probably up the version to 2.5.1-3. Personally, I install all Python packages via pip not the system package manager (yes I realize not everyone does and there even some legitimate reasons to support both). I just am not interested in getting involved in the politics there and will always ignore Debian's weird insistence on some alternate version numbering system. Besides, they update to newer versions way to slowly for me. I want the latest stable release from the developer, not the lasted stable release from Debian (which can be multiple versions behind and likely has bugs fixed in later releases -- not so stable in my view). But that's just my personal opinion. Whatever they want to do. |
Debian is frozen currently, so I can't do any updates in testing/unstable, and they will probably stay on 2.5.1. 2.5.2 is already available in experimental, and if you do another release I will put it there as well. But there is no need for you to do a new release just because of us. |
Forwarding from Debian bug 776591:
Can I remove that maybe? That call is in two places: in
__init__.py
andextensions/headerid.py
.The text was updated successfully, but these errors were encountered: