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
71c23d44
Commit
71c23d44
authored
Nov 30, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include structseq.h in Python.h, and remove now-redundant includes in individual sources.
parent
53afa6d2
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
3 additions
and
12 deletions
+3
-12
Include/Python.h
Include/Python.h
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
Modules/_lsprof.c
Modules/_lsprof.c
+0
-1
Modules/_struct.c
Modules/_struct.c
+0
-1
Modules/grpmodule.c
Modules/grpmodule.c
+0
-1
Modules/posixmodule.c
Modules/posixmodule.c
+0
-1
Modules/pwdmodule.c
Modules/pwdmodule.c
+0
-1
Modules/resource.c
Modules/resource.c
+0
-1
Modules/spwdmodule.c
Modules/spwdmodule.c
+0
-1
Modules/timemodule.c
Modules/timemodule.c
+0
-1
Objects/floatobject.c
Objects/floatobject.c
+0
-1
Objects/longobject.c
Objects/longobject.c
+0
-1
Objects/structseq.c
Objects/structseq.c
+0
-1
Python/sysmodule.c
Python/sysmodule.c
+0
-1
No files found.
Include/Python.h
View file @
71c23d44
...
...
@@ -98,6 +98,7 @@
#include "descrobject.h"
#include "warnings.h"
#include "weakrefobject.h"
#include "structseq.h"
#include "codecs.h"
#include "pyerrors.h"
...
...
Misc/NEWS
View file @
71c23d44
...
...
@@ -136,6 +136,8 @@ Library
C-API
-----
- structseq.h is now included in Python.h.
- Loosen PyArg_ValidateKeywordArguments to allow dict subclasses.
Tests
...
...
Modules/_lsprof.c
View file @
71c23d44
#include "Python.h"
#include "compile.h"
#include "frameobject.h"
#include "structseq.h"
#include "rotatingtree.h"
#if !defined(HAVE_LONG_LONG)
...
...
Modules/_struct.c
View file @
71c23d44
...
...
@@ -6,7 +6,6 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structseq.h"
#include "structmember.h"
#include <ctype.h>
...
...
Modules/grpmodule.c
View file @
71c23d44
...
...
@@ -2,7 +2,6 @@
/* UNIX group file access module */
#include "Python.h"
#include "structseq.h"
#include <sys/types.h>
#include <grp.h>
...
...
Modules/posixmodule.c
View file @
71c23d44
...
...
@@ -28,7 +28,6 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structseq.h"
#if defined(__VMS)
# include <unixio.h>
...
...
Modules/pwdmodule.c
View file @
71c23d44
...
...
@@ -2,7 +2,6 @@
/* UNIX password file access module */
#include "Python.h"
#include "structseq.h"
#include <sys/types.h>
#include <pwd.h>
...
...
Modules/resource.c
View file @
71c23d44
#include "Python.h"
#include "structseq.h"
#include <sys/resource.h>
#include <sys/time.h>
#include <string.h>
...
...
Modules/spwdmodule.c
View file @
71c23d44
...
...
@@ -4,7 +4,6 @@
/* For info also see http://www.unixpapa.com/incnote/passwd.html */
#include "Python.h"
#include "structseq.h"
#include <sys/types.h>
#ifdef HAVE_SHADOW_H
...
...
Modules/timemodule.c
View file @
71c23d44
...
...
@@ -2,7 +2,6 @@
/* Time module */
#include "Python.h"
#include "structseq.h"
#include "_time.h"
#define TZNAME_ENCODING "utf-8"
...
...
Objects/floatobject.c
View file @
71c23d44
...
...
@@ -5,7 +5,6 @@
for any kind of float exception without losing portability. */
#include "Python.h"
#include "structseq.h"
#include <ctype.h>
#include <float.h>
...
...
Objects/longobject.c
View file @
71c23d44
...
...
@@ -4,7 +4,6 @@
#include "Python.h"
#include "longintrepr.h"
#include "structseq.h"
#include <float.h>
#include <ctype.h>
...
...
Objects/structseq.c
View file @
71c23d44
...
...
@@ -3,7 +3,6 @@
#include "Python.h"
#include "structmember.h"
#include "structseq.h"
static
char
visible_length_key
[]
=
"n_sequence_fields"
;
static
char
real_length_key
[]
=
"n_fields"
;
...
...
Python/sysmodule.c
View file @
71c23d44
...
...
@@ -15,7 +15,6 @@ Data members:
*/
#include "Python.h"
#include "structseq.h"
#include "code.h"
#include "frameobject.h"
#include "eval.h"
...
...
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