Jeremy Hylton
29bef0bbaa
Baby steps towards better tests for tokenize
2006-08-23 18:37:43 +00:00
Andrew M. Kuchling
2214507e74
Move functional howto into trunk
2006-08-22 23:13:43 +00:00
Jeremy Hylton
60e96f666c
Expose column offset information in parse trees.
2006-08-22 20:46:00 +00:00
Neal Norwitz
670f875a7c
Alexander Belopolsky pointed out that pos is a size_t
2006-08-22 13:56:56 +00:00
Anthony Baxter
c85578725b
patch for documentation for recent uuid changes (from ping)
2006-08-22 07:36:59 +00:00
Neal Norwitz
3c9333970f
Try to get the windows bots working again with the new peephole.c
2006-08-21 23:44:48 +00:00
Neal Norwitz
17753ecbfa
Patch #1541585 : fix buffer overrun when performing repr() on
...
a unicode string in a build with wide unicode (UCS-4) support.
This code could be improved, so add an XXX comment.
2006-08-21 22:21:19 +00:00
Neal Norwitz
0c6ae5bad4
Handle a few more error conditions.
...
Klocwork 301 and 302. Will backport.
2006-08-21 20:16:24 +00:00
Neal Norwitz
4f096d9487
Patch #1542451 : disallow continue anywhere under a finally
...
I'm undecided if this should be backported to 2.5 or 2.5.1.
Armin suggested to wait (I'm of the same opinion). Thomas W thinks
it's fine to go in 2.5.
2006-08-21 19:47:08 +00:00
Neal Norwitz
076d1e0c0b
Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev
2006-08-21 18:20:10 +00:00
Neal Norwitz
87557cd72a
Add assert to make Klocwork happy ( #276 )
2006-08-21 18:01:30 +00:00
Neal Norwitz
8a519392d5
Fix bug #1543303 , tarfile adds padding that breaks gunzip.
...
Patch # 1543897.
Will backport to 2.5
2006-08-21 17:59:46 +00:00
Jeremy Hylton
271d59343b
Move peephole optimizer to separate file. (Forgot .h in previous checkin.)
2006-08-21 16:20:29 +00:00
Jeremy Hylton
644dddcc3f
Move peephole optimizer to separate file.
2006-08-21 16:19:37 +00:00
Georg Brandl
8c036ccf93
Patch #1542948 : fix urllib2 header casing issue. With new test.
2006-08-20 13:15:39 +00:00
Neal Norwitz
7605936dee
Handle PyString_FromInternedString() failing (unlikely, but possible).
...
Klocwork #325
(I'm not backporting this, but if someone wants to, feel free.)
2006-08-19 04:52:03 +00:00
Neal Norwitz
7fd9607bad
Move initialization to after the asserts for non-NULL values.
...
Klocwork 286-287.
(I'm not backporting this, but if someone wants to, feel free.)
2006-08-19 04:28:55 +00:00
Neal Norwitz
8a26706d75
SF #1542693 : Remove semi-colon at end of PyImport_ImportModuleEx macro
2006-08-19 04:25:29 +00:00
Neal Norwitz
9b17eba8be
Move assert to after NULL check, otherwise we deref NULL in the assert.
...
Klocwork #307
2006-08-19 04:23:04 +00:00
Neal Norwitz
6cbb726539
Move initialization of interned strings to before allocating the
...
object so we don't leak op. (Fixes an earlier patch to this code)
Klockwork #350
2006-08-19 04:22:33 +00:00
Thomas Heller
0b21b43d49
Add asserts to check for 'impossible' NULL values, with comments.
...
In one place where I'n not 1000% sure about the non-NULL, raise
a RuntimeError for safety.
This should fix the klocwork issues that Neal sent me. If so,
it should be applied to the release25-maint branch also.
2006-08-18 14:38:46 +00:00
Andrew M. Kuchling
c458433850
Minor edits
2006-08-18 13:57:13 +00:00
Georg Brandl
e7c9bad93d
Typo in tp_clear docs.
2006-08-18 07:35:47 +00:00
Anthony Baxter
b24547977e
RPM specfile updates
2006-08-18 07:30:07 +00:00
Anthony Baxter
78b1a08373
Updating IDLE's version number to match Python's (as per python-dev
...
discussion).
2006-08-18 07:29:02 +00:00
Georg Brandl
648c110671
Bug #1541682 : Fix example in the "Refcount details" API docs.
...
Additionally, remove a faulty example showing PySequence_SetItem applied
to a newly created list object and add notes that this isn't a good idea.
2006-08-18 07:27:59 +00:00
Neal Norwitz
f2fcfa31dc
More version wibble
2006-08-18 06:14:52 +00:00
Neal Norwitz
2d5a4e359e
Set version to 2.6a0, seems more consistent.
2006-08-18 05:41:46 +00:00
Neal Norwitz
9be573201e
Try to get Unix bots install working again.
2006-08-18 05:39:20 +00:00
Neal Norwitz
132bbb3d06
Try to get Windows bots working again. Take 2
2006-08-18 05:10:00 +00:00
Neal Norwitz
094353c484
Try to get Windows bots working again
2006-08-18 04:58:33 +00:00
Neal Norwitz
b671c9309a
More post-release wibble
2006-08-18 04:01:38 +00:00
Neal Norwitz
92422fb33b
Add template for 2.6 on HEAD
2006-08-18 03:57:54 +00:00
Martin v. Löwis
2eb8c4f292
Bug #1541863 : uuid.uuid1 failed to generate unique identifiers
...
on systems with low clock resolution.
2006-08-18 03:47:18 +00:00
Martin v. Löwis
59e9ac8ebe
Merge 51340 and 51341 from 2.5 branch:
...
Leave tk build directory to restore original path.
Invoke debug mk1mf.pl after running Configure.
2006-08-17 19:19:32 +00:00
Neil Schemenauer
4c6b0d5bec
Fix a bug in the ``compiler`` package that caused invalid code to be
...
generated for generator expressions.
2006-08-16 23:38:05 +00:00
Kurt B. Kaiser
7ae354846f
File menu hotkeys: there were three 'p' assignments. Reassign the
...
'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the
Shell menu hotkey from 's' to 'l'.
M Bindings.py
M PyShell.py
M NEWS.txt
2006-08-16 21:45:59 +00:00
Thomas Heller
f5af05a211
Tutorial:
...
Clarify somewhat how parameters are passed to functions
(especially explain what integer means).
Correct the table - Python integers and longs can both be used.
Further clarification to the table comparing ctypes types, Python
types, and C types.
Reference:
Replace integer by C ``int`` where it makes sense.
2006-08-16 18:02:11 +00:00
Andrew M. Kuchling
c13324e313
Grammar fix
2006-08-16 17:11:18 +00:00
Fredrik Lundh
dc075b9ddd
SF#1534630
...
ignore data that arrives before the opening start tag
2006-08-16 16:47:07 +00:00
Marc-André Lemburg
574cfea993
Add NEWS item mentioning the reverted distutils version number patch.
2006-08-16 16:11:01 +00:00
Thomas Heller
b4a0cf17c4
Remove the special casing of Py_None when converting the return value
...
of the Python part of a callback function to C. If it cannot be
converted, call PyErr_WriteUnraisable with the exception we got.
Before, arbitrary data has been passed to the calling C code in this
case.
(I'm not really sure the NEWS entry is understandable, but I cannot
find better words)
2006-08-16 15:10:12 +00:00
Andrew M. Kuchling
f9b5b8e9f8
Wording/typo fixes
2006-08-16 14:21:14 +00:00
Andrew M. Kuchling
213e764d38
Update bug/patch counts
2006-08-16 14:18:23 +00:00
Thomas Heller
b0aa98fd4f
The __repr__ method of a NULL py_object does no longer raise an
...
exception. Remove a stray '?' character from the exception text
when the value is retrieved of such an object.
Includes tests.
2006-08-16 14:07:44 +00:00
Martin v. Löwis
596fc9c384
Make cl build step compile-only (/c). Remove libs from source list.
2006-08-16 13:58:51 +00:00
Andrew M. Kuchling
ddf37888b8
Link to docs; remove an XXX comment
2006-08-16 13:51:32 +00:00
Andrew M. Kuchling
115ea43bff
Bump document version to 1.0; remove pystone paragraph
2006-08-16 13:41:52 +00:00
Andrew M. Kuchling
efd68c789e
Add UnicodeWarning
2006-08-16 13:22:20 +00:00
Anthony Baxter
581795902d
news entry for 51307
2006-08-16 13:08:25 +00:00