]> granicus.if.org Git - python/log
python
24 years agoWhen we know the compiler is GCC, always add the -Wall and
Fred Drake [Thu, 12 Oct 2000 17:11:38 +0000 (17:11 +0000)]
When we know the compiler is GCC, always add the -Wall and
-Wstrict-prototypes options.  This will make it a lot easier to keep
warnings under control in the first place in the future.

There is one known warning at this time, caught by the -Wstrict-prototypes
option.  In Modules/main.c, the declaration of getopt() without parameters
gets a complaint (rightly) that it is not a proper prototype.  The lack of
a complete prototype information should be corrected when the right
portability conditions have been identified.

Approved by the Guido.

24 years agoAdded a test for the StringIO write() error I just fixed.
Guido van Rossum [Thu, 12 Oct 2000 16:46:28 +0000 (16:46 +0000)]
Added a test for the StringIO write() error I just fixed.

24 years ago[ Bug #116636 ] Bug in StringIO.write()
Guido van Rossum [Thu, 12 Oct 2000 16:45:37 +0000 (16:45 +0000)]
[ Bug #116636 ] Bug in StringIO.write()
http://sourceforge.net/bugs/?func=detailbug&bug_id=116636&group_id=5470
bobalex@rsv.ricoh.com

Bug report: If the file position is less than the end of the "file",
and a write is performed extending past then end of the file, the data
string is corrupted.

Solution: in write(), when writing past the end, properly set self.len
when newpos is > self.len.

24 years agoAnonymous patch to add Darwin 1.2 to the list of BSDs.
Guido van Rossum [Thu, 12 Oct 2000 16:01:55 +0000 (16:01 +0000)]
Anonymous patch to add Darwin 1.2 to the list of BSDs.

Let's hope this is correct (I'm not sure why the sys.platform would be
'Darwin1.2' rather than 'darwin1', which seems to be the convention).

Someone with Darwin please test this!

24 years agoAdded some single tuple/list unpacking for JPython regression testing.
Barry Warsaw [Thu, 12 Oct 2000 14:45:58 +0000 (14:45 +0000)]
Added some single tuple/list unpacking for JPython regression testing.

24 years agoA Mystery: I somehow managed to delete the last two lines of my test_math.py
Tim Peters [Thu, 12 Oct 2000 07:15:55 +0000 (07:15 +0000)]
A Mystery:  I somehow managed to delete the last two lines of my test_math.py
changes.  Here restoring them.

24 years agoStop raising OverflowError on underflows reported by libm (errno==ERANGE and
Tim Peters [Thu, 12 Oct 2000 06:10:25 +0000 (06:10 +0000)]
Stop raising OverflowError on underflows reported by libm (errno==ERANGE and
libm result is 0).  Cautiously add a few libm exception test cases:
1. That exp(-huge) returns 0 without exception.
2. That exp(+huge) triggers OverflowError.
3. That sqrt(-1) raises ValueError specifically (apparently under glibc linked
   with -lieee, it was raising OverflowError due to an accident of the way
   mathmodule.c's CHECK() macro happened to deal with Infs and NaNs under gcc).

24 years agoVarious minor additions and clarifications, mostly suggested by Jeremy
Andrew M. Kuchling [Thu, 12 Oct 2000 03:04:22 +0000 (03:04 +0000)]
Various minor additions and clarifications, mostly suggested by Jeremy

24 years agoComment out a separator line, since all the others are commented out,
Fred Drake [Thu, 12 Oct 2000 02:49:12 +0000 (02:49 +0000)]
Comment out a separator line, since all the others are commented out,
and it would look kind of silly if typeset.

24 years agoAdd new section on the XML package. (This was the only major new 2.0 feature
Andrew M. Kuchling [Thu, 12 Oct 2000 02:37:14 +0000 (02:37 +0000)]
Add new section on the XML package.  (This was the only major new 2.0 feature
   left that wasn't covered.  The article is therefore now essentially complete.)
A few minor changes

24 years agoDo a better job at staying on-screen :P (Sorry, it's late here.) I'm
Thomas Wouters [Wed, 11 Oct 2000 23:26:11 +0000 (23:26 +0000)]
Do a better job at staying on-screen :P (Sorry, it's late here.) I'm
assuming here that the ANSI-C adjacent-string-concatenation technique is
allowable, now that Python requires an ANSI C compiler.

24 years agoAdjust debugging code in the implementation of the DUP_TOPX bytecode, use
Thomas Wouters [Wed, 11 Oct 2000 23:20:09 +0000 (23:20 +0000)]
Adjust debugging code in the implementation of the DUP_TOPX bytecode, use
Py_FatalError() instead, and clarify the message somewhat. As discussed on
python-dev.

24 years agoAdded additional test cases for pulldom modifications.
Lars Gustäbel [Wed, 11 Oct 2000 22:36:00 +0000 (22:36 +0000)]
Added additional test cases for pulldom modifications.

24 years agoAdded parent attribute with getters and setters on XMLFilterBase.
Lars Gustäbel [Wed, 11 Oct 2000 22:35:00 +0000 (22:35 +0000)]
Added parent attribute with getters and setters on XMLFilterBase.

24 years agoAdded non-ns start and end element methods.
Lars Gustäbel [Wed, 11 Oct 2000 22:34:04 +0000 (22:34 +0000)]
Added non-ns start and end element methods.
Moved appendChild calls from DOMEventStream to PullDOM (parser indep).
Removed duplicated sibling pointer setting (duplicated in appendChild).

24 years agoDocument the exceptions that now get raised on invalid parameters.
Fred Drake [Wed, 11 Oct 2000 22:27:51 +0000 (22:27 +0000)]
Document the exceptions that now get raised on invalid parameters.

24 years agoTest the exception-raising for error cases in copy_reg.
Fred Drake [Wed, 11 Oct 2000 22:17:35 +0000 (22:17 +0000)]
Test the exception-raising for error cases in copy_reg.

24 years agoIn the module docstring, clarify that this is used to register pickle
Fred Drake [Wed, 11 Oct 2000 22:16:45 +0000 (22:16 +0000)]
In the module docstring, clarify that this is used to register pickle
support for extension types, not classes.

pickle():  If the type is a class or if the reduction function is not
           callable, raise a TypeError.

constructor():  If the constructor is not callable, raise TypeError.

This (partially) closes SourceForge patch #101859.

24 years agoAnother gcc -Wall warning squashed:
Fred Drake [Wed, 11 Oct 2000 21:53:34 +0000 (21:53 +0000)]
Another gcc -Wall warning squashed:

MPZ_divm():  Initialize mpzden to NULL, since it could be Py_XDECREF()ed
             without being initialized.

24 years agoRemove one more gcc -Wall warning.
Fred Drake [Wed, 11 Oct 2000 21:44:02 +0000 (21:44 +0000)]
Remove one more gcc -Wall warning.

24 years agoJack Jansen reported that the regression test failed on the Mac where
Guido van Rossum [Wed, 11 Oct 2000 21:34:53 +0000 (21:34 +0000)]
Jack Jansen reported that the regression test failed on the Mac where
string.letters was much more than expected.

Solution: explicit is better than implicit; don't rely on
string.letters.

24 years agoAdded test cases for extended printing to an instance. This picked up
Barry Warsaw [Wed, 11 Oct 2000 21:26:03 +0000 (21:26 +0000)]
Added test cases for extended printing to an instance.  This picked up
a bug in JPython where the instance had to have a flush() method.

24 years agoMake sure methods of ZipFile objects are in alphabetical order; the logical
Fred Drake [Wed, 11 Oct 2000 18:56:00 +0000 (18:56 +0000)]
Make sure methods of ZipFile objects are in alphabetical order; the logical
groupings are still maintained.  Based on a comment by Steve Holden
<sholden@holdenweb.com>.

24 years agoUse suggested workaround for PyOS_CheckStack causing failure of test_[s]re.py
Trent Mick [Wed, 11 Oct 2000 17:18:11 +0000 (17:18 +0000)]
Use suggested workaround for PyOS_CheckStack causing failure of test_[s]re.py
on Win64.

This closes bug http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=116516

24 years agoRemove the last gcc -Wall warning about possible use of an uninitialized
Fred Drake [Wed, 11 Oct 2000 13:54:07 +0000 (13:54 +0000)]
Remove the last gcc -Wall warning about possible use of an uninitialized
variable.  w should be initialized before entering the bytecode
interpretation loop since we only need one initialization to satisfy the
compiler.

24 years agoAttempt to fix bogus gcc -Wall warnings reported by Marc-Andre Lemburg,
Tim Peters [Wed, 11 Oct 2000 07:04:49 +0000 (07:04 +0000)]
Attempt to fix bogus gcc -Wall warnings reported by Marc-Andre Lemburg,
by making the DUP_TOPX code utterly straightforward.  This also gets rid
of all normal-case internal DUP_TOPX if/branches, and allows replacing one
POP() with TOP() in each case, so is a good idea regardless.

24 years agoFix the docstring for new.function().
Fred Drake [Tue, 10 Oct 2000 22:07:18 +0000 (22:07 +0000)]
Fix the docstring for new.function().
Based on a comment from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.

24 years agoFixed a large number of small problems, mostly noted by Detlef Lannert
Fred Drake [Tue, 10 Oct 2000 22:00:03 +0000 (22:00 +0000)]
Fixed a large number of small problems, mostly noted by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.

24 years agoAvoid a couple of "value computed is not used" warnings from gcc -Wall;
Fred Drake [Tue, 10 Oct 2000 21:10:35 +0000 (21:10 +0000)]
Avoid a couple of "value computed is not used" warnings from gcc -Wall;
these computations are required for their side effects in traversing the
variable arguments list.

Reported by Marc-Andre Lemburg <mal@lemburg.com>.

24 years agoNote that the UserString/MutableString classes are far less efficient
Fred Drake [Tue, 10 Oct 2000 20:58:48 +0000 (20:58 +0000)]
Note that the UserString/MutableString classes are far less efficient
than the built-in string types (suggested by Moshe Zadka
<moshez@math.huji.ac.il>).

Clarified what "can be converted to a string" means.

Fixed a few markup nits.

24 years agoRevise the examples not to use the "from socket import *", and adjust
Fred Drake [Tue, 10 Oct 2000 20:36:29 +0000 (20:36 +0000)]
Revise the examples not to use the "from socket import *", and adjust
one comment in the example for clarity.

24 years agoRemove duplicated text from urlopen() description, noted by Ka-Ping
Fred Drake [Tue, 10 Oct 2000 20:23:10 +0000 (20:23 +0000)]
Remove duplicated text from urlopen() description, noted by Ka-Ping
Yee <ping@lfw.org> and probably others as well.

24 years agoSubstantially revise to handle the fact that Python CVS is no longer in a
Fred Drake [Tue, 10 Oct 2000 19:35:40 +0000 (19:35 +0000)]
Substantially revise to handle the fact that Python CVS is no longer in a
file-system accessible repository.  Add a little bit of smarts to convert
the cvsroot to an anonymous cvsroot the real one requires an authenticated
login to SourceForge; this avoids the SSH startup delay when doing the
checkout or export to get a fresh copy of the tree.

24 years agoMake it clear that copy_reg.pickle() should not be used for classes, but
Fred Drake [Tue, 10 Oct 2000 18:36:02 +0000 (18:36 +0000)]
Make it clear that copy_reg.pickle() should not be used for classes, but
only for extension types.

This partially fixes SourceForge bug #116295.

24 years agoFixed lots of small nits caught by Ka-Ping Yee <ping@lfw.org>.
Fred Drake [Tue, 10 Oct 2000 17:03:45 +0000 (17:03 +0000)]
Fixed lots of small nits caught by Ka-Ping Yee <ping@lfw.org>.

24 years agoMinor nit fixes based on suggestions from Ka-Ping Yee <ping@lfw.org>.
Fred Drake [Tue, 10 Oct 2000 17:02:34 +0000 (17:02 +0000)]
Minor nit fixes based on suggestions from Ka-Ping Yee <ping@lfw.org>.
Added "See also" section with relevant RFC references.

24 years agoBetter synopsis based on suggestion from Ka-Ping Yee <ping@lfw.org>.
Fred Drake [Tue, 10 Oct 2000 16:59:53 +0000 (16:59 +0000)]
Better synopsis based on suggestion from Ka-Ping Yee <ping@lfw.org>.

24 years agoBetter synopses based on suggestions from Ka-Ping Yee <ping@lfw.org>.
Fred Drake [Tue, 10 Oct 2000 16:56:41 +0000 (16:56 +0000)]
Better synopses based on suggestions from Ka-Ping Yee <ping@lfw.org>.

24 years agoMove the documentation for the mutex module to be with the threading
Fred Drake [Tue, 10 Oct 2000 16:46:36 +0000 (16:46 +0000)]
Move the documentation for the mutex module to be with the threading
and queue-management modules, since that is where the general context
for use in most cases.

24 years agoPlace the full text of the CNRI license verbatim in the LICENSE file.
Guido van Rossum [Tue, 10 Oct 2000 14:49:44 +0000 (14:49 +0000)]
Place the full text of the CNRI license verbatim in the LICENSE file.
Who know where the handle will point to tomorrow?

24 years agoThis commit was manufactured by cvs2svn to create tag 'r20c1'. v2.0c1
cvs2svn [Mon, 9 Oct 2000 23:43:55 +0000 (23:43 +0000)]
This commit was manufactured by cvs2svn to create tag 'r20c1'.

24 years agoWhen the classes in wave.py opened files themselves, their .close() methods
Tim Peters [Mon, 9 Oct 2000 23:43:55 +0000 (23:43 +0000)]
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.

24 years agoThe usual.
Guido van Rossum [Mon, 9 Oct 2000 22:14:43 +0000 (22:14 +0000)]
The usual.

24 years agoThe Usual.
Jeremy Hylton [Mon, 9 Oct 2000 21:48:02 +0000 (21:48 +0000)]
The Usual.

24 years agothe usual
Jeremy Hylton [Mon, 9 Oct 2000 21:34:51 +0000 (21:34 +0000)]
the usual

24 years agoadd note explaining what a release candidate is
Jeremy Hylton [Mon, 9 Oct 2000 21:27:22 +0000 (21:27 +0000)]
add note explaining what a release candidate is

24 years agoThis file is no longer used.
Fred Drake [Mon, 9 Oct 2000 21:26:12 +0000 (21:26 +0000)]
This file is no longer used.

24 years agoRepaired IDLE Unicode bug description.
Tim Peters [Mon, 9 Oct 2000 21:19:31 +0000 (21:19 +0000)]
Repaired IDLE Unicode bug description.
Added tokenize.py bugfix info.

24 years agoAnother generated file...
Fred Drake [Mon, 9 Oct 2000 20:22:28 +0000 (20:22 +0000)]
Another generated file...

24 years agoRemove macro that mentions DL_EXPORT_HEADER; it caused a spurious warning
Fred Drake [Mon, 9 Oct 2000 20:18:32 +0000 (20:18 +0000)]
Remove macro that mentions DL_EXPORT_HEADER; it caused a spurious warning
from autoheader and is not useful anymore.
(Approved by Donn Cave.)

24 years agoWAVE test + bugfix contributor.
Guido van Rossum [Mon, 9 Oct 2000 20:07:00 +0000 (20:07 +0000)]
WAVE test + bugfix contributor.

24 years agowave test output
Guido van Rossum [Mon, 9 Oct 2000 20:06:50 +0000 (20:06 +0000)]
wave test output

24 years agoSimple test suite for wave.py by Jean-Claude Rimbault (with some
Guido van Rossum [Mon, 9 Oct 2000 20:05:59 +0000 (20:05 +0000)]
Simple test suite for wave.py by Jean-Claude Rimbault (with some
changes to avoid using assert).

24 years agoPaul Prescod <paul@prescod.net>:
Fred Drake [Mon, 9 Oct 2000 20:04:16 +0000 (20:04 +0000)]
Paul Prescod <paul@prescod.net>:
Correct the chaining between siblings.

24 years agoFix by Jean-Claude Rimbault [ Bug #116271 ] -- the WAVE header was
Guido van Rossum [Mon, 9 Oct 2000 20:01:53 +0000 (20:01 +0000)]
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.

24 years agoMove the test for confirmation that all nodes have been freed into the
Fred Drake [Mon, 9 Oct 2000 19:57:39 +0000 (19:57 +0000)]
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.

24 years agoAnd another.
Guido van Rossum [Mon, 9 Oct 2000 19:52:41 +0000 (19:52 +0000)]
And another.

24 years agoChecking in three Darwin-specific patches.
Guido van Rossum [Mon, 9 Oct 2000 19:52:35 +0000 (19:52 +0000)]
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! :-)

24 years agotypo
Jeremy Hylton [Mon, 9 Oct 2000 19:48:11 +0000 (19:48 +0000)]
typo

24 years agoUse python$EXE instead of python, for Darwin. (Patch by Tony
Guido van Rossum [Mon, 9 Oct 2000 19:34:12 +0000 (19:34 +0000)]
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?]

24 years agoFor Darwin, export EXE (needed by Lib/plat-generic/regen checkin, to
Guido van Rossum [Mon, 9 Oct 2000 19:31:40 +0000 (19:31 +0000)]
For Darwin, export EXE (needed by Lib/plat-generic/regen checkin, to
follow).  Adapted from a patch by Tony Lownds. (#101816)

24 years agoOne more name.
Guido van Rossum [Mon, 9 Oct 2000 19:29:35 +0000 (19:29 +0000)]
One more name.

24 years agoDo not forget to build the acks.html file when building "all"!
Fred Drake [Mon, 9 Oct 2000 18:56:23 +0000 (18:56 +0000)]
Do not forget to build the acks.html file when building "all"!

24 years agoadded better description of BeOS changes from Donn Cave
Jeremy Hylton [Mon, 9 Oct 2000 18:34:12 +0000 (18:34 +0000)]
added better description of BeOS changes from Donn Cave

24 years agoSummary of changes between 2.0b2 and 2.0c1
Jeremy Hylton [Mon, 9 Oct 2000 18:26:42 +0000 (18:26 +0000)]
Summary of changes between 2.0b2 and 2.0c1

24 years agonew name
Jeremy Hylton [Mon, 9 Oct 2000 18:26:16 +0000 (18:26 +0000)]
new name

24 years agoWork around annoyances in LaTeX2HTML.
Fred Drake [Mon, 9 Oct 2000 18:12:29 +0000 (18:12 +0000)]
Work around annoyances in LaTeX2HTML.

24 years agoPush xmllib to the end of the markup chapter since it is deprecated.
Fred Drake [Mon, 9 Oct 2000 18:11:24 +0000 (18:11 +0000)]
Push xmllib to the end of the markup chapter since it is deprecated.

24 years agoAnother name.
Fred Drake [Mon, 9 Oct 2000 18:08:56 +0000 (18:08 +0000)]
Another name.

24 years agoDonn Cave <donn@oz.net>:
Fred Drake [Mon, 9 Oct 2000 17:06:13 +0000 (17:06 +0000)]
Donn Cave <donn@oz.net>:
Update for BeOS.
This closes SourceForge patch #101774.

Also fix typo in a comment.

24 years agoDonn Cave <donn@oz.net>:
Fred Drake [Mon, 9 Oct 2000 17:01:03 +0000 (17:01 +0000)]
Donn Cave <donn@oz.net>:
Removed DL_EXPORT_HEADER -- only needed on BeOS, and not needed there
anymore.

This closes SourceForge patch #101775.

24 years agoDonn Cave <donn@oz.net>:
Fred Drake [Mon, 9 Oct 2000 16:51:49 +0000 (16:51 +0000)]
Donn Cave <donn@oz.net>:
Revise BeOS support.

This closes SourceForge patch #101776.

24 years agoDonn Cave <donn@oz.net>:
Fred Drake [Mon, 9 Oct 2000 16:48:09 +0000 (16:48 +0000)]
Donn Cave <donn@oz.net>:
Updated to work better with BeOS.

This closes SourceForge patch #101777.

24 years agoUpdated version from Donn Cave <donn@oz.net>.
Fred Drake [Mon, 9 Oct 2000 16:46:02 +0000 (16:46 +0000)]
Updated version from Donn Cave <donn@oz.net>.
This closes SourceForge patch #101778.

24 years ago_exceptions: Format a missing system id as <unknown>.
Martin v. Löwis [Mon, 9 Oct 2000 16:45:54 +0000 (16:45 +0000)]
_exceptions: Format a missing system id as <unknown>.
expatreader: Use the error handler instead of raising exception directly.

24 years agoDenis S. Otkidach <ods@users.sourceforge.net>:
Fred Drake [Mon, 9 Oct 2000 15:27:31 +0000 (15:27 +0000)]
Denis S. Otkidach <ods@users.sourceforge.net>:
Correct description of leapdays() function.

This closes SourceForge patch #101840.

24 years agobump patchlevel to 2.0c1
Jeremy Hylton [Mon, 9 Oct 2000 15:13:47 +0000 (15:13 +0000)]
bump patchlevel to 2.0c1

24 years agoread in a .pyc file and disassemble the code objects
Jeremy Hylton [Mon, 9 Oct 2000 14:35:24 +0000 (14:35 +0000)]
read in a .pyc file and disassemble the code objects

24 years agoPatch #101810: check whether zst.avail_out is non-zero when getting
Andrew M. Kuchling [Mon, 9 Oct 2000 14:18:10 +0000 (14:18 +0000)]
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.

24 years agoFixed leapdays(). From Patch #101841, by Denis S. Otkidach.
Guido van Rossum [Mon, 9 Oct 2000 12:42:04 +0000 (12:42 +0000)]
Fixed leapdays().  From Patch #101841, by Denis S. Otkidach.

24 years agoAdapt test output to changed error message.
Guido van Rossum [Sun, 8 Oct 2000 19:48:46 +0000 (19:48 +0000)]
Adapt test output to changed error message.

24 years agoBe consistent in the description of audio formats: <format> <width>
Guido van Rossum [Sun, 8 Oct 2000 19:47:47 +0000 (19:47 +0000)]
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.)

24 years agoCorrect output.
Guido van Rossum [Sun, 8 Oct 2000 00:21:43 +0000 (00:21 +0000)]
Correct output.

24 years agoIt seems our sound cards can't play mulaw data. Use native-format
Guido van Rossum [Sun, 8 Oct 2000 00:20:20 +0000 (00:20 +0000)]
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.

24 years agoDon't use string methods to allow sharing this code with PyXML.
Martin v. Löwis [Sat, 7 Oct 2000 19:03:20 +0000 (19:03 +0000)]
Don't use string methods to allow sharing this code with PyXML.

24 years agoFixed too ambitious "nothing to repeat" check. Closes bug #114033.
Fredrik Lundh [Sat, 7 Oct 2000 17:38:23 +0000 (17:38 +0000)]
Fixed too ambitious "nothing to repeat" check.  Closes bug #114033.

24 years agoThe test is good, but Jim forgot to check in the updated output.
Fred Drake [Sat, 7 Oct 2000 16:58:11 +0000 (16:58 +0000)]
The test is good, but Jim forgot to check in the updated output.

24 years agoPut arguments to test -z in double quotes. Fixes Bug #116325.
Guido van Rossum [Sat, 7 Oct 2000 16:21:27 +0000 (16:21 +0000)]
Put arguments to test -z in double quotes. Fixes Bug #116325.

24 years agoHush the nanny.
Fred Drake [Sat, 7 Oct 2000 12:50:05 +0000 (12:50 +0000)]
Hush the nanny.

24 years agoFix a couple of places where the descriptions of *_GET_SIZE() macros said
Fred Drake [Sat, 7 Oct 2000 12:31:50 +0000 (12:31 +0000)]
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>.

24 years agoDonn Cave <donn@oz.net>:
Fred Drake [Sat, 7 Oct 2000 12:25:17 +0000 (12:25 +0000)]
Donn Cave <donn@oz.net>:
Generated files for BeOS R5.

24 years agoRecord bugs found when comparing the module with DOM Core Level 2.
Martin v. Löwis [Sat, 7 Oct 2000 12:10:28 +0000 (12:10 +0000)]
Record bugs found when comparing the module with DOM Core Level 2.

24 years agoPrevent possible buffer overflow exploits under Windows. As per (the very quick...
Mark Hammond [Sat, 7 Oct 2000 11:10:50 +0000 (11:10 +0000)]
Prevent possible buffer overflow exploits under Windows.  As per (the very quick) patch Patch #101801.

24 years agoSRE didn't handle character category followed by hyphen inside a
Fredrik Lundh [Sat, 7 Oct 2000 10:16:19 +0000 (10:16 +0000)]
SRE didn't handle character category followed by hyphen inside a
character class.  Fix provided by Andrew Kuchling.  Closes bug
#116251.

24 years ago[ Bug #116174 ] using %% in cstrings sometimes fails with unicode paramsFix for the...
Marc-André Lemburg [Sat, 7 Oct 2000 08:54:09 +0000 (08:54 +0000)]
[ Bug #116174 ] using %% in cstrings sometimes fails with unicode paramsFix for the bug reported in Bug #116174: "%% %s" % u"abc" failed due
to the way string formatting delegated work to the Unicode formatting
function.

24 years agoUpdated test with a case which checks for the bug reported in
Marc-André Lemburg [Sat, 7 Oct 2000 08:52:45 +0000 (08:52 +0000)]
Updated test with a case which checks for the bug reported in

24 years agoPossible fix for Skip's bug 116136 (sre recursion limit hit in tokenize.py).
Tim Peters [Sat, 7 Oct 2000 05:09:39 +0000 (05:09 +0000)]
Possible fix for Skip's bug 116136 (sre recursion limit hit in tokenize.py).
tokenize.py has always used naive regexps for matching string literals,
and that appears to trigger the sre recursion limit on Skip's platform (he
has very long single-line string literals).  Replaced all of tokenize.py's
string regexps with the "unrolled" forms used in IDLE, where they're known to
handle even absurd (multi-megabyte!) string literals without trouble.  See
Friedl's book for explanation (at heart, the naive regexps create a backtracking
choice point for each character in the literal, while the unrolled forms create
none).

24 years agoPrep Windows installer for 2.0c1: title and build number.
Tim Peters [Sat, 7 Oct 2000 04:04:07 +0000 (04:04 +0000)]
Prep Windows installer for 2.0c1:  title and build number.

24 years agoFix for next iteration of SF bug 115690 (Unicode headaches in IDLE). The
Tim Peters [Fri, 6 Oct 2000 23:09:00 +0000 (23:09 +0000)]
Fix for next iteration of SF bug 115690 (Unicode headaches in IDLE).  The
parsing functions in support of auto-indent weren't expecting Unicode
strings, but text.get() can now return them (although it remains muddy as
to exactly when or why that can happen).  Fixed that with a Big Hammer.

24 years agoAdd .toxml test case, as proposed by Alex Martelli in bug report #116244.
Martin v. Löwis [Fri, 6 Oct 2000 22:42:55 +0000 (22:42 +0000)]
Add .toxml test case, as proposed by Alex Martelli in bug report #116244.