Neal Norwitz
e98ccf6690
Forward port MvL's fix in 43227:
...
Fix crash when a Unicode string containing an encoding declaration is
compile()d. Fixes #1115379 .
2006-03-23 05:39:47 +00:00
Tim Peters
4d073bb9a1
_Py_NegativeRefcount(): print the full value of ob_refcnt.
2006-03-23 05:38:33 +00:00
Barry Warsaw
d6316a9fea
Add email/mime to LIBSUBDIRS. Fixes SF bug # 1454912.
2006-03-22 14:57:54 +00:00
Thomas Heller
bcfcccaf6e
Fix some int/Py_ssize_t issues which led to compiler warnings
...
on 64-bit platforms.
2006-03-22 13:21:16 +00:00
Thomas Heller
59feb6f5cc
Include <malloc.h> on windows, to avoid warnings when compiling with mingw.
...
Don't use SEH when compiling wth mingw.
Use IS_INTRESOURCE to determine function name from function ordinal.
Rewrite the code that allocates and frees callback functions, hopefully
this avoids the coverty warnings: Remove the THUNK typedef, and move the
definition of struct ffi_info into the header file.
2006-03-22 12:59:53 +00:00
Thomas Heller
c61c049955
ctypes was added.
2006-03-22 10:09:27 +00:00
Hye-Shik Chang
f303261cf0
Remove false information from the comment and reformat it like other
...
comments in the file. (SF #1455641 )
2006-03-22 08:52:43 +00:00
Neal Norwitz
8142cb6f20
Damn another occurrence of using as as a keywordf
2006-03-22 07:13:30 +00:00
Georg Brandl
72d7a78eb0
Change NEWS entry for recent socket API change
2006-03-22 06:44:14 +00:00
Tim Peters
0ae07bdb59
Whitespace normalization.
2006-03-22 03:23:21 +00:00
Tim Peters
b84de02f75
Record that test_wait[34] get skipped on native Windows.
2006-03-22 02:58:17 +00:00
Barry Warsaw
4d90bbd292
News about email 4.0.
2006-03-22 02:45:50 +00:00
Barry Warsaw
0568f404ca
remove test file
2006-03-21 19:46:26 +00:00
Barry Warsaw
a3aaf3e7c8
py trunk svn test
2006-03-21 19:37:40 +00:00
Barry Warsaw
49c54bc97a
py trunk svn test
2006-03-21 19:26:34 +00:00
Barry Warsaw
f37ec35b0b
py trunk svn test
2006-03-21 18:30:37 +00:00
Georg Brandl
bb03ac0dae
Correct API design mistake from rev. 43126: make socket attributes readonly properties.
2006-03-21 18:17:25 +00:00
Martin v. Löwis
9ca8789ee3
Update to Tk 8.4.12 and Tix 8.4.0
2006-03-21 13:20:29 +00:00
Martin v. Löwis
a0f4549b79
Update to OpenSSL 0.9.8a
2006-03-21 12:08:39 +00:00
Georg Brandl
48b4bf7b1a
Add a note about pow(x,y) equalling x**y (the "**" operator
...
was used unmotivated in the pow() docs)
2006-03-21 08:48:04 +00:00
Tim Peters
59b96c1029
Try to repair at least one segfault on the Mac buildbot,
...
as diagnosed by Nick Coghlan.
test_capi.py: A test module should never spawn a thread as
a side effect of being imported. Because this one did, the
segfault one of its thread tests caused didn't occur until
a few tests after test_regrtest.py thought test_capi was
finished. Repair that. Also join() the thread spawned
at the end, so that test_capi is truly finished when
regrtest reports that it's done.
_testcapimodule.c test_thread_state(): this spawns a
couple of non-threading.py threads, passing them a PyObject*
argument, but did nothing to ensure that those threads
finished before returning. As a result, the PyObject*
_could_ (although this was unlikely) get decref'ed out of
existence before the threads got around to using it.
Added explicit synchronization (via a Python mutex) so
that test_thread_state can reliably wait for its spawned
threads to finish.
2006-03-21 03:58:41 +00:00
Raymond Hettinger
66760f87b5
Show an example of calling a named set method.
2006-03-20 18:35:55 +00:00
Thomas Heller
e502693ee9
Avoid a potential double-free bug.
2006-03-20 14:22:05 +00:00
Thomas Heller
ba29e4c573
Apply patch from Martin v. Loewis: Avoid function pointer casts.
...
https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1453037&group_id=71702
2006-03-20 10:22:42 +00:00
Georg Brandl
a0dd3e32f6
Remove mention of fpectl in README.
2006-03-20 09:38:58 +00:00
Neal Norwitz
9b00a56464
Damn Coverity. I can't even sneak in a leak any more. :-)
2006-03-20 08:47:12 +00:00
Thomas Heller
711e7f00ca
Fix another bug found by Coverty.
2006-03-20 08:29:28 +00:00
Thomas Heller
e2061dc48e
Fix bug found by Coverty.
2006-03-20 08:28:19 +00:00
Thomas Heller
cce2267cf1
Plug a leak in the ctypes test suite when tests are run repeatedly.
2006-03-20 08:11:56 +00:00
Thomas Heller
d59ca8f335
Accessing unaligned structure fields works now on all architectures.
...
Including unittest.
2006-03-20 07:54:01 +00:00
Neal Norwitz
6c2f913805
The helper is only necessary for wait3/4.
2006-03-20 07:25:26 +00:00
Anthony Baxter
46fa48ab04
whitespace n11n
2006-03-20 07:10:01 +00:00
Neal Norwitz
d5a375496e
Try to cleanup a lot of boilerplate #ifdef wrt wait types and make the code
...
more consistent (and smaller by 85 lines or so).
2006-03-20 06:48:34 +00:00
Neal Norwitz
49c65d022f
Make some functions static, reformat function decl to be consistent and check for error from PyModule_GetDict()
2006-03-20 06:34:06 +00:00
Neal Norwitz
3dd8be414e
Get Py_DEPRECATED to work with gcc 4.x too
2006-03-20 06:33:01 +00:00
Anthony Baxter
24078c5c4f
moved older releases into HISTORY
2006-03-20 06:30:41 +00:00
Neal Norwitz
05a45599d7
Patch #1309579 : wait3 and wait4 were added to the posix module by Chad J. Schroeder.
...
This was a fair amount of rework of the patch. Refactored test_fork1 so it
could be reused by the new tests for wait3/4. Also made them into new style
unittests (derive from unittest.TestCase).
2006-03-20 06:30:08 +00:00
Anthony Baxter
910b5eec07
experimenting with release stuff. please ignore
2006-03-20 06:25:04 +00:00
Anthony Baxter
17471432ec
replace use of int16_t with a (typedef'd) short, to fix Windows buildbots.
...
expand tabs.
2006-03-20 05:58:21 +00:00
Anthony Baxter
d48f2b8520
ignore the fetched NormalizationTest.txt file
2006-03-20 05:29:26 +00:00
Anthony Baxter
fa86907aae
SF [ 1231053 ] audioop - alaw encoding/decoding added, code updated
...
This patch adds a-LAW encoding to audioop and replaces the old
u-LAW encoding/decoding code with the current code from sox.
Possible issues: the code from sox uses int16_t.
Code by Lars Immisch
2006-03-20 05:21:58 +00:00
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