Thomas Wouters
e2176020f9
Try harder to stay within the 79-column limit. There's still two places that go (way) over, but those are harder to fix without suffering in readability.
2007-09-20 17:35:10 +00:00
Thomas Wouters
ae406c6018
Whitespace cleanup.
2007-09-19 17:27:43 +00:00
Martin v. Löwis
6819210b9e
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
...
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
2007-07-21 06:55:02 +00:00
Georg Brandl
2134e754f2
Patch #1686487 : you can now pass any mapping after '**' in function calls.
2007-05-21 20:34:16 +00:00
Georg Brandl
bc1b5f1669
Remove an XXX that is unnecessary.
2007-05-11 09:41:37 +00:00
Kristján Valur Jónsson
2f2f57916c
Fix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars in frameobject.c which can occur with opcodes > 127
2007-04-13 22:07:33 +00:00
Georg Brandl
5cb76c19ba
Patch #1682205 : a TypeError while unpacking an iterable is no longer
...
masked by a generic one with the message "unpack non-sequence".
2007-03-21 09:00:39 +00:00
Georg Brandl
0fca97a5fb
Patch #1674228 : when assigning a slice (old-style), check for the
...
sq_ass_slice instead of the sq_slice slot.
2007-03-05 22:28:08 +00:00
Jeremy Hylton
7c1e347f73
Reformat long lines.
2007-02-26 16:14:51 +00:00
Jeremy Hylton
714b112ae5
Put declarations before code.
2007-02-25 16:01:58 +00:00
Jeremy Hylton
c5ceb251b3
Fix crash in exec when unicode filename can't be decoded.
...
I can't think of an easy way to test this behavior. It only occurs
when the file system default encoding and the interpreter default
encoding are different, such that you can open the file but not decode
its name.
2007-02-25 15:57:45 +00:00
Brett Cannon
129bd52146
No more raising of string exceptions!
...
The next step of PEP 352 (for 2.6) causes raising a string exception to trigger
a TypeError. Trying to catch a string exception raises a DeprecationWarning.
References to string exceptions has been removed from the docs since they are
now just an error.
2007-01-30 21:34:36 +00:00
Raymond Hettinger
4bd97d4549
SF# 1409443: Expand comment to cover the interaction between f->f_lasti and the PREDICT macros.
2007-01-06 01:14:41 +00:00
Armin Rigo
7037085959
Forgot a case where the locals can now be a general mapping
...
instead of just a dictionary. (backporting...)
2006-11-29 21:59:22 +00:00
Andrew M. Kuchling
1f3ebe0b10
[Bug #1542016 ] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
...
Backport candidate. Though it's an API change, this is a pretty obscure
portion of the API.
2006-10-27 13:22:46 +00:00
Neal Norwitz
df6a6494cb
Move/copy assert for tstate != NULL before first use.
...
Verify that PyEval_Get{Globals,Locals} returned valid pointers.
Klocwork 231-232
2006-08-13 18:10:10 +00:00
Neal Norwitz
8a87f5d37e
Patch #1538606 , Patch to fix __index__() clipping.
...
I modified this patch some by fixing style, some error checking, and adding
XXX comments. This patch requires review and some changes are to be expected.
I'm checking in now to get the greatest possible review and establish a
baseline for moving forward. I don't want this to hold up release if possible.
2006-08-12 17:03:09 +00:00
Neal Norwitz
421c1319ad
Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed
2006-08-12 02:12:30 +00:00
Neal Norwitz
6b4953fd3d
Check returned pointer is valid.
...
Klocwork #233
2006-08-12 02:06:34 +00:00
Armin Rigo
97ff04789d
Concatenation on a long string breaks (SF #1526585 ).
2006-08-09 15:37:26 +00:00
Neal Norwitz
245ce8db46
i and j are initialized below when used. No need to do it twice
2006-06-12 02:16:10 +00:00
Neal Norwitz
b9845e72f9
Get rid of f_restricted too. Doc the other 4 ints that were already removed
...
at the NeedForSpeed sprint.
2006-06-12 02:11:18 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Armin Rigo
35f6d36951
[ 1497053 ] Let dicts propagate the exceptions in user __eq__().
...
[ 1456209 ] dictresize() vulnerability ( <- backport candidate ).
2006-06-01 13:19:12 +00:00
Fredrik Lundh
7a83089c06
needforspeed: backed out the Py_LOCAL-isation of ceval; the massive in-
...
lining killed performance on certain Intel boxes, and the "aggressive"
macro itself gives most of the benefits on others.
2006-05-27 10:39:48 +00:00