Commit Graph

33549 Commits

Author SHA1 Message Date
Walter Dörwald 9ae019bf5b Add tests for the C APIs PyCodec_IncrementalEncoder() and
PyCodec_IncrementalDecoder().
2006-03-18 14:22:26 +00:00
Walter Dörwald ba8e180f3b Release codecs variable earlier. 2006-03-18 14:05:43 +00:00
Thomas Heller f4063ca8bc Fix compiler warning. 2006-03-18 12:52:54 +00:00
Georg Brandl ddb84d7c69 Bug #1353433: be conciliant with spaces in redirect URLs 2006-03-18 11:35:18 +00:00
Georg Brandl abd1ff8f1f Previously, Python code had no easy way to access the contents of a
cell object. Now, a ``cell_contents`` attribute has been added
(closes patch #1170323).
2006-03-18 07:59:59 +00:00
Andrew M. Kuchling 237037beb5 You need at least one \item 2006-03-17 22:25:15 +00:00
Andrew M. Kuchling b182db44f2 Write section 2006-03-17 21:48:46 +00:00
Georg Brandl bc45a3f821 RFE #567972: Socket objects' family, type and proto properties are
now exposed via new get...() methods.
2006-03-17 19:17:34 +00:00
Georg Brandl 5c170fd4a9 Fix some missing checks after PyTuple_New, PyList_New, PyDict_New 2006-03-17 19:03:25 +00:00
Georg Brandl a5a0704942 Remove the lib-old modules from Doc/lib/libundoc.tex.
Now only Modules/timingmodule.c is left. Should that be removed, too?
(dito for clmodule and svmodule)
2006-03-17 18:47:14 +00:00
Nick Coghlan 77858684e4 Fix bug 1441408 where a double colon didn't trigger extended slice semantics (applies patch 1452332) 2006-03-17 17:59:10 +00:00
Georg Brandl db815abc70 More \exception fixes. 2006-03-17 16:26:31 +00:00
Andrew M. Kuchling da37604ee3 Add two items 2006-03-17 15:56:41 +00:00
Andrew M. Kuchling a0622709fd Markup fix 2006-03-17 15:56:13 +00:00
Thomas Heller b03cb602e8 Merge changes from the upstream version:
- cast is implemented as a foreign function now
- On Windows, it is now possible to access functions exported by ordinal only
2006-03-17 15:52:58 +00:00
Andrew M. Kuchling f4b066084a Remove mention of lib-old, and list more deleted modules 2006-03-17 15:39:52 +00:00
Andrew M. Kuchling 01e3d262ce Add some items 2006-03-17 15:38:39 +00:00
Neal Norwitz c72f501aa2 as is on the road to keyword-hood, use a different var name. 2006-03-17 08:55:46 +00:00
Neal Norwitz d5f8ec27a8 Oops, copied the wrong code from keeprefs. Get the right code
this time and call gc.collect(), since there is some garbage.

The original code didn't really leak (if gc.collect() was called).
2006-03-17 07:15:59 +00:00
Neal Norwitz 770a800967 Update/expand on comments about leaking tests. 2006-03-17 04:52:38 +00:00
Neal Norwitz ddda855337 Ignore ctypes leaks, but add a test case so we do not forget. 2006-03-17 04:45:38 +00:00
Neal Norwitz 8749316c08 Try to find a host that responds slower from python.org so this test does not fail on macteagle (G4 OSX.4 in buildbot) 2006-03-17 04:37:34 +00:00
Tim Peters ae1d0c978d Introduced symbol PY_FORMAT_SIZE_T. See the new comments
in pyport.h.  Changed PyString_FromFormatV() to use it
instead of inlining its own maze of #if'ery.
2006-03-17 03:29:34 +00:00
Walter Dörwald d53850a2be Fix wrong argument format in PyCodec_IncrementalEncoder() and
PyCodec_IncrementalDecoder().

Factor out common code from PyCodec_Encoder()/PyCodec_Decoder(),
PyCodec_IncrementalEncoder()/PyCodec_IncrementalDecoder() and
PyCodec_StreamReader()/PyCodec_StreamWriter().
2006-03-16 21:46:40 +00:00
Thomas Heller 23e408603c Fix a test that fails when libGL.so and libGLU.so are not installed (on posix systems). 2006-03-16 20:09:22 +00:00
Thomas Heller 0c6b0e9d05 Fix a leak that would happen under error conditions (found by Coverty). 2006-03-16 20:02:36 +00:00
Thomas Heller aa47570bdf Use int 0 as default defval for LCID if nothing has been supplied. 2006-03-16 19:56:24 +00:00
Thomas Heller b2167614f8 Fix compiler warning. 2006-03-16 19:34:56 +00:00
Thomas Heller 4c9dfc86f3 Fixes from Neal Norwitz, plus other small fixes. 2006-03-16 19:26:21 +00:00
Thomas Heller 127551637b Rewrite the AllocFunctionCallback function for better error handling.
Hope that fixes one or two Coverty warnings.
2006-03-16 19:24:27 +00:00
Tim Peters d71afb2d10 Set eol-style to native. 2006-03-16 18:55:20 +00:00
Trent Mick f8cf13eeb7 Update test_winsound to check for a configured sound card (using a VBScript
helper written by Roger Upole and Mark Hammond) and adjust the expected
PlaySoundTest case results accordingly.
2006-03-16 17:34:41 +00:00
Neal Norwitz 4fe4ed2525 Make mktuple consistent with mklist to get rid of Coverity warnings. Also use macro version of SetItem since we know everything is setup. 2006-03-16 08:20:19 +00:00
Neal Norwitz 6bed1c1fab Add some versionadded info to new incremental codec docs and fix doco nits. 2006-03-16 07:49:19 +00:00
Thomas Heller 922ff4a321 Don't delete non-autogenerated source files when cleaning up. 2006-03-16 07:33:49 +00:00
Neal Norwitz c4bd28c303 Remove some more references to regex that I missed. 2006-03-16 07:05:59 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Neal Norwitz efbeaef1c1 Add a news entry about the sre/re swap. 2006-03-16 06:40:39 +00:00
Neal Norwitz f0e2c07a74 Spel compatibility write. 2006-03-16 06:33:21 +00:00
Neal Norwitz f521de6efc Add back an sre.py that should be backwards compatible except for the warning. 2006-03-16 06:31:02 +00:00
Neal Norwitz 94a9c09e10 Rename sre.py -> re.py 2006-03-16 06:30:02 +00:00
Neal Norwitz 559e88be28 Remove re.py, in order to rename sre.py -> re.py (svn seems to require 2 steps). 2006-03-16 06:27:37 +00:00
Neal Norwitz 04d1513724 The pre module has been gone for a while. Need to go through and find other modules that no longer exists, since errors are silently ignored. 2006-03-16 06:21:19 +00:00
Tim Peters 1a3b248aff Oops! Use python_d.exe _before_ it's destroyed :-) 2006-03-16 02:31:36 +00:00
Tim Peters 378832c914 Change the Windows buildbot "clean" step to remove
stale .pyc files.
2006-03-16 01:54:16 +00:00
Tim Peters cf79aace07 Merge the tim-obmalloc branch to the trunk.
This is a heavily altered derivative of SF patch 1123430, Evan
Jones's heroic effort to make obmalloc return unused arenas to
the system free(), with some heuristic strategies to make it
more likley that arenas eventually _can_ be freed.
2006-03-16 01:14:46 +00:00
Guido van Rossum f8480a7856 Instead of relative imports, use (implicitly) absolute ones. 2006-03-15 23:08:13 +00:00
Walter Dörwald 067db48997 Document the other change from patch #1359365. 2006-03-15 22:17:27 +00:00
Walter Dörwald 197e8321c6 SF patch #1359365: cStringIO.StringIO.isatty() will raise a ValueError
now if close() has been called before (like file and StringIO.StringIO do)
2006-03-15 22:13:13 +00:00
Thomas Heller 9998f78d6d Backport from upstream version: compatibility with older Python
versions.
2006-03-15 21:49:52 +00:00