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
bce52be4
Commit
bce52be4
authored
Nov 17, 2007
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some build issues and updated docs.
parent
d157e697
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
10 deletions
+15
-10
Include/structmember.h
Include/structmember.h
+2
-2
Misc/NEWS
Misc/NEWS
+6
-0
Objects/funcobject.c
Objects/funcobject.c
+2
-2
Objects/methodobject.c
Objects/methodobject.c
+1
-1
PCbuild9/pythoncore.vcproj
PCbuild9/pythoncore.vcproj
+3
-4
PCbuild9/readme.txt
PCbuild9/readme.txt
+1
-1
No files found.
Include/structmember.h
View file @
bce52be4
...
...
@@ -69,8 +69,8 @@ typedef struct PyMemberDef {
/* Flags */
#define READONLY 1
#define READ_RESTRICTED 2
#define WRITE_RESTRICTED 4
#define RESTRICTED (READ_RESTRICTED | WRITE_RESTRICTED)
#define
PY_
WRITE_RESTRICTED 4
#define RESTRICTED (READ_RESTRICTED |
PY_
WRITE_RESTRICTED)
/* Current API, use this */
...
...
Misc/NEWS
View file @
bce52be4
...
...
@@ -39,6 +39,12 @@ Core and Builtins
streams (fileno(stdin) < 0). For now this happens only for Windows GUI
apps and scripts started with `pythonw.exe`.
- Added PCbuild9 directory for VS 2008.
- Renamed structmember.h WRITE_RESTRICTED to PY_WRITE_RESTRICTED to work
around a name clash with VS 2008 on Windows.
Extension Modules
-----------------
...
...
Objects/funcobject.c
View file @
bce52be4
...
...
@@ -227,10 +227,10 @@ PyFunction_SetAnnotations(PyObject *op, PyObject *annotations)
static
PyMemberDef
func_memberlist
[]
=
{
{
"__closure__"
,
T_OBJECT
,
OFF
(
func_closure
),
RESTRICTED
|
READONLY
},
{
"__doc__"
,
T_OBJECT
,
OFF
(
func_doc
),
WRITE_RESTRICTED
},
{
"__doc__"
,
T_OBJECT
,
OFF
(
func_doc
),
PY_
WRITE_RESTRICTED
},
{
"__globals__"
,
T_OBJECT
,
OFF
(
func_globals
),
RESTRICTED
|
READONLY
},
{
"__module__"
,
T_OBJECT
,
OFF
(
func_module
),
WRITE_RESTRICTED
},
{
"__module__"
,
T_OBJECT
,
OFF
(
func_module
),
PY_
WRITE_RESTRICTED
},
{
NULL
}
/* Sentinel */
};
...
...
Objects/methodobject.c
View file @
bce52be4
...
...
@@ -167,7 +167,7 @@ static PyGetSetDef meth_getsets [] = {
#define OFF(x) offsetof(PyCFunctionObject, x)
static
PyMemberDef
meth_members
[]
=
{
{
"__module__"
,
T_OBJECT
,
OFF
(
m_module
),
WRITE_RESTRICTED
},
{
"__module__"
,
T_OBJECT
,
OFF
(
m_module
),
PY_
WRITE_RESTRICTED
},
{
NULL
}
};
...
...
PCbuild9/pythoncore.vcproj
View file @
bce52be4
...
...
@@ -61,6 +61,7 @@
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"getbuildinfo.o"
OutputFile=
"./python30.dll"
IgnoreDefaultLibraryNames=
"libc"
ProgramDatabaseFile=
"python30.pdb"
...
...
@@ -137,6 +138,7 @@
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"getbuildinfo.o"
OutputFile=
"./python30.dll"
IgnoreDefaultLibraryNames=
"libc"
ProgramDatabaseFile=
"python30.pdb"
...
...
@@ -213,6 +215,7 @@
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"getbuildinfo.o"
OutputFile=
"$(PyDllName)_d.dll"
IgnoreDefaultLibraryNames=
"libc"
ProgramDatabaseFile=
"python30_d.pdb"
...
...
@@ -1180,10 +1183,6 @@
RelativePath=
"..\PC\errmap.h"
>
</File>
<File
RelativePath=
"..\PCBuild9_old\getbuildinfo.c"
>
</File>
<File
RelativePath=
"..\PC\getpathp.c"
>
...
...
PCbuild9/readme.txt
View file @
bce52be4
...
...
@@ -227,7 +227,7 @@ _ssl
Get the source code through
svn export http://svn.python.org/projects/external/openssl-0.9.8
a
svn export http://svn.python.org/projects/external/openssl-0.9.8
g
Alternatively, get the latest version from http://www.openssl.org.
You can (theoretically) use any version of OpenSSL you like - the
...
...
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