This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: missing #include guards/extern "C"
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: david_abrahams, loewis
Priority: normal Keywords: patch

Created on 2002-03-29 21:10 by david_abrahams, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch david_abrahams, 2002-03-29 22:37 patch contents
Messages (3)
msg39434 - (view) Author: David Abrahams (david_abrahams) Date: 2002-03-29 21:10
cvs server: Diffing .
Index: cStringIO.h
======================================================
=============
RCS 
file: /cvsroot/python/python/dist/src/Include/cStringI
O.h,v
retrieving revision 2.15
diff -r2.15 cStringIO.h
2a3,5
> #ifdef __cplusplus
> extern "C" {
> #endif
130a134,136
> #ifdef __cplusplus
> }
> #endif
Index: descrobject.h
======================================================
=============
RCS 
file: /cvsroot/python/python/dist/src/Include/descrobj
ect.h,v
retrieving revision 2.8
diff -r2.8 descrobject.h
1a2,6
> #ifndef Py_DESCROBJECT_H
> #define Py_DESCROBJECT_H
> #ifdef __cplusplus
> extern "C" {
> #endif
80a86,88
> #ifdef __cplusplus
> }
> #endif
Index: iterobject.h
======================================================
=============
RCS 
file: /cvsroot/python/python/dist/src/Include/iterobje
ct.h,v
retrieving revision 1.3
diff -r1.3 iterobject.h
0a1,2
> #ifndef Py_ITEROBJECT_H
> #define Py_ITEROBJECT_H
1a4,6
> #ifdef __cplusplus
> extern "C" {
> #endif
13a19,22
> #ifdef __cplusplus
> }
> #endif
> #endif Py_ITEROBJECT_H
msg39435 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-29 22:35
Logged In: YES 
user_id=21627

Please attach the patch as a context (-c) or unified (-u)
diff to this report.
msg39436 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-30 08:58
Logged In: YES 
user_id=21627

Thanks for the patch, applied as

cStringIO.h 2.16
descrobject.h 2.9
iterobject.h 1.4

*Please* use context diffs in the future.
History
Date User Action Args
2022-04-10 16:05:10adminsetgithub: 36357
2002-03-29 21:10:35david_abrahamscreate