Neal Norwitz
d1e0ef68fb
SF #1445431 , fix some leaks in error conditions.
2006-03-20 04:08:12 +00:00
Neal Norwitz
c3264e50e7
Get rid of some warnings.
2006-03-20 02:04:23 +00:00
Neal Norwitz
d5b0c9b87e
Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace()
...
returns a non-string when converting %Z.
Will backport.
2006-03-20 01:58:39 +00:00
Neal Norwitz
29892cc386
Update function name to reflect params and stop casting to long to avoid losing data
2006-03-20 01:55:26 +00:00
Neal Norwitz
2aa9a5dfdd
Use macro versions instead of function versions when we already know the type.
...
This will hopefully get rid of some Coverity warnings, be a hint to
developers, and be marginally faster.
Some asserts were added when the type is currently known, but depends
on values from another function.
2006-03-20 01:53:23 +00:00
Kurt B. Kaiser
70f05c5d7f
Source file f.flush() after writing; trying to avoid lossage if user
...
kills GUI. Report from B. Sherwood. Backport to 2.3.4.
2006-03-19 20:40:05 +00:00
Georg Brandl
8a85ac660b
Update tutorial wrt PEP 341 try-except-finally statement
2006-03-19 11:20:29 +00:00
Barry Warsaw
c54ae35782
Ignore api.{dvi,idx,ind,l2h,log,toc} and modapi.ind, via suffix
...
wildcards.
2006-03-18 18:12:26 +00:00
Hye-Shik Chang
fa7622401e
Ignore *.pyc and *.pyo
2006-03-18 18:07:35 +00:00
Walter Dörwald
6a7ec7c3e2
Change raise statement to PEP 8 style.
2006-03-18 16:35:17 +00:00
Barry Warsaw
e5c5117acf
Shim for test_email_renamed.py tests.
2006-03-18 16:17:17 +00:00
Barry Warsaw
40ef0067ad
Merge email package 4.0 from the sandbox, including documentation, test cases,
...
and NEWS updates.
2006-03-18 15:41:53 +00:00
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