0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Include
Neal Norwitz faa54a3929 Code review of the new buffer protocol. Mostly add questions that should
be answered with the comments removed.

There are many places that require checks when doing arithmetic for memory
sizes when allocating memory.  Otherwise, overflow is possible with
a subsequent crash.

Fix SF #1777057 which was a result of not initializing the new BufferError
properly.  Had to update the test for exceptions for BufferError too.
2007-08-19 04:23:20 +00:00
..
abstract.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
asdl.h Whoops, fix build breakage. There were still a few uses of the bool type. 2007-02-26 19:14:12 +00:00
ast.h
bitset.h
boolobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
bufferobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
bytesobject.h Code review of the new buffer protocol. Mostly add questions that should 2007-08-19 04:23:20 +00:00
cellobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ceval.h Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
classobject.h Completely get rid of PyClass and PyInstance. 2006-08-17 05:42:55 +00:00
cobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
code.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
codecs.h Merge part of the trunk changes into the p3yk branch. This merges from 43030 2006-04-21 09:43:23 +00:00
compile.h Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
complexobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
cStringIO.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
datetime.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
descrobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
dictobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
enumobject.h
errcode.h Implement PEP 3131. Add isidentifier to str. 2007-08-15 07:32:56 +00:00
eval.h Jiwon Seo's PEP 3102 implementation. 2006-10-27 23:31:49 +00:00
fileobject.h Rip out the file object's implementation. 2007-06-12 23:30:11 +00:00
floatobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
frameobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
funcobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
genobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
graminit.h Merged revisions 55407-55513 via svnmerge from 2007-05-22 18:11:13 +00:00
grammar.h
import.h Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
intobject.h Merged revisions 55342-55406 via svnmerge from 2007-05-17 18:20:34 +00:00
intrcheck.h
iterobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
listobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
longintrepr.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
longobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
marshal.h
memoryobject.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
metagrammar.h
methodobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
modsupport.h Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
moduleobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
node.h
object.h Code review of the new buffer protocol. Mostly add questions that should 2007-08-19 04:23:20 +00:00
objimpl.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
opcode.h Merged revisions 56301-56442 via svnmerge from 2007-07-18 18:15:48 +00:00
osdefs.h Remove RISCOS support 2007-08-16 14:35:24 +00:00
parsetok.h Checkpoint. 218 tests are okay; 53 are failing. Done so far: 2006-03-15 04:58:47 +00:00
patchlevel.h This gets at least test_cmd_line working again and a few more modules built. 2006-03-17 08:27:50 +00:00
pgen.h
pgenheaders.h
py_curses.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
pyarena.h
pydebug.h Checkpoint. Manipulated things so that string literals are always 2007-04-27 23:53:51 +00:00
pyerrors.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
pyexpat.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.h
pygetopt.h
pymactoolbox.h
pymem.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
pyport.h Remove support for BeOS 2007-08-17 12:57:41 +00:00
pystate.h Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
pystrtod.h
Python-ast.h Merged revisions 56154-56264 via svnmerge from 2007-07-11 13:09:30 +00:00
Python.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
pythonrun.h Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API. 2007-03-21 02:57:17 +00:00
pythread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
rangeobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
setobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
sliceobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
stringobject.h Fix merge breakage. 2007-07-21 18:47:48 +00:00
structmember.h Remove support for __members__ and __methods__. There still might be 2007-08-11 06:39:53 +00:00
structseq.h
symtable.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
sysmodule.h Rip out the file object's implementation. 2007-06-12 23:30:11 +00:00
timefuncs.h
token.h Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis. 2007-03-18 19:01:53 +00:00
traceback.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
tupleobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ucnhash.h Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
unicodeobject.h Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le and 2007-08-16 21:55:45 +00:00
weakrefobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00