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
dde2dbb7
Commit
dde2dbb7
authored
Mar 11, 2004
by
Neil Schemenauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make buffer objects based on mutable objects (like array) safe.
parent
72bdf8b1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
154 additions
and
82 deletions
+154
-82
Misc/NEWS
Misc/NEWS
+5
-0
Objects/bufferobject.c
Objects/bufferobject.c
+149
-82
No files found.
Misc/NEWS
View file @
dde2dbb7
...
...
@@ -172,6 +172,11 @@ Core and builtins
to clear the error when attempts to get the __getstate__ attribute
fail caused intermittent errors and odd behavior.
- buffer objects based on other objects no longer cache a pointer to
the data and the data length. Instead, the appropriate tp_as_buffer
method is called as necessary.
Extension modules
-----------------
...
...
Objects/bufferobject.c
View file @
dde2dbb7
This diff is collapsed.
Click to expand it.
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