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
75aeaa9b
Commit
75aeaa9b
authored
Jun 24, 2012
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #11626: Add _SizeT functions to stable ABI.
parent
788306a9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
2 deletions
+21
-2
Include/modsupport.h
Include/modsupport.h
+4
-1
Misc/NEWS
Misc/NEWS
+2
-0
PC/python3.def
PC/python3.def
+6
-0
PC/python33gen.py
PC/python33gen.py
+3
-1
PC/python33stub.def
PC/python33stub.def
+6
-0
No files found.
Include/modsupport.h
View file @
75aeaa9b
...
...
@@ -23,6 +23,8 @@ extern "C" {
PyAPI_FUNC
(
PyObject
*
)
_Py_VaBuildValue_SizeT
(
const
char
*
,
va_list
);
#endif
/* Due to a glitch in 3.2, the _SizeT versions weren't exported from the DLL. */
#if !defined(PY_SSIZE_T_CLEAN) || !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
PyAPI_FUNC
(
int
)
PyArg_Parse
(
PyObject
*
,
const
char
*
,
...);
PyAPI_FUNC
(
int
)
PyArg_ParseTuple
(
PyObject
*
,
const
char
*
,
...)
Py_FORMAT_PARSETUPLE
(
PyArg_ParseTuple
,
2
,
3
);
PyAPI_FUNC
(
int
)
PyArg_ParseTupleAndKeywords
(
PyObject
*
,
PyObject
*
,
...
...
@@ -31,13 +33,14 @@ PyAPI_FUNC(int) PyArg_ValidateKeywordArguments(PyObject *);
PyAPI_FUNC
(
int
)
PyArg_UnpackTuple
(
PyObject
*
,
const
char
*
,
Py_ssize_t
,
Py_ssize_t
,
...);
PyAPI_FUNC
(
PyObject
*
)
Py_BuildValue
(
const
char
*
,
...);
PyAPI_FUNC
(
PyObject
*
)
_Py_BuildValue_SizeT
(
const
char
*
,
...);
#endif
#ifndef Py_LIMITED_API
PyAPI_FUNC
(
int
)
_PyArg_NoKeywords
(
const
char
*
funcname
,
PyObject
*
kw
);
#endif
PyAPI_FUNC
(
int
)
PyArg_VaParse
(
PyObject
*
,
const
char
*
,
va_list
);
PyAPI_FUNC
(
int
)
PyArg_VaParseTupleAndKeywords
(
PyObject
*
,
PyObject
*
,
const
char
*
,
char
**
,
va_list
);
#endif
PyAPI_FUNC
(
PyObject
*
)
Py_VaBuildValue
(
const
char
*
,
va_list
);
PyAPI_FUNC
(
int
)
PyModule_AddObject
(
PyObject
*
,
const
char
*
,
PyObject
*
);
...
...
Misc/NEWS
View file @
75aeaa9b
...
...
@@ -10,6 +10,8 @@ What's New in Python 3.3.0 Beta 1?
Core and Builtins
-----------------
- Issue #11626: Add _SizeT functions to stable ABI.
- Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
- Issue #15142: Fix reference leak when deallocating instances of types
...
...
PC/python3.def
View file @
75aeaa9b
...
...
@@ -691,3 +691,9 @@ EXPORTS
_Py_SwappedOp=python33._Py_SwappedOp DATA
_Py_TrueStruct=python33._Py_TrueStruct DATA
_Py_VaBuildValue_SizeT=python33._Py_VaBuildValue_SizeT
_PyArg_Parse_SizeT=python33._PyArg_Parse_SizeT
_PyArg_ParseTuple_SizeT=python33._PyArg_ParseTuple_SizeT
_PyArg_ParseTupleAndKeywords_SizeT=python33._PyArg_ParseTupleAndKeywords_SizeT
_PyArg_VaParse_SizeT=python33._PyArg_VaParse_SizeT
_PyArg_VaParseTupleAndKeywords_SizeT=python33._PyArg_VaParseTupleAndKeywords_SizeT
_Py_BuildValue_SizeT=python33._Py_BuildValue_SizeT
PC/python33gen.py
View file @
75aeaa9b
...
...
@@ -7,8 +7,10 @@ out.write('LIBRARY "python33"\n')
out
.
write
(
'EXPORTS
\
n
'
)
inp
=
open
(
"python3.def"
)
inp
.
readline
()
line
=
inp
.
readline
()
while
line
.
strip
().
startswith
(
';'
):
line
=
inp
.
readline
()
line
=
inp
.
readline
()
# LIBRARY
assert
line
.
strip
()
==
'EXPORTS'
for
line
in
inp
:
...
...
PC/python33stub.def
View file @
75aeaa9b
...
...
@@ -690,3 +690,9 @@ _Py_NotImplementedStruct
_Py_SwappedOp
_Py_TrueStruct
_Py_VaBuildValue_SizeT
_PyArg_Parse_SizeT
_PyArg_ParseTuple_SizeT
_PyArg_ParseTupleAndKeywords_SizeT
_PyArg_VaParse_SizeT
_PyArg_VaParseTupleAndKeywords_SizeT
_Py_BuildValue_SizeT
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