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
Thomas Wouters
857b300b2e
Explain why we use the unsigned int format for a signed int variable.
...
(Should 'code' be cast to the right pointer type?)
2006-03-02 17:58:27 +00:00
Brett Cannon
4954b384e4
Fix mismatch opening and closing quotes on a string.
2006-03-02 17:47:01 +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
Neal Norwitz
e88d0a5d8a
Spell threading write, not thraeading
2006-03-02 07:51:44 +00:00
Thomas Wouters
83d1266cbd
Properly fix Py_SAFE_DOWNCAST-triggerd bugs.
2006-03-02 05:05:17 +00:00
Thomas Wouters
369092be43
Py_SAFE_DOWNCAST isn't quite doing the right thing for going from Py_ssize_t
...
to an unsigned int (and back again) on 64-bit machines, even though the
actual value of the Py_ssize_t variable is way below 31 bits. I suspect
compiler-error.
2006-03-02 04:48:27 +00:00
Brett Cannon
46872b1613
Add a missing Py_DECREF to BaseException__unicode__ .
2006-03-02 04:31:55 +00:00
Guido van Rossum
5bde08dba3
Fix failure of test_compiler.py when compiling test_contextlib.py.
...
The culprit was an expression-less yield -- the first apparently in
the standard library. I added a unit test for this.
Also removed the hack to force compilation of test_with.py.
2006-03-02 04:24:01 +00:00
Neal Norwitz
3a5468efb0
Update known issues to reflect reality
2006-03-02 04:06:10 +00:00
Neal Norwitz
28f635b067
Remove duplicate entry
2006-03-02 04:03:44 +00:00
Brett Cannon
3096c53eaa
Fix latex typos as spotted by George Yoshida.
2006-03-02 03:52:06 +00:00
Martin v. Löwis
03e5bc02c9
Fix memory leak on attributes.
2006-03-02 00:31:27 +00:00
Thomas Wouters
26cc63f867
Make Py_ssize_t-clean
2006-03-02 00:21:10 +00:00
Thomas Wouters
695934a0ef
Make Py_ssize_t clean.
2006-03-01 23:49:13 +00:00
Martin v. Löwis
d9bfeac330
Reformat the exception message by going through a list.
2006-03-01 23:24:34 +00:00
Martin v. Löwis
5df2e614e6
Remove UNLESS.
2006-03-01 23:10:49 +00:00
Thomas Wouters
7087f78dbe
Use Py_ssize_t for arithmetic on Py_ssize_t's, instead of unsigned ints.
2006-03-01 23:10:05 +00:00
Tim Peters
5ddfe41e84
Whitespace normalization.
2006-03-01 23:02:57 +00:00
Thomas Wouters
a5fa2a8a13
Fix gcc (4.0.x) warning about use of uninitialized variable.
2006-03-01 22:54:36 +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
3ffa59b137
Rework channelnumber/samplesize detetion code's output variables a bit to
...
convince gcc (4.0.x) the variables are never used uninitialized (and raising
a proper exception if they ever are.)
2006-03-01 22:45:36 +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
Thomas Wouters
f86d1e810d
Silence gcc (4.0.x) warning about use of uninitialized value.
2006-03-01 22:15:15 +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
Thomas Wouters
9c54448715
Fix brainfart.
2006-03-01 21:59:44 +00:00
Thomas Wouters
1e365b265a
Remove gcc (4.0.x) warning about uninitialized value by explicitly setting
...
the sentinel value in the main function, rather than the helper. This
function could possibly do with an early-out if any of the helper calls ends
up with a len of 0, but I doubt it really matters (how common are malformed
hangul syllables, really?)
2006-03-01 21:58:30 +00:00
Thomas Wouters
9bc844e7be
Make Py_ssize_t-clean.
2006-03-01 21:50:07 +00:00
Thomas Wouters
f98db65e52
Make Py_ssize_t-clean.
2006-03-01 21:37:32 +00:00
Martin v. Löwis
0b300be895
Fix more memory leaks. Will backport to 2.4.
2006-03-01 21:33:54 +00:00
Thomas Wouters
c3547a311e
Fix C99-ism, and add XXX to comment
2006-03-01 21:31:21 +00:00
Martin v. Löwis
15bfc3b082
Make failures in test cases print failing source file.
2006-03-01 21:11:49 +00:00
Brett Cannon
20e192b6a6
Update for 'with' statement.
2006-03-01 20:53:08 +00:00
Guido van Rossum
a9f068726f
Fix a bug in nested() - if one of the sub-context-managers swallows the
...
exception, it should not be propagated up. With unit tests.
2006-03-01 17:10:01 +00:00
Martin v. Löwis
6db0e00d57
Change GC refcount to Py_ssize_t.
2006-03-01 16:56:25 +00:00
Martin v. Löwis
056a69cba6
Reconst parameters that lost their const in the AST merge.
2006-03-01 16:55:42 +00:00
Martin v. Löwis
c9066cafba
Fix warning that texcheck complained about.
2006-03-01 16:37:55 +00:00
Jeremy Hylton
e9357b21c0
Tabify and reflow some long lines.
...
Much of the peephole optimizer is now indented badly, but it's about
to be revised anyway.
2006-03-01 15:47:05 +00:00
Jeremy Hylton
224003baef
Add missing DECREF.
2006-03-01 15:02:24 +00:00
Fredrik Lundh
1f2dac5766
markup glitch (spotted by George Yoshida)
2006-03-01 12:43:53 +00:00
Tim Peters
fe8a56680a
Remove svn:mime-type (inexplicably set to a binary type),
...
and set svn:eol-style to native, on some text files.
2006-03-01 06:28:58 +00:00
Tim Peters
1a57296450
Set svn:eol-style to native.
2006-03-01 06:19:04 +00:00
Brett Cannon
6b4ed74791
Fix parsing of exception_hierarchy.txt when a platform-specific exception is
...
specified. Hopefully this wll bring warming to Tim's Windows-loving heart.
2006-03-01 06:10:48 +00:00
Martin v. Löwis
3b19754079
Document new Py_ssize_t API.
2006-03-01 05:47:11 +00:00
Thomas Wouters
8b87a0b5fc
Use %ld and casts to long for refcount printing, in absense of a universally
...
available %zd format character. Mark with an XXX comment so we can fix this,
later.
2006-03-01 05:41:20 +00:00
Thomas Wouters
572a9f32dc
Use %zd format characters for Py_ssize_t types.
2006-03-01 05:38:39 +00:00