]> granicus.if.org Git - python/log
python
18 years agoas is a keyword now :-)
Neal Norwitz [Fri, 17 Mar 2006 08:54:15 +0000 (08:54 +0000)]
as is a keyword now :-)

18 years agoGet rid of xreadlines() (methods).
Neal Norwitz [Fri, 17 Mar 2006 08:29:44 +0000 (08:29 +0000)]
Get rid of xreadlines() (methods).

18 years agoMore apply() cleanup
Neal Norwitz [Fri, 17 Mar 2006 08:28:24 +0000 (08:28 +0000)]
More apply() cleanup

18 years agoThis gets at least test_cmd_line working again and a few more modules built.
Neal Norwitz [Fri, 17 Mar 2006 08:27:50 +0000 (08:27 +0000)]
This gets at least test_cmd_line working again and a few more modules built.

18 years agoRemove some old types for int based functions (Py_ssize_t is da thing now.)
Neal Norwitz [Fri, 17 Mar 2006 08:09:39 +0000 (08:09 +0000)]
Remove some old types for int based functions (Py_ssize_t is da thing now.)

18 years agoRemove apply()
Neal Norwitz [Fri, 17 Mar 2006 08:04:59 +0000 (08:04 +0000)]
Remove apply()

18 years agoRemove apply()
Neal Norwitz [Fri, 17 Mar 2006 08:00:19 +0000 (08:00 +0000)]
Remove apply()

18 years agoWhitespace changes. Also remove apply from a few comments
Neal Norwitz [Fri, 17 Mar 2006 06:58:45 +0000 (06:58 +0000)]
Whitespace changes.  Also remove apply from a few comments

18 years agoGet rid of a bunch more raw_input references
Neal Norwitz [Fri, 17 Mar 2006 06:49:51 +0000 (06:49 +0000)]
Get rid of a bunch more raw_input references

18 years agoWhoops, input *and* raw_input are slated for removal, and now both are gone.
Neal Norwitz [Fri, 17 Mar 2006 06:04:34 +0000 (06:04 +0000)]
Whoops, input *and* raw_input are slated for removal, and now both are gone.

18 years agoraw_input() -> input(). old input behavior is history (and test_builtin passes again...
Neal Norwitz [Fri, 17 Mar 2006 05:59:16 +0000 (05:59 +0000)]
raw_input() -> input().  old input behavior is history (and test_builtin passes again).  It was failing due to future division.

18 years agoRemove sys.exc_type, sys.exc_value, sys.exc_traceback
Neal Norwitz [Fri, 17 Mar 2006 05:49:33 +0000 (05:49 +0000)]
Remove sys.exc_type, sys.exc_value, sys.exc_traceback

18 years agoGet rid of compiler warning
Neal Norwitz [Fri, 17 Mar 2006 05:44:46 +0000 (05:44 +0000)]
Get rid of compiler warning

18 years agoGet rid of last vestiges of BINARY_DIVIDE.
Neal Norwitz [Thu, 16 Mar 2006 06:02:10 +0000 (06:02 +0000)]
Get rid of last vestiges of BINARY_DIVIDE.

18 years agoGet rid of compiler warning about with_msg and as_msg being unused
Neal Norwitz [Thu, 16 Mar 2006 06:01:25 +0000 (06:01 +0000)]
Get rid of compiler warning about with_msg and as_msg being unused

18 years agoCheckpoint. 218 tests are okay; 53 are failing. Done so far:
Guido van Rossum [Wed, 15 Mar 2006 04:58:47 +0000 (04:58 +0000)]
Checkpoint.  218 tests are okay; 53 are failing.  Done so far:
- all classes are new-style (but ripping out classobject.[ch] isn't done)
- int/int -> float
- all exceptions must derive from BaseException
- absolute import
- 'as' and 'with' are keywords

18 years agoCreate a Python 3000 branch.
Guido van Rossum [Tue, 14 Mar 2006 22:22:15 +0000 (22:22 +0000)]
Create a Python 3000 branch.

18 years agoTry to avoid many of the compiler warnings when compiling libffi by
Thomas Heller [Tue, 14 Mar 2006 20:52:24 +0000 (20:52 +0000)]
Try to avoid many of the compiler warnings when compiling libffi by
using a proper function prototype.

18 years agoCast an Py_ssize_t to int, to avoid a compiler warning.
Thomas Heller [Tue, 14 Mar 2006 20:39:27 +0000 (20:39 +0000)]
Cast an Py_ssize_t to int, to avoid a compiler warning.

18 years agoFor x86 Release and Debug builds, remove the /Wp64 compiler flag, it
Thomas Heller [Tue, 14 Mar 2006 20:22:47 +0000 (20:22 +0000)]
For x86 Release and Debug builds, remove the /Wp64 compiler flag, it
is responsible for most (all?)  of the warnings we get.

18 years agoIntegrate patch from Neal Norwitz. He writes:
Thomas Heller [Tue, 14 Mar 2006 19:53:09 +0000 (19:53 +0000)]
Integrate patch from Neal Norwitz.  He writes:

"""
The attached patch fixes all the ctypes tests so they pass on amd64.
It also fixes several warnings.  I'm not sure what else to do with the
patch.  Let me know how you want to handle these in the future.

I'm not sure the patch is 100% correct.  You will need to decide what
can be 64 bits and what can't.  I believe
sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t.  The
types in ctypes.h may not require all the changes I made.  I don't
know how you want to support older version, so I unconditionally
changed the types to Py_ssize_t.
"""

The patch is also in the ctypes SVN repository now, after small
changes to add compatibility with older Python versions.

18 years agoTeach the compiler module about augmented assignment to tuple subscripts
Nick Coghlan [Tue, 14 Mar 2006 13:21:14 +0000 (13:21 +0000)]
Teach the compiler module about augmented assignment to tuple subscripts

18 years agoFix and test (manually w/xx module) passing NULLs to PyObject_Str() and
Neal Norwitz [Tue, 14 Mar 2006 06:02:16 +0000 (06:02 +0000)]
Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and
PyObject_Unicode().  This problem was originally reported from Coverity
and addresses mail on python-dev "checkin r43015".

This inlines the conversion of the string to unicode and cleans
up/simplifies some code at the end of the PyObject_Unicode().

We really need a complete C API test module for all public APIs
and passing good and bad parameter values.

Will backport.

18 years agoFix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExact
Georg Brandl [Mon, 13 Mar 2006 22:22:11 +0000 (22:22 +0000)]
Fix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExact

18 years agoAdded logThreads and logProcesses to allow conditional omission of logging this infor...
Vinay Sajip [Mon, 13 Mar 2006 22:05:28 +0000 (22:05 +0000)]
Added logThreads and logProcesses to allow conditional omission of logging this information

18 years agoIt's necessary to do a Debug build of the bsddb project too.
Tim Peters [Mon, 13 Mar 2006 20:09:32 +0000 (20:09 +0000)]
It's necessary to do a Debug build of the bsddb project too.

18 years agoMinor changes.
Tim Peters [Mon, 13 Mar 2006 19:43:34 +0000 (19:43 +0000)]
Minor changes.

18 years agoTrimmed trailing whitespace.
Tim Peters [Mon, 13 Mar 2006 19:35:53 +0000 (19:35 +0000)]
Trimmed trailing whitespace.

18 years agoFix build process of bsddb for IA64 and AMD64.
Martin v. Löwis [Mon, 13 Mar 2006 15:37:40 +0000 (15:37 +0000)]
Fix build process of bsddb for IA64 and AMD64.
Remove remarks on size_t problems.

18 years agoInitialize VS environment in external.bat as well.
Martin v. Löwis [Mon, 13 Mar 2006 14:12:47 +0000 (14:12 +0000)]
Initialize VS environment in external.bat as well.

18 years agoUpdate to bsddb 4.4.20.
Martin v. Löwis [Mon, 13 Mar 2006 13:48:05 +0000 (13:48 +0000)]
Update to bsddb 4.4.20.

18 years agoFix SF bug #1448804 and ad a test to ensure that all subscript operations continue...
Nick Coghlan [Mon, 13 Mar 2006 12:31:58 +0000 (12:31 +0000)]
Fix SF bug #1448804 and ad a test to ensure that all subscript operations continue to be handled correctly

18 years agoLet the buildbot make a single pass in the test suite only.
Martin v. Löwis [Mon, 13 Mar 2006 10:59:32 +0000 (10:59 +0000)]
Let the buildbot make a single pass in the test suite only.

18 years agoUpdate to bzip2 1.0.3
Martin v. Löwis [Mon, 13 Mar 2006 10:52:04 +0000 (10:52 +0000)]
Update to bzip2 1.0.3
Make buildbot slaves automatically fetch bzip2 1.0.3.

18 years agoPlug some refcount leaks when tests are run repeatedly.
Thomas Heller [Mon, 13 Mar 2006 10:47:02 +0000 (10:47 +0000)]
Plug some refcount leaks when tests are run repeatedly.

18 years agoBug #1448490: Fix a bug that ISO-2022 codecs could not handle
Hye-Shik Chang [Mon, 13 Mar 2006 10:20:08 +0000 (10:20 +0000)]
Bug #1448490: Fix a bug that ISO-2022 codecs could not handle
SS2 (single-shift 2) escape sequences correctly.

18 years agoRemove the slightly broken test_leaks.py.
Thomas Heller [Mon, 13 Mar 2006 07:33:38 +0000 (07:33 +0000)]
Remove the slightly broken test_leaks.py.

Change test_functions.py so that it can be run multiple time without
failing: Assign a restype to the function in test_intresult, and move
the definition of class POINT to module level so that no new class is
created each time the test is run.

18 years agoAdding the /useenv means that one's PATH actually gets through. This is
Trent Mick [Sun, 12 Mar 2006 23:40:58 +0000 (23:40 +0000)]
Adding the /useenv means that one's PATH actually gets through. This is
important for the _ssl.vproj build. It calls build_ssl.py which tries to
find a Perl to use. Without "/useenv" Visual Studio is getting a PATH
from somewhere else (presumably from its internal environment
configuration). The result is that build_ssl.py fallsback to its
"well-known" locations for a Perl install.

18 years agomerged with cElementTree development trunk (1.0.6 snapshot):
Fredrik Lundh [Sun, 12 Mar 2006 21:06:35 +0000 (21:06 +0000)]
merged with cElementTree development trunk (1.0.6 snapshot):

Fixed a number of potential null-pointer-reference-under-pressure
glitches, based on input from the Coverity analysis tool and Simo
Salminen.

18 years agoMove buildbot scripts to Tools/buildbot.
Martin v. Löwis [Sun, 12 Mar 2006 09:50:39 +0000 (09:50 +0000)]
Move buildbot scripts to Tools/buildbot.

18 years agoAdded brief comment.
Tim Peters [Sun, 12 Mar 2006 07:00:54 +0000 (07:00 +0000)]
Added brief comment.

18 years agoAdded brief comments.
Tim Peters [Sun, 12 Mar 2006 06:47:36 +0000 (06:47 +0000)]
Added brief comments.

18 years ago - Reindent a confusingly indented piece of code (no intended code changes
Thomas Wouters [Sun, 12 Mar 2006 00:29:36 +0000 (00:29 +0000)]
 - Reindent a confusingly indented piece of code (no intended code changes
   there)
 - Add missing DECREFs of inner-scope 'temp' variable
 - Add various missing DECREFs by changing 'return NULL' into 'goto onError'
 - Avoid double DECREF when last _PyUnicode_Resize() fails

Coverity found one of the missing DECREFs, but oddly enough not the others.

18 years agoPlug the last 657 referenceleaks in test_bsddb3: a circular reference
Thomas Wouters [Sun, 12 Mar 2006 00:13:09 +0000 (00:13 +0000)]
Plug the last 657 referenceleaks in test_bsddb3: a circular reference
between a TestCase instance, the database it opened (or a cursor to a
database) and a bound method as a registered database callback, and a lack
of GC-handling in bsddb caused the TestCases to linger. Fix the test, for
now, as backward compatibility makes adding GC to bsddb annoying.

18 years agoFix another leak in bsddb, and avoid use of uninitialized value -- funny how
Thomas Wouters [Sun, 12 Mar 2006 00:01:38 +0000 (00:01 +0000)]
Fix another leak in bsddb, and avoid use of uninitialized value -- funny how
gcc 4.0.x wasn't complaining about *that* one ;)

18 years agoAdd buildbot test script.
Martin v. Löwis [Sat, 11 Mar 2006 23:56:39 +0000 (23:56 +0000)]
Add buildbot test script.

18 years agoGive the _ssl project a harmless command to perform
Tim Peters [Sat, 11 Mar 2006 23:05:39 +0000 (23:05 +0000)]
Give the _ssl project a harmless command to perform
for its "clean" action.  Else the clean step run by
the buildbot reports failure, due to the _ssl project
whining about not being able to spawn an empty string.

18 years agoAdd changelog entry.
Martin v. Löwis [Sat, 11 Mar 2006 12:43:44 +0000 (12:43 +0000)]
Add changelog entry.

18 years agoAdjust CJK Ideograph range to Unicode 4.1.
Martin v. Löwis [Sat, 11 Mar 2006 12:16:23 +0000 (12:16 +0000)]
Adjust CJK Ideograph range to Unicode 4.1.

18 years agoWhitespace normalization.
Tim Peters [Fri, 10 Mar 2006 23:39:56 +0000 (23:39 +0000)]
Whitespace normalization.

18 years agoWhen the new -w option (yay! great idea) reruns a
Tim Peters [Fri, 10 Mar 2006 23:37:10 +0000 (23:37 +0000)]
When the new -w option (yay! great idea) reruns a
failed test, first display the name of the test (else
it's not always clear from the output which test is
getting run).

18 years agoAdd regrtest -w option.
Martin v. Löwis [Fri, 10 Mar 2006 21:26:16 +0000 (21:26 +0000)]
Add regrtest -w option.

18 years agoUnicode database updated; use SVN instead of CVS
Andrew M. Kuchling [Fri, 10 Mar 2006 18:50:08 +0000 (18:50 +0000)]
Unicode database updated; use SVN instead of CVS

18 years agoAdd AMD64 and Itanium configurationgs to ctypes;
Martin v. Löwis [Fri, 10 Mar 2006 16:02:59 +0000 (16:02 +0000)]
Add AMD64 and Itanium configurationgs to ctypes;
disable them in the solution since ctypes doesn't
support these processors on Windows.

18 years agoAdd ctypes.
Martin v. Löwis [Fri, 10 Mar 2006 15:36:28 +0000 (15:36 +0000)]
Add ctypes.

18 years agoUpdate test data to 4.1; disable PRI #29 for now.
Martin v. Löwis [Fri, 10 Mar 2006 11:59:47 +0000 (11:59 +0000)]
Update test data to 4.1; disable PRI #29 for now.

18 years agoFix refcounting bug.
Martin v. Löwis [Fri, 10 Mar 2006 11:29:32 +0000 (11:29 +0000)]
Fix refcounting bug.

18 years agoAvoid forward-declaring the methods array.
Martin v. Löwis [Fri, 10 Mar 2006 11:20:04 +0000 (11:20 +0000)]
Avoid forward-declaring the methods array.
Rename unicodedata.db* to unicodedata.ucd*

18 years agoUm, I thought I'd already checked this in.
Guido van Rossum [Fri, 10 Mar 2006 02:28:35 +0000 (02:28 +0000)]
Um, I thought I'd already checked this in.
Anyway, this is the changes to the with-statement
so that __exit__ must return a true value in order
for a pending exception to be ignored.
The PEP (343) is already updated.

18 years agoFix three nits found by Coverity, adding null checks and comments.
Guido van Rossum [Fri, 10 Mar 2006 02:04:28 +0000 (02:04 +0000)]
Fix three nits found by Coverity, adding null checks and comments.

18 years agoUpdate Unicode database to Unicode 4.1.
Martin v. Löwis [Thu, 9 Mar 2006 23:38:20 +0000 (23:38 +0000)]
Update Unicode database to Unicode 4.1.

18 years agoMove entry to correct section.
Georg Brandl [Thu, 9 Mar 2006 23:22:43 +0000 (23:22 +0000)]
Move entry to correct section.

18 years agoPatch #1446372: quit and exit can now be called from the interactive
Georg Brandl [Thu, 9 Mar 2006 23:22:06 +0000 (23:22 +0000)]
Patch #1446372: quit and exit can now be called from the interactive
interpreter to exit.

18 years agoNodeInfo.__gen_init(): Fiddle so that reindent.py is
Tim Peters [Thu, 9 Mar 2006 22:31:45 +0000 (22:31 +0000)]
NodeInfo.__gen_init():  Fiddle so that reindent.py is
happy with the output as-is.  This incidentally also
gets rid of "an extra" blank line at the end of the output
block that probably wasn't intended (although it doesn't
matter one way or the other).

18 years agoRemove the magic to run an uninstalled ctypes version from a CVS sandbox.
Thomas Heller [Thu, 9 Mar 2006 19:40:00 +0000 (19:40 +0000)]
Remove the magic to run an uninstalled ctypes version from a CVS sandbox.

18 years agoWrite a section
Andrew M. Kuchling [Thu, 9 Mar 2006 19:06:05 +0000 (19:06 +0000)]
Write a section

18 years agoDeleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln.
Thomas Heller [Thu, 9 Mar 2006 18:49:35 +0000 (18:49 +0000)]
Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln.

Tools/scripts/svneol.py: added the .sln and .vcproj extensions because these are text files.
Ran svneol.py over the source tree.

18 years agoAdded VC project files to build _ctypes.pyd and _ctypes_test.pyd on Windows.
Thomas Heller [Thu, 9 Mar 2006 17:35:20 +0000 (17:35 +0000)]
Added VC project files to build _ctypes.pyd and _ctypes_test.pyd on Windows.
Settings for 64-bit Windows are missing.

I've left in the 64-bit warnings to remind me to port ctypes to Py_ssize_t.

18 years agoMarkup fix
Andrew M. Kuchling [Thu, 9 Mar 2006 13:57:28 +0000 (13:57 +0000)]
Markup fix

18 years agoWrite a section
Andrew M. Kuchling [Thu, 9 Mar 2006 13:56:25 +0000 (13:56 +0000)]
Write a section

18 years agoBug #1442874: handle "<!>", the empty SGML comment
Georg Brandl [Thu, 9 Mar 2006 13:27:14 +0000 (13:27 +0000)]
Bug #1442874: handle "<!>", the empty SGML comment

18 years agotypo
Georg Brandl [Thu, 9 Mar 2006 10:16:42 +0000 (10:16 +0000)]
typo

18 years agoDisable the testcase that crashes solaris.
Thomas Heller [Thu, 9 Mar 2006 09:43:53 +0000 (09:43 +0000)]
Disable the testcase that crashes solaris.

18 years agoReplace the trivial ctypes test (did only an import) with the real test suite.
Thomas Heller [Thu, 9 Mar 2006 07:21:33 +0000 (07:21 +0000)]
Replace the trivial ctypes test (did only an import) with the real test suite.

18 years agoTry to be a bit more consistent on all platforms:
Neal Norwitz [Thu, 9 Mar 2006 05:58:11 +0000 (05:58 +0000)]
Try to be a bit more consistent on all platforms:
  python .
  python < .

both print a message, return non-zero and do not core dump.

18 years agoDirectly read working copy data to obtain list of properties.
Martin v. Löwis [Thu, 9 Mar 2006 02:20:05 +0000 (02:20 +0000)]
Directly read working copy data to obtain list of properties.

18 years agoTaught svneol to look at .c and .h files too, and
Tim Peters [Thu, 9 Mar 2006 01:59:27 +0000 (01:59 +0000)]
Taught svneol to look at .c and .h files too, and
it found a bunch more in need of svn:eol-style.

18 years agoSimple utility to add svn:eol-style to text files under
Tim Peters [Thu, 9 Mar 2006 01:42:24 +0000 (01:42 +0000)]
Simple utility to add svn:eol-style to text files under
SVN control.  Like reindent.py, I expect to run this
mindlessly from time to time, checking in whatever it
happens to do ;-)

18 years agoSet auto-props
Martin v. Löwis [Thu, 9 Mar 2006 01:35:32 +0000 (01:35 +0000)]
Set auto-props

18 years agoWhitespace normalization.
Tim Peters [Thu, 9 Mar 2006 01:15:05 +0000 (01:15 +0000)]
Whitespace normalization.

18 years agoThese text files were all missing the svn:eol-style property.
Tim Peters [Thu, 9 Mar 2006 01:07:25 +0000 (01:07 +0000)]
These text files were all missing the svn:eol-style property.

18 years agoRemove .cvsignore and set svn:ignore for *.pyc *.pyo.
Hye-Shik Chang [Wed, 8 Mar 2006 23:31:17 +0000 (23:31 +0000)]
Remove .cvsignore and set svn:ignore for *.pyc *.pyo.

18 years agoBug #1445901: os.path.realpath() is available on Win/Mac too.
Georg Brandl [Wed, 8 Mar 2006 20:59:09 +0000 (20:59 +0000)]
Bug #1445901: os.path.realpath() is available on Win/Mac too.

18 years agoTrivial test for ctypes, more to come
Thomas Heller [Wed, 8 Mar 2006 20:38:11 +0000 (20:38 +0000)]
Trivial test for ctypes, more to come

18 years agoCopy ctypes-0.9.9.4 Python modules from external into the trunk.
Thomas Heller [Wed, 8 Mar 2006 19:56:54 +0000 (19:56 +0000)]
Copy ctypes-0.9.9.4 Python modules from external into the trunk.

18 years agoChanges to build the _ctypes extension module.
Thomas Heller [Wed, 8 Mar 2006 19:51:58 +0000 (19:51 +0000)]
Changes to build the _ctypes extension module.
Based on a patch from Hye-Shik Chang.

18 years agoCopy ctypes-0.9.9.4 sources from external into the trunk.
Thomas Heller [Wed, 8 Mar 2006 19:35:11 +0000 (19:35 +0000)]
Copy ctypes-0.9.9.4 sources from external into the trunk.

18 years agoPatch #1434038: property() now uses the getter's docstring if there is
Georg Brandl [Wed, 8 Mar 2006 18:09:27 +0000 (18:09 +0000)]
Patch #1434038: property() now uses the getter's docstring if there is
no "doc" argument given. This makes it possible to legitimately use
property() as a decorator to produce a read-only property.

18 years agotypo
Georg Brandl [Wed, 8 Mar 2006 12:24:33 +0000 (12:24 +0000)]
typo

18 years agoFix pydoc.synopsis() so that it doesn't error out with an unreadable
Georg Brandl [Wed, 8 Mar 2006 09:34:53 +0000 (09:34 +0000)]
Fix pydoc.synopsis() so that it doesn't error out with an unreadable
module.

18 years agoFix logic error and DECREF reported by Coverity.
Neal Norwitz [Wed, 8 Mar 2006 06:36:45 +0000 (06:36 +0000)]
Fix logic error and DECREF reported by Coverity.

18 years agoMove version added tag from PyObject_Length/Size to PyNumber_Index.
Neal Norwitz [Wed, 8 Mar 2006 05:29:18 +0000 (05:29 +0000)]
Move version added tag from PyObject_Length/Size to PyNumber_Index.

18 years agoAdd section
Andrew M. Kuchling [Wed, 8 Mar 2006 01:50:20 +0000 (01:50 +0000)]
Add section

18 years agoClean up _bsddb.c: add a couple dozen missing Py_DECREF()'s, a handful of
Thomas Wouters [Wed, 8 Mar 2006 01:47:19 +0000 (01:47 +0000)]
Clean up _bsddb.c: add a couple dozen missing Py_DECREF()'s, a handful of
missing PyObject_Del()'s, simplify some code by using Py_BuildValue()
instead of creating a tuple with items manually, stop clobbering builtin
exceptions in a few places, and guard against NULL-returning functions some
more.

This fixes 117 of the 780 (!?!#%@#$!!) reference leaks in test_bsddb3. I
ain't not done yet, although this review of 5kloc was just the easy part.

18 years agoReformulate 42903 using an if statement.
Martin v. Löwis [Tue, 7 Mar 2006 23:59:33 +0000 (23:59 +0000)]
Reformulate 42903 using an if statement.

18 years ago_hotshot hotshot_profiler(): If write_header() returned
Tim Peters [Tue, 7 Mar 2006 23:53:32 +0000 (23:53 +0000)]
_hotshot hotshot_profiler():  If write_header() returned
an error code, this let `self` leak.  This is a disaster
on Windows, since `self` already points to a newly-opened
file object, and it was impossible for Python code to
close the thing since the only reference to it was in a
blob of leaked C memory.

test_hotshot test_bad_sys_path():  This new test provoked
the C bug above.  This test passed, but left an open
"@test" file behind, which caused a massive cascade of
bogus test failures in later, unrelated tests on Windows.
Changed the test code to remove the @test file it leaves
behind, which relies on the change above to close that
file first.

18 years agoFix bug introduced in rev. 42884.
Georg Brandl [Tue, 7 Mar 2006 20:56:02 +0000 (20:56 +0000)]
Fix bug introduced in rev. 42884.

18 years agoSome edits; add empty sections
Andrew M. Kuchling [Tue, 7 Mar 2006 20:48:55 +0000 (20:48 +0000)]
Some edits; add empty sections

18 years agoAdd note about PEP 357.
Guido van Rossum [Tue, 7 Mar 2006 18:54:08 +0000 (18:54 +0000)]
Add note about PEP 357.

18 years agoChecking in the code for PEP 357.
Guido van Rossum [Tue, 7 Mar 2006 18:50:55 +0000 (18:50 +0000)]
Checking in the code for PEP 357.
This was mostly written by Travis Oliphant.
I've inspected it all; Neal Norwitz and MvL have also looked at it
(in an earlier incarnation).