• Tim Peters's avatar
    Close SF bug 110826: a complaint about the way Python #define'd NULL. · 4826a894
    Tim Peters yazdı
    It's hard to sort out what the bug was, exactly.  So, Big Hammer:
    
    1. Python shouldn't be in the business of #define'ing NULL, period.
    2. Users of the Python C API shouldn't be in the business of not including
       Python.h, period.
    
    Hence:
    
    1. Removed all #define's of NULL in Python source code (pyport.h and
       object.h).
    2. Since we're *relying* on stdio.h defining NULL, put an #error in
       Python.h after its #include of stdio.h if NULL isn't defined then.
    4826a894
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...