Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0197ff97
Commit
0197ff97
authored
Mar 22, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #14387: Do not include accu.h from Python.h.
parent
ab79c71f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
1 deletion
+5
-1
Include/Python.h
Include/Python.h
+0
-1
Misc/NEWS
Misc/NEWS
+2
-0
Objects/accu.c
Objects/accu.c
+1
-0
Objects/listobject.c
Objects/listobject.c
+1
-0
Objects/tupleobject.c
Objects/tupleobject.c
+1
-0
No files found.
Include/Python.h
View file @
0197ff97
...
...
@@ -100,7 +100,6 @@
#include "warnings.h"
#include "weakrefobject.h"
#include "structseq.h"
#include "accu.h"
#include "codecs.h"
#include "pyerrors.h"
...
...
Misc/NEWS
View file @
0197ff97
...
...
@@ -93,6 +93,8 @@ Extension Modules
Build
-----
- Issue #14387: Do not include accu.h from Python.h.
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
...
...
Objects/accu.c
View file @
0197ff97
/* Accumulator struct implementation */
#include "Python.h"
#include "accu.h"
static
PyObject
*
join_list_unicode
(
PyObject
*
lst
)
...
...
Objects/listobject.c
View file @
0197ff97
/* List object implementation */
#include "Python.h"
#include "accu.h"
#ifdef STDC_HEADERS
#include <stddef.h>
...
...
Objects/tupleobject.c
View file @
0197ff97
...
...
@@ -2,6 +2,7 @@
/* Tuple object implementation */
#include "Python.h"
#include "accu.h"
/* Speed optimization to avoid frequent malloc/free of small tuples */
#ifndef PyTuple_MAXSAVESIZE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment