]> granicus.if.org Git - python/log
python
22 years agoFix and test for bug #764548:
Just van Rossum [Wed, 2 Jul 2003 20:03:04 +0000 (20:03 +0000)]
Fix and test for bug #764548:
Use isinstance() instead of comparing types directly, to enable
subclasses of str and unicode to be used as patterns.
Blessed by /F.

22 years agoNote that csv files (when they are actual files) must be opened in 'b'inary
Skip Montanaro [Wed, 2 Jul 2003 15:32:48 +0000 (15:32 +0000)]
Note that csv files (when they are actual files) must be opened in 'b'inary
mode.  Note that the only restriction on the csvfile passed to writer
objects is that it have a write method.

22 years agoSF bug #764616: execfile(filename,...) not execfile(file,...)
Raymond Hettinger [Wed, 2 Jul 2003 15:31:54 +0000 (15:31 +0000)]
SF bug #764616:  execfile(filename,...) not execfile(file,...)

Clarify parameter name.

22 years agoGrammar nit. SF bug #757822
Raymond Hettinger [Wed, 2 Jul 2003 15:10:38 +0000 (15:10 +0000)]
Grammar nit.  SF bug #757822

22 years agoRevert the previous change; this is now dealt with in a better way.
Fred Drake [Wed, 2 Jul 2003 14:44:55 +0000 (14:44 +0000)]
Revert the previous change; this is now dealt with in a better way.

22 years agoThere's a better way to deal with the "comment" environment; I found
Fred Drake [Wed, 2 Jul 2003 14:44:08 +0000 (14:44 +0000)]
There's a better way to deal with the "comment" environment; I found
this in SF patch #732174.

22 years agofixed typo in comment
Just van Rossum [Wed, 2 Jul 2003 14:36:59 +0000 (14:36 +0000)]
fixed typo in comment

22 years agoMake the "install schema" tables follow the same table style we use
Fred Drake [Wed, 2 Jul 2003 14:33:11 +0000 (14:33 +0000)]
Make the "install schema" tables follow the same table style we use
elsewhere (lines between columns).

22 years agoThe Macintosh Modules Reference now formats to GNU info without errors
Fred Drake [Wed, 2 Jul 2003 14:25:04 +0000 (14:25 +0000)]
The Macintosh Modules Reference now formats to GNU info without errors
(which is not to say it's right), so re-enable it.

Documenting Python and Installing Python Modules still have problems
when converting to GNU info, so we'll continue to leave them out for
now.

22 years agoFill out the set of macros and environments supported somewhat.
Fred Drake [Wed, 2 Jul 2003 14:22:48 +0000 (14:22 +0000)]
Fill out the set of macros and environments supported somewhat.
Some of this is still pretty iffy.

22 years agoOn those systems lacking the AFMT_S16_NE symbol, the test was failing
Andrew MacIntyre [Wed, 2 Jul 2003 14:05:08 +0000 (14:05 +0000)]
On those systems lacking the AFMT_S16_NE symbol, the test was failing
because it was still looking in the ossaudiodev module namespace for
this symbol.

As the symbol has already been rebound as a global, use that instead.

22 years agoFreeBSD 5.x has moved some library routines and typedefs outside the
Andrew MacIntyre [Wed, 2 Jul 2003 13:53:25 +0000 (13:53 +0000)]
FreeBSD 5.x has moved some library routines and typedefs outside the
scope of the _XOPEN_SOURCE and _POSIX_C_SOURCE symbols, including:
- getloadavg()
- typedefs for u_int, u_long, u_char, u_short, ushort & uint

These are now all defined under the control of a __BSD_VISIBLE symbol.

The lack of the typedefs causes several extension modules to build
incorrectly or not at all, and is the cause of failures reported for
test_socket and test_tempfile on this platform
(see python-dev: 29/6/03, pieterb@gewis.nl, "Running tests on freebsd5")

This change does not appear to be needed in the 2.2 branch.

22 years agoThe datetime C API really isn't usable outside the datetime module
Fred Drake [Wed, 2 Jul 2003 13:42:51 +0000 (13:42 +0000)]
The datetime C API really isn't usable outside the datetime module
implementation, so remove this decoy (it break formatting of the GNU
info version of the docs).

22 years agoFix a variety of small markup nits.
Fred Drake [Wed, 2 Jul 2003 12:27:43 +0000 (12:27 +0000)]
Fix a variety of small markup nits.

22 years agoMoved the IDE tutorial to a directory with a shorter name. The long
Jack Jansen [Wed, 2 Jul 2003 09:20:09 +0000 (09:20 +0000)]
Moved the IDE tutorial to a directory with a shorter name. The long
name was giving problems with some tar implementations.

22 years agoSF #764121, docstring for spawnlp incorrect
Neal Norwitz [Wed, 2 Jul 2003 02:49:33 +0000 (02:49 +0000)]
SF #764121, docstring for spawnlp incorrect

22 years agoFix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancel
Neal Norwitz [Tue, 1 Jul 2003 21:12:47 +0000 (21:12 +0000)]
Fix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancel

Tk 8.4 may return different values than 8.3.  This fix should handle
either version.

22 years ago- added (c)StringIO tests; cStringIO usage failed in the previous
Just van Rossum [Tue, 1 Jul 2003 20:22:30 +0000 (20:22 +0000)]
- added (c)StringIO tests; cStringIO usage failed in the previous
  version of plistlib.py (r1.2)

22 years ago- replaced a couple of asserts with proper exceptions
Just van Rossum [Tue, 1 Jul 2003 20:15:38 +0000 (20:15 +0000)]
- replaced a couple of asserts with proper exceptions
- use isinstance instead of flaky file-detection code

22 years agoUse appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros
Neal Norwitz [Tue, 1 Jul 2003 20:15:21 +0000 (20:15 +0000)]
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros

22 years agoMake the classes exposed by threading.py new-style classes. This is
Tim Peters [Tue, 1 Jul 2003 20:01:55 +0000 (20:01 +0000)]
Make the classes exposed by threading.py new-style classes.  This is
mostly for convenience and to aid debugging.

22 years agoResolved minor XXX question in the obvious way.
Tim Peters [Tue, 1 Jul 2003 19:28:44 +0000 (19:28 +0000)]
Resolved minor XXX question in the obvious way.

22 years ago- note that super() only applies to new-style classes;
Fred Drake [Tue, 1 Jul 2003 16:31:26 +0000 (16:31 +0000)]
- note that super() only applies to new-style classes;
  closes SF bug #764003
- fix markup for consistency

22 years agonormalize markup for consistency
Fred Drake [Tue, 1 Jul 2003 16:17:50 +0000 (16:17 +0000)]
normalize markup for consistency

22 years agoRemove carriage returns
Neal Norwitz [Tue, 1 Jul 2003 15:03:49 +0000 (15:03 +0000)]
Remove carriage returns

22 years agoFix SF bug #763023, difflib.py: ratio() zero division not caught
Neal Norwitz [Tue, 1 Jul 2003 14:59:46 +0000 (14:59 +0000)]
Fix SF bug #763023, difflib.py: ratio() zero division not caught

Backport candidate

22 years agoconnector(): You can't use an empty string as an argument to connect()
Tim Peters [Tue, 1 Jul 2003 14:49:32 +0000 (14:49 +0000)]
connector():  You can't use an empty string as an argument to connect()
on Windows.

22 years agoshowwarning() calls formatwarning(), not showwarning().
Tim Peters [Tue, 1 Jul 2003 14:37:59 +0000 (14:37 +0000)]
showwarning() calls formatwarning(), not showwarning().

Bugfix candidate.

22 years agoFix SF bug #763770, test_socket_ssl crash
Neal Norwitz [Tue, 1 Jul 2003 13:44:28 +0000 (13:44 +0000)]
Fix SF bug #763770, test_socket_ssl crash

Don't run any tests if there is no ssl support.

22 years agoImprove the wording a bit
Raymond Hettinger [Tue, 1 Jul 2003 07:19:17 +0000 (07:19 +0000)]
Improve the wording a bit

22 years agoFix spelling, grammar, usage, and markup.
Raymond Hettinger [Tue, 1 Jul 2003 06:29:18 +0000 (06:29 +0000)]
Fix spelling, grammar, usage, and markup.

22 years agoSF #751062: Tutorial: remove string exceptions, add parnassus, #posts
Raymond Hettinger [Tue, 1 Jul 2003 06:19:34 +0000 (06:19 +0000)]
SF #751062:  Tutorial: remove string exceptions, add parnassus, #posts
(Contributed by Gerritt Holl)

* Remove the last mentions of string exceptions
* Reference a third-party repository of programs
* Minor clarification of comp.lang.py posting volumes

22 years agoTest Brett's addition of __all__ to Queue.
Raymond Hettinger [Tue, 1 Jul 2003 05:49:02 +0000 (05:49 +0000)]
Test Brett's addition of __all__ to Queue.

22 years agoAdd __all__ .
Brett Cannon [Tue, 1 Jul 2003 05:34:27 +0000 (05:34 +0000)]
Add __all__ .

22 years agoMake temporary change of using _strptime for time.strptime permanent.
Brett Cannon [Tue, 1 Jul 2003 05:16:08 +0000 (05:16 +0000)]
Make temporary change of using _strptime for time.strptime permanent.

Flesh out docs to better explain time.strptime (closes bug #697990).

22 years agoSF bug 753592, websucker bug
Neal Norwitz [Tue, 1 Jul 2003 04:14:28 +0000 (04:14 +0000)]
SF bug 753592, websucker bug

Pass the proper variable when the user supplies a directory.
Will backport.

22 years agoFix SF #763362, test_posixpath failed
Neal Norwitz [Tue, 1 Jul 2003 03:33:31 +0000 (03:33 +0000)]
Fix SF #763362, test_posixpath failed
Don't check expanduser('~') if the home directory == the root directory
(ie, we are running as root).

22 years agoSupport 'mbcs' as a 'built-in' encoding, so the C API can use it without
Mark Hammond [Tue, 1 Jul 2003 00:13:27 +0000 (00:13 +0000)]
Support 'mbcs' as a 'built-in' encoding, so the C API can use it without
defering to the encodings package.
As described in [ 763111 ] mbcs encoding should skip encodings package

22 years agoAdd versionadded info for the 2 new threading module functions
Neal Norwitz [Mon, 30 Jun 2003 21:47:47 +0000 (21:47 +0000)]
Add versionadded info for the 2 new threading module functions

22 years agoDocument the DISTUTILS_DEBUG variable.
Thomas Heller [Mon, 30 Jun 2003 19:33:29 +0000 (19:33 +0000)]
Document the DISTUTILS_DEBUG variable.
Closes sf #761401.

Backport candidate.

22 years agoFix typo in error message
Neal Norwitz [Mon, 30 Jun 2003 19:22:12 +0000 (19:22 +0000)]
Fix typo in error message

22 years agoWe are now post-beta 2.
Fred Drake [Mon, 30 Jun 2003 13:38:38 +0000 (13:38 +0000)]
We are now post-beta 2.

22 years agoAdded missing name (textwrap.dedent() docs).
Fred Drake [Mon, 30 Jun 2003 12:18:52 +0000 (12:18 +0000)]
Added missing name (textwrap.dedent() docs).

22 years agoDon't require that a RuntimeError is raised when playing a second
Walter Dörwald [Mon, 30 Jun 2003 11:57:52 +0000 (11:57 +0000)]
Don't require that a RuntimeError is raised when playing a second
sound while the first one is still running, as the first one
one might already have finished.

Fixes part of SF bug #763052.

22 years agoSF bug #762990: Awful Grammar in Python Tutorial
Raymond Hettinger [Mon, 30 Jun 2003 04:27:31 +0000 (04:27 +0000)]
SF bug #762990: Awful Grammar in Python Tutorial

Fixed a nit.

22 years agoFix SF 762891: "del p[key]" on proxy object raises SystemError()
Raymond Hettinger [Mon, 30 Jun 2003 04:18:48 +0000 (04:18 +0000)]
Fix SF 762891:  "del p[key]" on proxy object raises SystemError()

22 years agoMerge branch updates back into the main trunk
Raymond Hettinger [Mon, 30 Jun 2003 03:35:06 +0000 (03:35 +0000)]
Merge branch updates back into the main trunk

22 years agoFix SF #754870, SSL crash interpreter when remote side closes during connect
Neal Norwitz [Mon, 30 Jun 2003 03:25:20 +0000 (03:25 +0000)]
Fix SF #754870, SSL crash interpreter when remote side closes during connect

Also fix a memory leak.

22 years agoBump version string to "2.3b2+".
Tim Peters [Mon, 30 Jun 2003 02:14:28 +0000 (02:14 +0000)]
Bump version string to "2.3b2+".

22 years agoFix typo, refer to proper argument name
Neal Norwitz [Mon, 30 Jun 2003 01:54:04 +0000 (01:54 +0000)]
Fix typo, refer to proper argument name

22 years agorestore 2.2 compatibility:
Just van Rossum [Sun, 29 Jun 2003 22:20:26 +0000 (22:20 +0000)]
restore 2.2 compatibility:
- don't use "abc" in aString
- don't reorganize extension modules when not using zipimport

22 years ago- added --semi-standalone option that builds apps that depend on an
Just van Rossum [Sun, 29 Jun 2003 21:54:12 +0000 (21:54 +0000)]
- added --semi-standalone option that builds apps that depend on an
  installed Python, yet include any modules not in the std lib
- reworked extension module inclusion code: put all .so files in
  a subdirectory of Contents/Resources/, but more importantly,
  correctly support extensions that are submodules.

22 years agoMore tests
Raymond Hettinger [Sun, 29 Jun 2003 20:36:23 +0000 (20:36 +0000)]
More tests

* Test with infinite inputs (using take() on the output)
* Test whether GC can find and eliminate cycles.

22 years agoFix broken markup, & tweak a couple of things for consistency.
Fred Drake [Sun, 29 Jun 2003 18:12:23 +0000 (18:12 +0000)]
Fix broken markup, & tweak a couple of things for consistency.

22 years agoFix sf bug 666219: assertion error in httplib.
Jeremy Hylton [Sun, 29 Jun 2003 17:55:05 +0000 (17:55 +0000)]
Fix sf bug 666219: assertion error in httplib.

The obvious way for this assertion to fail is if the LineAndFileWrapper constructor is called when an empty line.  Raise a BadStatusError before the call.

22 years agoAdd several news items for changes I made since b1.
Jeremy Hylton [Sun, 29 Jun 2003 17:25:39 +0000 (17:25 +0000)]
Add several news items for changes I made since b1.

22 years agoWhitespace normalization.
Tim Peters [Sun, 29 Jun 2003 17:24:17 +0000 (17:24 +0000)]
Whitespace normalization.

22 years agoRemoved XXX comments about missing threading.py functions.
Tim Peters [Sun, 29 Jun 2003 17:12:30 +0000 (17:12 +0000)]
Removed XXX comments about missing threading.py functions.

22 years agoAdded news about os.environ['PYTHONINSPECT'] = 'yes'
Barry Warsaw [Sun, 29 Jun 2003 17:10:11 +0000 (17:10 +0000)]
Added news about os.environ['PYTHONINSPECT'] = 'yes'

22 years agoRemove stub settrace() and setprofile() calls.
Jeremy Hylton [Sun, 29 Jun 2003 17:07:46 +0000 (17:07 +0000)]
Remove stub settrace() and setprofile() calls.

22 years agoPy_Main(): Add a check for the PYTHONINSPECT environment variable
Barry Warsaw [Sun, 29 Jun 2003 17:07:06 +0000 (17:07 +0000)]
Py_Main(): Add a check for the PYTHONINSPECT environment variable
after running the script so that a program could do something like:

os.environ['PYTHONINSPECT'] = 1

to programmatically enter a prompt at the end.

(After a patch by Skip Montanaro w/ proposal by Troy Melhase

22 years agoFix grammar in comment.
Jeremy Hylton [Sun, 29 Jun 2003 16:59:59 +0000 (16:59 +0000)]
Fix grammar in comment.

22 years agoWhitespace normalization.
Jeremy Hylton [Sun, 29 Jun 2003 16:59:43 +0000 (16:59 +0000)]
Whitespace normalization.

22 years agoAdd settrace() and setprofile() functions to the threading library.
Jeremy Hylton [Sun, 29 Jun 2003 16:58:41 +0000 (16:58 +0000)]
Add settrace() and setprofile() functions to the threading library.

22 years agoTypo repair.
Tim Peters [Sun, 29 Jun 2003 16:56:38 +0000 (16:56 +0000)]
Typo repair.

22 years agoUpdate copyright years.
Fred Drake [Sun, 29 Jun 2003 16:55:47 +0000 (16:55 +0000)]
Update copyright years.

22 years agoProvide dummy (do-nothing) settrace() and setprofile() functions until
Tim Peters [Sun, 29 Jun 2003 16:50:06 +0000 (16:50 +0000)]
Provide dummy (do-nothing) settrace() and setprofile() functions until
Jeremy can check in the real things.

22 years agoFilled in release date; repaired grammar in a news item.
Tim Peters [Sun, 29 Jun 2003 16:18:08 +0000 (16:18 +0000)]
Filled in release date; repaired grammar in a news item.

22 years agominor wordsmithing
Skip Montanaro [Sun, 29 Jun 2003 16:01:51 +0000 (16:01 +0000)]
minor wordsmithing

22 years agoRemoved invalid test.
Raymond Hettinger [Sun, 29 Jun 2003 15:57:50 +0000 (15:57 +0000)]
Removed invalid test.
Analysis by Bob Halley:

  The test seems to expect that if time.daylight is true, then the
  is_dst field of the tm structure will be 1 too.  But this isn't
  the case, since daylight is true if the timezone does DST, *not*
  if DST is in effect.

22 years agoFreeBSD 5.x uses different wchar_t/win_t guards than earlier versions
Andrew MacIntyre [Sun, 29 Jun 2003 15:46:21 +0000 (15:46 +0000)]
FreeBSD 5.x uses different wchar_t/win_t guards than earlier versions

22 years agoSF bug #762455: Python segfaults when sys.stdout is changed in getattr
Raymond Hettinger [Sun, 29 Jun 2003 15:44:07 +0000 (15:44 +0000)]
SF bug #762455: Python segfaults when sys.stdout is changed in getattr

* Added unittest that fails before, but not after Neil's fix to ceval.c.

22 years agoFix SF #762455, segfault when sys.stdout is changed in getattr
Neal Norwitz [Sun, 29 Jun 2003 14:48:32 +0000 (14:48 +0000)]
Fix SF #762455, segfault when sys.stdout is changed in getattr
Will backport.

22 years agoWhitespace normalization.
Tim Peters [Sun, 29 Jun 2003 05:46:54 +0000 (05:46 +0000)]
Whitespace normalization.

22 years agoSome nifty doctest extensions from Jim Fulton, currently used in Zope3.
Tim Peters [Sun, 29 Jun 2003 05:30:48 +0000 (05:30 +0000)]
Some nifty doctest extensions from Jim Fulton, currently used in Zope3.
I won't have time to write real docs, but spent a lot of time adding
comments to his code and fleshing out the exported functions' docstrings.
There's probably opportunity to consolidate how docstrings get extracted
too, and the new code for that is probably better than the old code for
that (which strained mightily to recover from 2.2's new class/type
gimmicks).

22 years agoSF bug #430160: CGIHTTPServer.py POST bug using IE
Raymond Hettinger [Sun, 29 Jun 2003 05:06:56 +0000 (05:06 +0000)]
SF bug #430160:  CGIHTTPServer.py POST bug using IE

Minor improvement to previous bugfix.
Eating the remaining characters would lead to an endless loop
without a termination test.

22 years agoSF patch #760257: add socket.timeout exception
Raymond Hettinger [Sun, 29 Jun 2003 04:55:59 +0000 (04:55 +0000)]
SF patch #760257:  add socket.timeout exception
(Contributed by Bob Halley)

Add documentation for the new socket.timeout exception.

22 years agoMinor fixes to punctuation and grammar.
Raymond Hettinger [Sun, 29 Jun 2003 04:53:23 +0000 (04:53 +0000)]
Minor fixes to punctuation and grammar.

22 years agoAdd missing self. before curNode. This may need to be committed
Neal Norwitz [Sun, 29 Jun 2003 04:50:34 +0000 (04:50 +0000)]
Add missing self. before curNode.  This may need to be committed
to PyXML, I'm not sure of the procedure.

22 years agoSF patch #760257: add socket.timeout exception
Raymond Hettinger [Sun, 29 Jun 2003 04:40:22 +0000 (04:40 +0000)]
SF patch #760257:  add socket.timeout exception
(Contributed by Bob Halley)

Add unittests for the new socket.timeout exception.

22 years agoFix arguments for instantiating InterpolationSyntaxError
Neal Norwitz [Sun, 29 Jun 2003 04:23:35 +0000 (04:23 +0000)]
Fix arguments for instantiating InterpolationSyntaxError

22 years agoComment out cap, it was unused.
Neal Norwitz [Sun, 29 Jun 2003 04:21:43 +0000 (04:21 +0000)]
Comment out cap, it was unused.
Should all the commented out code be removed?

22 years agowhitespace normalization
Neal Norwitz [Sun, 29 Jun 2003 04:19:37 +0000 (04:19 +0000)]
whitespace normalization

22 years agoremove unused import math
Neal Norwitz [Sun, 29 Jun 2003 04:18:15 +0000 (04:18 +0000)]
remove unused import math

22 years agoremove extra parameter from _java_getprop, remove duplicate imports
Neal Norwitz [Sun, 29 Jun 2003 04:17:45 +0000 (04:17 +0000)]
remove extra parameter from _java_getprop, remove duplicate imports

22 years agouse == like all the other conditionals
Neal Norwitz [Sun, 29 Jun 2003 04:16:49 +0000 (04:16 +0000)]
use == like all the other conditionals

22 years agofix problems found by pychecker
Neal Norwitz [Sun, 29 Jun 2003 04:16:28 +0000 (04:16 +0000)]
fix problems found by pychecker

22 years agoSF patch #760257: add socket.timeout exception
Raymond Hettinger [Sun, 29 Jun 2003 03:29:42 +0000 (03:29 +0000)]
SF patch #760257: add socket.timeout exception

22 years agoAdded Bob Halley for work on socket.timeout
Raymond Hettinger [Sun, 29 Jun 2003 03:27:45 +0000 (03:27 +0000)]
Added Bob Halley for work on socket.timeout

22 years agoMissed a spot where the new optional optionflags argument needed to get
Tim Peters [Sun, 29 Jun 2003 03:11:20 +0000 (03:11 +0000)]
Missed a spot where the new optional optionflags argument needed to get
passed on.

22 years agoSF patch #760257: add socket.timeout exception
Raymond Hettinger [Sun, 29 Jun 2003 03:08:05 +0000 (03:08 +0000)]
SF patch #760257: add socket.timeout exception
(Contributed by Bob Halley)

Added a new exception, socket.timeout so that timeouts can be differentiated
from other socket exceptions.

Docs, more tests, and newsitem to follow.

22 years agoBump version information for Python 2.3 beta 2.
Fred Drake [Sun, 29 Jun 2003 02:17:28 +0000 (02:17 +0000)]
Bump version information for Python 2.3 beta 2.

22 years agoDocument PyThreadState_SetAsyncExc().
Fred Drake [Sun, 29 Jun 2003 02:14:31 +0000 (02:14 +0000)]
Document PyThreadState_SetAsyncExc().

22 years agoBump release level to 2.3b2.
Tim Peters [Sun, 29 Jun 2003 00:57:17 +0000 (00:57 +0000)]
Bump release level to 2.3b2.

22 years agoSlight clarification on running the examples from the Finder.
Jack Jansen [Sun, 29 Jun 2003 00:24:12 +0000 (00:24 +0000)]
Slight clarification on running the examples from the Finder.

22 years agoSuggest people visit www.python.org/packman if the default database
Jack Jansen [Sun, 29 Jun 2003 00:17:23 +0000 (00:17 +0000)]
Suggest people visit www.python.org/packman if the default database
cannot be found.

22 years agoUse http://www.python.org/packman as the base URL. Also upped the version
Jack Jansen [Sun, 29 Jun 2003 00:09:18 +0000 (00:09 +0000)]
Use http://www.python.org/packman as the base URL. Also upped the version
number because of this.

22 years agoBy default build docs, don't download them.
Jack Jansen [Sat, 28 Jun 2003 23:38:04 +0000 (23:38 +0000)]
By default build docs, don't download them.

22 years agoAdd PyThreadState_SetAsyncExc(long, PyObject *).
Guido van Rossum [Sat, 28 Jun 2003 21:53:52 +0000 (21:53 +0000)]
Add PyThreadState_SetAsyncExc(long, PyObject *).

A new API (only accessible from C) to interrupt a thread by sending it
an exception.  This is not always effective, but might help some people.
Requested by Just van Rossum and Alex Martelli.  It is intentional
that you have to write your own C extension to call it from Python.

Docs will have to wait.

22 years agoAdded Steven Taschuk for efforts fixing zipfile.py
Raymond Hettinger [Sat, 28 Jun 2003 20:10:26 +0000 (20:10 +0000)]
Added Steven Taschuk for efforts fixing zipfile.py