File indexing completed on 2024-05-19 15:42:37

0001 /*
0002     SPDX-FileCopyrightText: 2012 Sven Brauch <svenbrauch@googlemail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 // avoid compiler warnings... urgh
0008 #undef _POSIX_C_SOURCE
0009 #undef _XOPEN_SOURCE
0010 
0011 // remove interfering qt macro
0012 #undef slots
0013 
0014 #include <language/duchain/duchainlock.h>
0015 
0016 #include "pyport.h"
0017 #ifndef _WIN32
0018 #include "pyconfig.h"
0019 #endif
0020 
0021 #include "Python.h"
0022 
0023 #include "ast.h"
0024 
0025 #include "unicodeobject.h"
0026 
0027 #include "object.h"
0028 
0029 // remove evil macros from headers which pollute the namespace (grr!)
0030 #undef test
0031 #undef decorators
0032 #undef Attribute