Commit graph

17436 commits

Author SHA1 Message Date
Tim Peters
cfc4178e84 When the classes in wave.py opened files themselves, their .close() methods
didn't bother to close the files.  This caused the new test_wave test to fail
under Windows, as Windows won't let you delete a file that's open.  Fixed
that by ensuring the wave read & write classes' .close() and __del__ methods
close files that were opened by their constructors.
2000-10-09 23:43:55 +00:00
Guido van Rossum
e8d2f5589b The usual. 2000-10-09 22:14:43 +00:00
Jeremy Hylton
eebb1c6cd1 The Usual. 2000-10-09 21:48:02 +00:00
Jeremy Hylton
cc46bd2365 the usual 2000-10-09 21:34:51 +00:00
Jeremy Hylton
6040aaa9a2 add note explaining what a release candidate is 2000-10-09 21:27:22 +00:00
Fred Drake
95fdec4073 This file is no longer used. 2000-10-09 21:26:12 +00:00
Tim Peters
46446d6242 Repaired IDLE Unicode bug description.
Added tokenize.py bugfix info.
2000-10-09 21:19:31 +00:00
Fred Drake
ff7183920f Another generated file... 2000-10-09 20:22:28 +00:00
Fred Drake
c9a5cc1a98 Remove macro that mentions DL_EXPORT_HEADER; it caused a spurious warning
from autoheader and is not useful anymore.
(Approved by Donn Cave.)
2000-10-09 20:18:32 +00:00
Guido van Rossum
56fe7f8649 WAVE test + bugfix contributor. 2000-10-09 20:07:00 +00:00
Guido van Rossum
16b198e10e wave test output 2000-10-09 20:06:50 +00:00
Guido van Rossum
a00afc1ead Simple test suite for wave.py by Jean-Claude Rimbault (with some
changes to avoid using assert).
2000-10-09 20:05:59 +00:00
Fred Drake
13a3069c2b Paul Prescod <paul@prescod.net>:
Correct the chaining between siblings.
2000-10-09 20:04:16 +00:00
Guido van Rossum
eca576c68b Fix by Jean-Claude Rimbault [ Bug #116271 ] -- the WAVE header was
never written properly because the '4' length indicators for the 's'
format characters were missing.
2000-10-09 20:01:53 +00:00
Fred Drake
ebe73025cd Move the test for confirmation that all nodes have been freed into the
driver code, so that each test gets this; it had been done inconsistently.
Remove the lines that set the variables holding dom objects to None; not
needed since the interpreter cleans up locals on function return.
2000-10-09 19:57:39 +00:00
Guido van Rossum
5c2c6046eb And another. 2000-10-09 19:52:41 +00:00
Guido van Rossum
5839e5861b Checking in three Darwin-specific patches.
Tony Lownds: [ Patch #101816 ] Fixes shared modules on Mac OS X

    1. Mac OS X is recognized by the Next-ish host recognition code as
    "Darwin/1.2"

    2. When specifying just --with-dyld, modules can compile as shared

    3. --with-dyld and --with-next-framework, modules can compile as
    shared

    4. --with-suffix=.exe, and Lib/plat-darwin1.2 is being made, the regen
    script invokes python as python.exe

    [I had to reformat this patch a bit to make it work.  Please test!]

Dan Wolfe: [ Patch #101823 ] Fix Darwin POSIX Thread redefinition

    The patch below fixes the redefinition problem in Darwin with
    _POSIX_THREADS. I'm not sure if this is the correct long term fix but
    for now it fixes the problem and the fix is specific to Darwin.

Dan Wolfe: [ Patch #101824 ] On Darwin, remove unrecognized option
                             `-OPT:Olimit=0'

  After many, many, many compiles, I finally got itchy of this warning
  cluttering up the output... so I scratched (Darwin configs only) and
  it's gone! :-)
2000-10-09 19:52:35 +00:00
Jeremy Hylton
32e20ff838 typo 2000-10-09 19:48:11 +00:00
Guido van Rossum
95d53d2bf5 Use python$EXE instead of python, for Darwin. (Patch by Tony
Lownds. (#101816)

[Note: I'm not sure that this is really the right fix.  Surely Darwin
doesn't require you to say "python.exe" everywhere???  Even Windows
doesn't!  Or am I misunderstanding the point?]
2000-10-09 19:34:12 +00:00
Guido van Rossum
fdddb31f59 For Darwin, export EXE (needed by Lib/plat-generic/regen checkin, to
follow).  Adapted from a patch by Tony Lownds. (#101816)
2000-10-09 19:31:40 +00:00
Guido van Rossum
fded5ed251 One more name. 2000-10-09 19:29:35 +00:00
Fred Drake
87d4a03ad7 Do not forget to build the acks.html file when building "all"! 2000-10-09 18:56:23 +00:00
Jeremy Hylton
109212037b added better description of BeOS changes from Donn Cave 2000-10-09 18:34:12 +00:00
Jeremy Hylton
ed9e644793 Summary of changes between 2.0b2 and 2.0c1 2000-10-09 18:26:42 +00:00
Jeremy Hylton
30e78773eb new name 2000-10-09 18:26:16 +00:00
Fred Drake
17a2b640e4 Work around annoyances in LaTeX2HTML. 2000-10-09 18:12:29 +00:00
Fred Drake
955e03bd68 Push xmllib to the end of the markup chapter since it is deprecated. 2000-10-09 18:11:24 +00:00
Fred Drake
ecbd2aaa02 Another name. 2000-10-09 18:08:56 +00:00
Fred Drake
5790be1a4d Donn Cave <donn@oz.net>:
Update for BeOS.
This closes SourceForge patch #101774.

Also fix typo in a comment.
2000-10-09 17:06:13 +00:00
Fred Drake
a2cb78f1e8 Donn Cave <donn@oz.net>:
Removed DL_EXPORT_HEADER -- only needed on BeOS, and not needed there
anymore.

This closes SourceForge patch #101775.
2000-10-09 17:01:03 +00:00
Fred Drake
047fe99c38 Donn Cave <donn@oz.net>:
Revise BeOS support.

This closes SourceForge patch #101776.
2000-10-09 16:51:49 +00:00
Fred Drake
9e2e1e5920 Donn Cave <donn@oz.net>:
Updated to work better with BeOS.

This closes SourceForge patch #101777.
2000-10-09 16:48:09 +00:00
Fred Drake
d359022127 Updated version from Donn Cave <donn@oz.net>.
This closes SourceForge patch #101778.
2000-10-09 16:46:02 +00:00
Martin v. Löwis
04f4943d13 _exceptions: Format a missing system id as <unknown>.
expatreader: Use the error handler instead of raising exception directly.
2000-10-09 16:45:54 +00:00
Fred Drake
3383792c74 Denis S. Otkidach <ods@users.sourceforge.net>:
Correct description of leapdays() function.

This closes SourceForge patch #101840.
2000-10-09 15:27:31 +00:00
Jeremy Hylton
1e75e816e0 bump patchlevel to 2.0c1 2000-10-09 15:13:47 +00:00
Jeremy Hylton
b769e80056 read in a .pyc file and disassemble the code objects 2000-10-09 14:35:24 +00:00
Andrew M. Kuchling
d923831027 Patch #101810: check whether zst.avail_out is non-zero when getting
a Z_BUF_ERROR while decompressing.  If it is, assume that this means
   the data being decompressed is bad and raise an exception, instead of
   just assuming that Z_BUF_ERROR always means that more space is required.
2000-10-09 14:18:10 +00:00
Guido van Rossum
46735add5f Fixed leapdays(). From Patch #101841, by Denis S. Otkidach. 2000-10-09 12:42:04 +00:00
Guido van Rossum
e9f922f497 Adapt test output to changed error message. 2000-10-08 19:48:46 +00:00
Guido van Rossum
59316671e3 Be consistent in the description of audio formats: <format> <width>
"audio".

Also add AFMT_S16_NE ("native-endian").  (Somehow there's no AFMT_U16_NE.)
2000-10-08 19:47:47 +00:00
Guido van Rossum
ce6292ebf5 Correct output. 2000-10-08 00:21:43 +00:00
Guido van Rossum
923ebe4dc6 It seems our sound cards can't play mulaw data. Use native-format
16-bit signed data instead.  Hope this works for you; it works for me.
2000-10-08 00:20:20 +00:00
Martin v. Löwis
830b37bd74 Don't use string methods to allow sharing this code with PyXML. 2000-10-07 19:03:20 +00:00
Fredrik Lundh
13ac9926ac Fixed too ambitious "nothing to repeat" check. Closes bug #114033. 2000-10-07 17:38:23 +00:00
Fred Drake
5c0b43d1e2 The test is good, but Jim forgot to check in the updated output. 2000-10-07 16:58:11 +00:00
Guido van Rossum
4095101c78 Put arguments to test -z in double quotes. Fixes Bug #116325. 2000-10-07 16:21:27 +00:00
Fred Drake
77878413ba Hush the nanny. 2000-10-07 12:50:05 +00:00
Fred Drake
5d64421c23 Fix a couple of places where the descriptions of *_GET_SIZE() macros said
they were similar to *_GetSize(); should be similar to *_Size().

Error noted by William Park <parkw@better.net>.
2000-10-07 12:31:50 +00:00
Fred Drake
613f7c4092 Donn Cave <donn@oz.net>:
Generated files for BeOS R5.
2000-10-07 12:25:17 +00:00