Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-35134: move asdl.h, pystrhex.h, symtable.h, token.h, tracemalloc.h into Include/cpython #24770

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

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move Include/symtable.h to Include/cpython/symtable.h
  • Loading branch information
nw0 committed Mar 6, 2021
commit d316147f643382deb54d2dba9ef0e821c350aa6d
1 change: 1 addition & 0 deletions 1 Include/Python.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@
#include "cpython/pyfpe.h"
#include "tracemalloc.h"
#include "cpython/asdl.h"
#include "cpython/symtable.h"

#endif /* !Py_PYTHON_H */
File renamed without changes.
2 changes: 1 addition & 1 deletion 2 Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,6 @@ PYTHON_HEADERS= \
$(srcdir)/Include/sliceobject.h \
$(srcdir)/Include/structmember.h \
$(srcdir)/Include/structseq.h \
$(srcdir)/Include/symtable.h \
$(srcdir)/Include/sysmodule.h \
$(srcdir)/Include/token.h \
$(srcdir)/Include/traceback.h \
Expand Down Expand Up @@ -1124,6 +1123,7 @@ PYTHON_HEADERS= \
$(srcdir)/Include/cpython/pystrhex.h \
$(srcdir)/Include/cpython/pythonrun.h \
$(srcdir)/Include/cpython/pytime.h \
$(srcdir)/Include/cpython/symtable.h \
$(srcdir)/Include/cpython/sysmodule.h \
$(srcdir)/Include/cpython/traceback.h \
$(srcdir)/Include/cpython/tupleobject.h \
Expand Down
1 change: 0 additions & 1 deletion 1 Modules/symtablemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "code.h"
#include "Python-ast.h"
#include "symtable.h"

#include "clinic/symtablemodule.c.h"
/*[clinic input]
Expand Down
2 changes: 1 addition & 1 deletion 2 PCbuild/pythoncore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
<ClInclude Include="..\Include\cpython\pystrhex.h" />
<ClInclude Include="..\Include\cpython\pythonrun.h" />
<ClInclude Include="..\Include\cpython\pytime.h" />
<ClInclude Include="..\Include\cpython\symtable.h" />
<ClInclude Include="..\Include\cpython\sysmodule.h" />
<ClInclude Include="..\Include\cpython\traceback.h" />
<ClInclude Include="..\Include\cpython\tupleobject.h" />
Expand Down Expand Up @@ -251,7 +252,6 @@
<ClInclude Include="..\Include\sliceobject.h" />
<ClInclude Include="..\Include\structmember.h" />
<ClInclude Include="..\Include\structseq.h" />
<ClInclude Include="..\Include\symtable.h" />
<ClInclude Include="..\Include\sysmodule.h" />
<ClInclude Include="..\Include\token.h" />
<ClInclude Include="..\Include\traceback.h" />
Expand Down
6 changes: 3 additions & 3 deletions 6 PCbuild/pythoncore.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,6 @@
<ClInclude Include="..\Include\structseq.h">
<Filter>Include</Filter>
</ClInclude>
<ClInclude Include="..\Include\symtable.h">
<Filter>Include</Filter>
</ClInclude>
<ClInclude Include="..\Include\sysmodule.h">
<Filter>Include</Filter>
</ClInclude>
Expand Down Expand Up @@ -468,6 +465,9 @@
<ClInclude Include="..\Include\cpython\pythonrun.h">
<Filter>Include\cpython</Filter>
</ClInclude>
<ClInclude Include="..\Include\cpython\symtable.h">
<Filter>Include</Filter>
</ClInclude>
<ClInclude Include="..\Include\cpython\sysmodule.h">
<Filter>Include\cpython</Filter>
</ClInclude>
Expand Down
1 change: 0 additions & 1 deletion 1 Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "Python-ast.h"
#include "ast.h"
#include "code.h"
#include "symtable.h"
#define NEED_OPCODE_JUMP_TABLES
#include "opcode.h"
#include "wordcode_helpers.h"
Expand Down
1 change: 0 additions & 1 deletion 1 Python/future.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "Python-ast.h"
#include "token.h"
#include "code.h"
#include "symtable.h"
#include "ast.h"

#define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"
Expand Down
1 change: 0 additions & 1 deletion 1 Python/pythonrun.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "token.h" // INDENT
#include "errcode.h" // E_EOF
#include "code.h" // PyCodeObject
#include "symtable.h" // PySymtable_BuildObject()
#include "marshal.h" // PyMarshal_ReadLongFromFile()

#ifdef MS_WINDOWS
Expand Down
1 change: 0 additions & 1 deletion 1 Python/symtable.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "Python.h"
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "symtable.h"
#undef Yield /* undefine macro conflicting with <winbase.h> */
#include "structmember.h" // PyMemberDef

Expand Down
1 change: 0 additions & 1 deletion 1 Tools/scripts/stable_abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"parsetok.h",
"pyatomic.h",
"pytime.h",
"symtable.h",
"token.h",
"ucnhash.h",
}
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.