]> granicus.if.org Git - python/log
python
18 years ago- consistency nit: always include "()" in \function and \method
Fred Drake [Fri, 30 Jun 2006 19:29:25 +0000 (19:29 +0000)]
- consistency nit: always include "()" in \function and \method
  (*should* be done by the presentation, but that requires changes all over)
- avoid spreading the __name meme

18 years agoDocument decorator usage of property.
Georg Brandl [Fri, 30 Jun 2006 18:47:56 +0000 (18:47 +0000)]
Document decorator usage of property.

18 years agoRemove now-unused fidding with PY_FORMAT_SIZE_T.
Tim Peters [Fri, 30 Jun 2006 18:34:51 +0000 (18:34 +0000)]
Remove now-unused fidding with PY_FORMAT_SIZE_T.

18 years agoRevert the use of PY_FORMAT_SIZE_T in PyErr_Format.
Thomas Heller [Fri, 30 Jun 2006 17:44:54 +0000 (17:44 +0000)]
Revert the use of PY_FORMAT_SIZE_T in PyErr_Format.

18 years agoAnother problem reported by Coverity. Backport candidate.
Neal Norwitz [Fri, 30 Jun 2006 07:32:46 +0000 (07:32 +0000)]
Another problem reported by Coverity.  Backport candidate.

18 years agoSilence compiler warning
Neal Norwitz [Fri, 30 Jun 2006 07:32:16 +0000 (07:32 +0000)]
Silence compiler warning

18 years agoWhitespace normalization.
Tim Peters [Fri, 30 Jun 2006 06:18:39 +0000 (06:18 +0000)]
Whitespace normalization.

18 years agoFixed bug in fileConfig() which failed to clear logging._handlerList
Vinay Sajip [Fri, 30 Jun 2006 00:13:08 +0000 (00:13 +0000)]
Fixed bug in fileConfig() which failed to clear logging._handlerList

18 years agoadd string methods to index
Skip Montanaro [Thu, 29 Jun 2006 19:20:09 +0000 (19:20 +0000)]
add string methods to index

18 years agoPatch #1509163: MS Toolkit Compiler no longer available
Martin v. Löwis [Thu, 29 Jun 2006 18:58:44 +0000 (18:58 +0000)]
Patch #1509163: MS Toolkit Compiler no longer available

18 years agoProtect the thread api calls in the _ctypes extension module within
Thomas Heller [Thu, 29 Jun 2006 18:34:15 +0000 (18:34 +0000)]
Protect the thread api calls in the _ctypes extension module within
#ifdef WITH_THREADS/#endif blocks.  Found by Sam Rushing.

18 years agoThis should fix the buildbot failure on s/390 which can't connect to gmail.org.
Neal Norwitz [Thu, 29 Jun 2006 05:48:14 +0000 (05:48 +0000)]
This should fix the buildbot failure on s/390 which can't connect to gmail.org.
It makes the error message consistent and always sends to stderr.

It would be much better for all the networking tests to hit only python.org.

18 years agoAdd new utility function, reap_children(), to test_support. This should
Neal Norwitz [Thu, 29 Jun 2006 04:10:08 +0000 (04:10 +0000)]
Add new utility function, reap_children(), to test_support.  This should
be called at the end of each test that spawns children (perhaps it
should be called from regrtest instead?).  This will hopefully prevent
some of the unexplained failures in the buildbots (hppa and alpha)
during tests that spawn children.  The problems were not reproducible.
There were many zombies that remained at the end of several tests.
In the worst case, this shouldn't cause any more problems,
though it may not help either.  Time will tell.

18 years agodocument recent bugfixes in sgmllib
Fred Drake [Thu, 29 Jun 2006 02:57:48 +0000 (02:57 +0000)]
document recent bugfixes in sgmllib

18 years agoSF bug #1504333: sgmlib should allow angle brackets in quoted values
Fred Drake [Thu, 29 Jun 2006 00:51:53 +0000 (00:51 +0000)]
SF bug #1504333: sgmlib should allow angle brackets in quoted values
(modified patch by Sam Ruby; changed to use separate REs for start and end
 tags to reduce matching cost for end tags; extended tests; updated to avoid
 breaking previous changes to support IPv6 addresses in unquoted attribute
 values)

18 years agoMention the expat upgrade and pyexpat fix I put in 2.5b1.
Trent Mick [Wed, 28 Jun 2006 20:30:41 +0000 (20:30 +0000)]
Mention the expat upgrade and pyexpat fix I put in 2.5b1.

18 years agoFix end_fill().
Georg Brandl [Wed, 28 Jun 2006 20:23:25 +0000 (20:23 +0000)]
Fix end_fill().

18 years ago[Bug #1508766] Add docs for uuid module; this puts the module in the 'Internet Protoc...
Andrew M. Kuchling [Wed, 28 Jun 2006 14:27:21 +0000 (14:27 +0000)]
[Bug #1508766] Add docs for uuid module; this puts the module in the 'Internet Protocols' section.  Arguably this module could also have gone in the chapters on strings or encodings, maybe even the crypto chapter.  Fred, please move if you see fit.

18 years ago[Bug #1508766] Add docs for uuid module; docs written by George Yoshida, with minor...
Andrew M. Kuchling [Wed, 28 Jun 2006 14:25:20 +0000 (14:25 +0000)]
[Bug #1508766] Add docs for uuid module; docs written by George Yoshida, with minor rearrangements by me.

18 years agoA couple of crashers of the "won't fix" kind.
Armin Rigo [Wed, 28 Jun 2006 10:49:51 +0000 (10:49 +0000)]
A couple of crashers of the "won't fix" kind.

18 years agoMake full module name available as __module_name__ even when __name__ is set to somet...
Nick Coghlan [Wed, 28 Jun 2006 10:41:47 +0000 (10:41 +0000)]
Make full module name available as __module_name__ even when __name__ is set to something else (like '__main__')

18 years agoFix bug #1512695: cPickle.loads could crash if it was interrupted with
Neal Norwitz [Wed, 28 Jun 2006 06:28:31 +0000 (06:28 +0000)]
Fix bug #1512695: cPickle.loads could crash if it was interrupted with
a KeyboardInterrupt since PyTuple_Pack was passed a NULL.

Will backport.

18 years agoAccording to the man pages on Gentoo Linux and Tru64, EACCES or EAGAIN
Neal Norwitz [Wed, 28 Jun 2006 05:03:22 +0000 (05:03 +0000)]
According to the man pages on Gentoo Linux and Tru64, EACCES or EAGAIN
can be returned if fcntl (lockf) fails.  This fixes the test failure
on Tru64 by checking for either error rather than just EAGAIN.

18 years agomacosx: Install a libpython2.5.a inside the framework as a symlink to the actual
Ronald Oussoren [Tue, 27 Jun 2006 15:45:32 +0000 (15:45 +0000)]
macosx: Install a libpython2.5.a inside the framework as a symlink to the actual
dylib at the root of the framework, that way tools that expect a unix-like
install (python-config, but more importantly external products like
mod_python) work correctly.

18 years agoUse staticly build copies of zlib and bzip2 to build the OSX installer, that
Ronald Oussoren [Tue, 27 Jun 2006 12:53:52 +0000 (12:53 +0000)]
Use staticly build copies of zlib and bzip2 to build the OSX installer, that
way the resulting binaries have a better change of running on 10.3.

This patch also updates the search logic for sleepycat db3/4, without this
patch you cannot use a sleepycat build with a non-standard prefix; with this
you can (at least on OSX) if you add the prefix to CPPFLAGS/LDFLAGS at
configure-time. This change is needed to build the binary installer for OSX.

18 years agoWhitespace normalization.
Tim Peters [Tue, 27 Jun 2006 11:52:49 +0000 (11:52 +0000)]
Whitespace normalization.

18 years agoMacOSX: fix rather dumb buglet that made it impossible to create extensions on
Ronald Oussoren [Tue, 27 Jun 2006 10:08:25 +0000 (10:08 +0000)]
MacOSX: fix rather dumb buglet that made it impossible to create extensions on
OSX 10.3 when using a binary distribution build on 10.4.

18 years agoRemoved buggy exception handling in doRollover of rotating file handlers. Exceptions...
Vinay Sajip [Tue, 27 Jun 2006 07:34:37 +0000 (07:34 +0000)]
Removed buggy exception handling in doRollover of rotating file handlers. Exceptions now propagate to caller.

18 years agoVerify buildbot picks up these changes (really needs testing after last change to...
Neal Norwitz [Tue, 27 Jun 2006 04:28:56 +0000 (04:28 +0000)]
Verify buildbot picks up these changes (really needs testing after last change to Makefile.pre.in)

18 years agoTry again: test unimportant change to verify buildbot does not try to build
Neal Norwitz [Tue, 27 Jun 2006 04:26:30 +0000 (04:26 +0000)]
Try again: test unimportant change to verify buildbot does not try to build

18 years agoTest unimportant change to verify buildbot does not try to build
Neal Norwitz [Tue, 27 Jun 2006 04:23:06 +0000 (04:23 +0000)]
Test unimportant change to verify buildbot does not try to build

18 years agoFix SF bug #1513032, 'make install' failure on FreeBSD 5.3.
Neal Norwitz [Tue, 27 Jun 2006 04:12:58 +0000 (04:12 +0000)]
Fix SF bug #1513032, 'make install' failure on FreeBSD 5.3.

No need to install lib-old, it's empty in 2.5.

18 years agoInstead of doing a make test, run the regression tests out of the installed
Neal Norwitz [Tue, 27 Jun 2006 04:09:13 +0000 (04:09 +0000)]
Instead of doing a make test, run the regression tests out of the installed
copy.  This will hopefully catch problems where directories are added
under Lib/ but not to Makefile.pre.in.  This breaks out the 2 runs
of the test suite with and without -O which is also nicer.

18 years agoIgnore some more warnings in the dynamic linker on an older gentoo
Neal Norwitz [Tue, 27 Jun 2006 04:06:46 +0000 (04:06 +0000)]
Ignore some more warnings in the dynamic linker on an older gentoo

18 years agoAttempt to fix build failure on OS X and Debian alpha; the symptom is
Andrew M. Kuchling [Mon, 26 Jun 2006 17:00:35 +0000 (17:00 +0000)]
Attempt to fix build failure on OS X and Debian alpha; the symptom is
consistent with os.wait() returning immediately because some other
subprocess had previously exited; the test suite then immediately
tries to lock the mailbox and gets an error saying it's already
locked.

To fix this, do a waitpid() so the test suite only continues once
the intended child process has exited.

18 years agoWindows doesn't have os.fork(). I'll just disable this test for now
Andrew M. Kuchling [Mon, 26 Jun 2006 14:33:24 +0000 (14:33 +0000)]
Windows doesn't have os.fork().  I'll just disable this test for now

18 years agoAdd a test for a conflicting lock.
Andrew M. Kuchling [Mon, 26 Jun 2006 13:23:10 +0000 (13:23 +0000)]
Add a test for a conflicting lock.

On slow machines, maybe the time intervals (2 sec, 0.5 sec) will be too tight.
I'll see how the buildbots like it.

18 years ago[Bug #1512163] Use one set of locking methods, lockf();
Andrew M. Kuchling [Mon, 26 Jun 2006 13:12:16 +0000 (13:12 +0000)]
[Bug #1512163] Use one set of locking methods, lockf();
remove the flock() calls.

On FreeBSD, the two methods lockf() and flock() end up using the same
mechanism and the second one fails.  A Linux man page claims that the
two methods are orthogonal (so locks acquired one way don't interact
with locks acquired the other way) but that clearly must be false.

18 years ago[Bug #1512163] Fix typo.
Andrew M. Kuchling [Mon, 26 Jun 2006 13:08:24 +0000 (13:08 +0000)]
[Bug #1512163] Fix typo.

This change will probably break tests on FreeBSD buildbots, but I'll check in
a fix for that next.

18 years agoDescribe workaround for PyRange_New()'s removal
Andrew M. Kuchling [Mon, 26 Jun 2006 12:43:43 +0000 (12:43 +0000)]
Describe workaround for PyRange_New()'s removal

18 years ago[Bug #1511998] Various comments from Nick Coghlan; thanks!
Andrew M. Kuchling [Mon, 26 Jun 2006 12:40:02 +0000 (12:40 +0000)]
[Bug #1511998] Various comments from Nick Coghlan; thanks!

18 years agoAlso install the .egg-info files in Lib. This will cause wsgiref.egg-info to
Ronald Oussoren [Sun, 25 Jun 2006 21:19:06 +0000 (21:19 +0000)]
Also install the .egg-info files in Lib. This will cause wsgiref.egg-info to
be installed.

18 years agoUse a path without a double slash to compile the .py files after installation
Ronald Oussoren [Sun, 25 Jun 2006 21:15:58 +0000 (21:15 +0000)]
Use a path without a double slash to compile the .py files after installation
(macosx, binary installer). This fixes bug #1508369 for python 2.5.

18 years agoDrop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren [Sun, 25 Jun 2006 21:14:19 +0000 (21:14 +0000)]
Drop the calldll demo's for macos, calldll isn't present anymore, no need
to keep the demo's around.

18 years agoWorkaround for bug #1512124
Ronald Oussoren [Sun, 25 Jun 2006 20:44:16 +0000 (20:44 +0000)]
Workaround for bug #1512124

Without this patch IDLE will get unresponsive when you open the debugger
window on OSX. This is both using the system Tcl/Tk on Tiger as the latest
universal download from tk-components.sf.net.

18 years agoBug #1511381: codec_getstreamcodec() in codec.c is corrected to
Hye-Shik Chang [Fri, 23 Jun 2006 21:16:18 +0000 (21:16 +0000)]
Bug #1511381: codec_getstreamcodec() in codec.c is corrected to
omit a default "error" argument for NULL pointer.  This allows
the parser to take a codec from cjkcodecs again.
(Reported by Taewook Kang and reviewed by Walter Doerwald)

18 years agoFit Makefile for the Python doc environment better; this is a step toward
Andrew M. Kuchling [Fri, 23 Jun 2006 19:23:40 +0000 (19:23 +0000)]
Fit Makefile for the Python doc environment better; this is a step toward
including the howtos in the build process.

* Put LaTeX output in ../paper-<whatever>/.
* Put HTML output in ../html/
* Explain some of the Makefile variables
* Remove some cruft dating to my environment (e.g. the 'web' target)

This makefile isn't currently invoked by the documentation build process,
so these changes won't destabilize anything.

18 years ago- SF bug #853506: IP6 address parsing in sgmllib
Fred Drake [Fri, 23 Jun 2006 06:03:45 +0000 (06:03 +0000)]
- SF bug #853506: IP6 address parsing in sgmllib
  ('[' and ']' were not accepted in unquoted attribute values)

- cleaned up tests of character and entity reference decoding so the
  tests cover the documented relationships among handle_charref,
  handle_entityref, convert_charref, convert_codepoint, and
  convert_entityref, without bringing up Unicode issues that sgmllib
  cannot be involved in

18 years agoFix refleak
Neal Norwitz [Fri, 23 Jun 2006 03:32:44 +0000 (03:32 +0000)]
Fix refleak

18 years agoApplied patch #1506758: Prevent MemoryErrors with large MAXFD.
Peter Astrand [Thu, 22 Jun 2006 20:21:26 +0000 (20:21 +0000)]
Applied patch #1506758: Prevent MemoryErrors with large MAXFD.

18 years agoMake it possible to run test_subprocess.py on Python 2.2, which lacks test_support...
Peter Astrand [Thu, 22 Jun 2006 20:06:46 +0000 (20:06 +0000)]
Make it possible to run test_subprocess.py on Python 2.2, which lacks test_support.is_resource_enabled.

18 years agoSmall fixes, mostly in the markup.
Thomas Heller [Thu, 22 Jun 2006 19:07:36 +0000 (19:07 +0000)]
Small fixes, mostly in the markup.

18 years agoFix my name ;)
Georg Brandl [Thu, 22 Jun 2006 19:02:18 +0000 (19:02 +0000)]
Fix my name ;)

18 years agoMacOSX: Add a message to the first screen of the installer that tells
Ronald Oussoren [Thu, 22 Jun 2006 18:33:54 +0000 (18:33 +0000)]
MacOSX: Add a message to the first screen of the installer that tells
users how to avoid updates to their shell profile.

18 years ago'warning's was improperly requiring that a command-line Warning category be
Brett Cannon [Thu, 22 Jun 2006 16:49:14 +0000 (16:49 +0000)]
'warning's was improperly requiring that a command-line Warning category be
both a subclass of Warning and a subclass of types.ClassType.  The latter is no
longer true thanks to new-style exceptions.

Closes bug #1510580.  Thanks to AMK for the test.

18 years agofix markup nit
Fred Drake [Thu, 22 Jun 2006 15:50:08 +0000 (15:50 +0000)]
fix markup nit

18 years agoTest for correct compilation of try-except-finally stmt.
Georg Brandl [Thu, 22 Jun 2006 14:46:46 +0000 (14:46 +0000)]
Test for correct compilation of try-except-finally stmt.
Test for correct lineno on list, tuple, dict literals.

18 years agoSet lineno correctly on list, tuple and dict literals.
Georg Brandl [Thu, 22 Jun 2006 14:46:17 +0000 (14:46 +0000)]
Set lineno correctly on list, tuple and dict literals.

18 years agoMention how to suppress warnings
Andrew M. Kuchling [Thu, 22 Jun 2006 13:10:23 +0000 (13:10 +0000)]
Mention how to suppress warnings

18 years agoReset the doc date to today for the automatic doc builds
Neal Norwitz [Thu, 22 Jun 2006 06:35:30 +0000 (06:35 +0000)]
Reset the doc date to today for the automatic doc builds

18 years agoCopy the wsgiref package during make install.
Neal Norwitz [Thu, 22 Jun 2006 06:30:50 +0000 (06:30 +0000)]
Copy the wsgiref package during make install.

18 years agoFix for an obscure bug introduced by revs 46806 and 46808, with a test.
Armin Rigo [Wed, 21 Jun 2006 21:58:50 +0000 (21:58 +0000)]
Fix for an obscure bug introduced by revs 46806 and 46808, with a test.
The problem of checking too eagerly for recursive calls is the
following: if a RuntimeError is caused by recursion, and if code needs
to normalize it immediately (as in the 2nd test), then
PyErr_NormalizeException() needs a call to the RuntimeError class to
instantiate it, and this hits the recursion limit again...  causing
PyErr_NormalizeException() to never finish.

Moved this particular recursion check to slot_tp_call(), which is not
involved in instantiating built-in exceptions.

Backport candidate.

18 years agoRemoved call to enable_callback_tracebacks that slipped in by accident.
Gerhard Häring [Wed, 21 Jun 2006 20:55:04 +0000 (20:55 +0000)]
Removed call to enable_callback_tracebacks that slipped in by accident.

18 years agoPatch #1509001: expected skips for netbsd3.
Georg Brandl [Wed, 21 Jun 2006 17:53:17 +0000 (17:53 +0000)]
Patch #1509001: expected skips for netbsd3.

18 years agoMake test_fcntl aware of netbsd3.
Georg Brandl [Wed, 21 Jun 2006 17:52:36 +0000 (17:52 +0000)]
Make test_fcntl aware of netbsd3.

18 years agofix [ 1509132 ] compiler module builds incorrect AST for TryExceptFinally
Georg Brandl [Wed, 21 Jun 2006 17:45:17 +0000 (17:45 +0000)]
fix [ 1509132 ] compiler module builds incorrect AST for TryExceptFinally

18 years agoBump version
Andrew M. Kuchling [Wed, 21 Jun 2006 17:17:28 +0000 (17:17 +0000)]
Bump version

18 years agoNote some of Barry's work
Andrew M. Kuchling [Wed, 21 Jun 2006 17:17:10 +0000 (17:17 +0000)]
Note some of Barry's work

18 years agoLink to LibRef module documentation
Andrew M. Kuchling [Wed, 21 Jun 2006 17:10:18 +0000 (17:10 +0000)]
Link to LibRef module documentation

18 years agoAt the C level, tuple arguments are passed in directly to the exception
Brett Cannon [Wed, 21 Jun 2006 16:57:57 +0000 (16:57 +0000)]
At the C level, tuple arguments are passed in directly to the exception
constructor, meaning it is treated as *args, not as a single argument.  This
means using the 'message' attribute won't work (until Py3K comes around),
and so one must grab from 'arg' to get the error number.

18 years agoFix typo of exception name.
Brett Cannon [Tue, 20 Jun 2006 19:20:17 +0000 (19:20 +0000)]
Fix typo of exception name.

18 years agoRaise TestSkipped when the test socket connection is refused.
Brett Cannon [Tue, 20 Jun 2006 17:30:26 +0000 (17:30 +0000)]
Raise TestSkipped when the test socket connection is refused.

18 years ago[Bug #1504456] Mention xml -> xmlcore change
Andrew M. Kuchling [Tue, 20 Jun 2006 13:20:30 +0000 (13:20 +0000)]
[Bug #1504456] Mention xml -> xmlcore change

18 years agoMinor edits and rearrangements; markup fix
Andrew M. Kuchling [Tue, 20 Jun 2006 13:11:29 +0000 (13:11 +0000)]
Minor edits and rearrangements; markup fix

18 years agoAdd introductory paragraphs summarizing the release; minor edits
Andrew M. Kuchling [Tue, 20 Jun 2006 13:05:12 +0000 (13:05 +0000)]
Add introductory paragraphs summarizing the release; minor edits

18 years agoTerminology and typography fixes
Andrew M. Kuchling [Tue, 20 Jun 2006 12:19:54 +0000 (12:19 +0000)]
Terminology and typography fixes

18 years agoAdd four library items
Andrew M. Kuchling [Tue, 20 Jun 2006 12:15:09 +0000 (12:15 +0000)]
Add four library items

18 years agoUncomment wsgiref section
Andrew M. Kuchling [Tue, 20 Jun 2006 11:52:16 +0000 (11:52 +0000)]
Uncomment wsgiref section

18 years agoTagging for release of Python 2.5b1
Anthony Baxter [Tue, 20 Jun 2006 03:45:08 +0000 (03:45 +0000)]
Tagging for release of Python 2.5b1

18 years ago[ 1295808 ] expat symbols should be namespaced in pyexpat v2.5b1
Trent Mick [Mon, 19 Jun 2006 23:57:41 +0000 (23:57 +0000)]
1295808 ] expat symbols should be namespaced in pyexpat
(http://python.org/sf/1295808)

18 years agoUpgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338).
Trent Mick [Mon, 19 Jun 2006 23:21:25 +0000 (23:21 +0000)]
Upgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338).

18 years agoRemove Python 2.3 compatibility comment.
Ka-Ping Yee [Mon, 19 Jun 2006 22:49:36 +0000 (22:49 +0000)]
Remove Python 2.3 compatibility comment.

18 years agoFixed a memory leak that was introduced with incorrect usage of the Python weak
Gerhard Häring [Mon, 19 Jun 2006 21:17:35 +0000 (21:17 +0000)]
Fixed a memory leak that was introduced with incorrect usage of the Python weak
reference API in pysqlite 2.2.1.

Bumbed pysqlite version number to upcoming pysqlite 2.3.1 release.

18 years agoremove non-working document formats from edist
Fred Drake [Mon, 19 Jun 2006 17:31:16 +0000 (17:31 +0000)]
remove non-working document formats from edist

18 years agoPreparing for 2.5b1.
Anthony Baxter [Mon, 19 Jun 2006 12:04:15 +0000 (12:04 +0000)]
Preparing for 2.5b1.

18 years agoTestHelp.make_parser(): This was making a permanent change to
Tim Peters [Mon, 19 Jun 2006 09:09:44 +0000 (09:09 +0000)]
TestHelp.make_parser():  This was making a permanent change to
os.environ (setting envar COLUMNS), which at least caused
test_float_default() to fail if the tests were run more than once.

This repairs the test_optparse -R failures Neal reported on
python-dev.  It also explains some seemingly bizarre test_optparse
failures we saw a couple weeks ago on the buildbots, when
test_optparse failed due to test_file failing to clean up after
itself, and then test_optparse failed in an entirely different
way when regrtest's -w option ran test_optparse a second time.
It's now obvious that make_parser() permanently changing os.environ
was responsible for the second half of that.

18 years agoNext try to fix the OpenBSD buildbot tests:
Thomas Heller [Mon, 19 Jun 2006 08:32:46 +0000 (08:32 +0000)]
Next try to fix the OpenBSD buildbot tests:
Use ctypes.util.find_library to locate the C runtime library
on platforms where is returns useful results.

18 years agoRepair KeyError when running test_threaded_import under -R,
Tim Peters [Mon, 19 Jun 2006 08:14:28 +0000 (08:14 +0000)]
Repair KeyError when running test_threaded_import under -R,
as reported by Neal on python-dev.

18 years agoMake check order match in configure and configure.in.
Walter Dörwald [Mon, 19 Jun 2006 08:14:09 +0000 (08:14 +0000)]
Make check order match in configure and configure.in.

18 years agoPatch #1506645: add Python wrappers for the curses functions
Walter Dörwald [Mon, 19 Jun 2006 08:07:50 +0000 (08:07 +0000)]
Patch #1506645: add Python wrappers for the curses functions
is_term_resized, resize_term and resizeterm. This uses three
separate configure checks (one for each function).

18 years agoWhitespace normalization.
Tim Peters [Mon, 19 Jun 2006 07:45:16 +0000 (07:45 +0000)]
Whitespace normalization.

18 years agoTry to repair the failing test on the OpenBSD buildbot. Trial and error...
Thomas Heller [Mon, 19 Jun 2006 07:07:49 +0000 (07:07 +0000)]
Try to repair the failing test on the OpenBSD buildbot.  Trial and error...

18 years agoAdd news entry about error msg improvement.
Georg Brandl [Mon, 19 Jun 2006 06:35:54 +0000 (06:35 +0000)]
Add news entry about error msg improvement.

18 years agoUse Py_ssize_t
Neal Norwitz [Mon, 19 Jun 2006 05:40:44 +0000 (05:40 +0000)]
Use Py_ssize_t

18 years agoPatch #1507676: improve exception messages in abstract.c, object.c and typeobject.c.
Georg Brandl [Sun, 18 Jun 2006 22:17:29 +0000 (22:17 +0000)]
Patch #1507676: improve exception messages in abstract.c, object.c and typeobject.c.

18 years agoFix typos.
Thomas Heller [Sun, 18 Jun 2006 21:27:04 +0000 (21:27 +0000)]
Fix typos.
Fix doctest example.
Mention in the tutorial that 'errcheck' is explained in the ref manual.
Use better wording in some places.
Remoce code examples that shouldn't be in the tutorial.
Remove some XXX notices.

18 years agoRevert 47014 until it is more robust
Neal Norwitz [Sun, 18 Jun 2006 20:10:24 +0000 (20:10 +0000)]
Revert 47014 until it is more robust

18 years agoThe hppa ubuntu box sometimes hangs forever in these tests. My guess
Neal Norwitz [Sun, 18 Jun 2006 19:37:40 +0000 (19:37 +0000)]
The hppa ubuntu box sometimes hangs forever in these tests.  My guess
is that the wait is failing for some reason.  Use WNOHANG, so we won't
wait until the buildbot kills the test suite.

I haven't been able to reproduce the failure, so I'm not sure if
this will help or not.  Hopefully, this change will cause the test
to fail, rather than hang.  That will be better since we will get
the rest of the test results.  It may also help us debug the real problem.

18 years agoPrevent spurious leaks when running regrtest.py -R. There may be more
Neal Norwitz [Sun, 18 Jun 2006 19:35:01 +0000 (19:35 +0000)]
Prevent spurious leaks when running regrtest.py -R.  There may be more
issues that crop up from time to time, but this change seems to have been
pretty stable (no spurious warnings) for about a week.

Other modules which use threads may require similar use of
threading_setup/threading_cleanup from test_support.

18 years agoremove unnecessary markup
Fred Drake [Sun, 18 Jun 2006 02:57:35 +0000 (02:57 +0000)]
remove unnecessary markup