Commit Graph

2296 Commits

Author SHA1 Message Date
Neal Norwitz
3e90fa5940 Try to cleanup the error handling a bit so there aren't false positives
from static analysis.  v was already checked for NULL above, so we don't
need a second check.
2006-03-06 23:07:34 +00:00
Martin v. Löwis
99b93c2824 Use %Id for size_t-ish things on Win64. 2006-03-05 05:33:54 +00:00
Neal Norwitz
4281cef205 Use Py_ssize_t for _Py_RefTotal.
I tried to handle Win64 properly, but please review.
2006-03-04 19:58:13 +00:00
Neal Norwitz
9589ee276a Tabify 2006-03-04 19:01:22 +00:00
Neal Norwitz
e92fba0a12 Get rid of run_err_mod(). It was only used in two places.
One place it wasn't necessary since mod was already checked.
Inline the check that mod != NULL for the other use.
2006-03-04 18:52:26 +00:00
Neal Norwitz
10be2ea85d SF bug 1442442: LIST_APPEND optimization got lost in the AST merge.
Add it back.
2006-03-03 20:29:11 +00:00
Neal Norwitz
9742f27a9a Remove commented code 2006-03-03 19:13:57 +00:00
Brett Cannon
3909ff69e2 Text moved to PEP 339. 2006-03-02 22:08:16 +00:00
Brett Cannon
5118517c16 Fix minor docstring typo. 2006-03-02 22:07:40 +00:00
Tim Peters
f6386306fb Document the purpose of the struct _block members. 2006-03-02 21:41:18 +00:00
Tim Peters
6fd92dc44f Added words about what PyArena_Malloc() does. 2006-03-02 21:14:45 +00:00
Tim Peters
8cfaa0e729 Trimmed trailing whitespace. 2006-03-02 20:37:32 +00:00
Brett Cannon
2e63b73a2c Fix refleak in PyErr_Display(). 2006-03-02 18:34:57 +00:00
Neal Norwitz
d9cf85f421 Fix refleak if from __future__ import was not first 2006-03-02 08:08:42 +00:00
Neal Norwitz
814e938d08 Use Py_ssize_t since we are working with list size below 2006-03-02 07:54:28 +00:00
Brett Cannon
46872b1613 Add a missing Py_DECREF to BaseException__unicode__ . 2006-03-02 04:31:55 +00:00
Neal Norwitz
3a5468efb0 Update known issues to reflect reality 2006-03-02 04:06:10 +00:00
Martin v. Löwis
03e5bc02c9 Fix memory leak on attributes. 2006-03-02 00:31:27 +00:00
Thomas Wouters
695934a0ef Make Py_ssize_t clean. 2006-03-01 23:49:13 +00:00
Martin v. Löwis
49c5da1d88 Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
Thomas Wouters
7464b43e41 Fix incompatible assignment warning from previous checkin. 2006-03-01 22:34:09 +00:00
Thomas Wouters
7f401ef73d Fix gcc (4.0.x) warning about use of uninitialized variables.
(PyMarshal_ReadShortFromFile() is only used in zipimport.c, I don't believe
the extra initializations will matter one way or another.)
2006-03-01 22:30:47 +00:00
Brett Cannon
54ac29497e Document PEP 352 changes. Also added GeneratorExit. 2006-03-01 22:10:49 +00:00
Thomas Wouters
65b3dab50e Fix uninitialized value. (Why are we using bools instead of ints, like we do
everywhere else?)
2006-03-01 22:06:23 +00:00
Martin v. Löwis
0b300be895 Fix more memory leaks. Will backport to 2.4. 2006-03-01 21:33:54 +00:00