Jeremy Hylton writes: > It is indeed the case that errors_module can be used without > initialization. If PyString_FromString("pyexpat.errors") fails, you > ignore the error and will immediately call PyModule_GetDict with an > uninitialized variable. I'll fix that. > I also wonder why the code that does this check is in its own set of > curly braces; thus, the post to python-dev to discuss the style issue. > Why did you do this? Is it approved Python style? It looks cluttered > to me. I don't like it either. ;) I just wanted a temporary variable, but I can declare that at the top of initpyexpat(). This will be corrected as well. -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4