]> granicus.if.org Git - python/log
python
24 years agoRemove extra argument to method call
Andrew M. Kuchling [Wed, 12 Jul 2000 03:38:34 +0000 (03:38 +0000)]
Remove extra argument to method call

24 years agoChecks whether right shift extends the sign bit.
Vladimir Marangozov [Wed, 12 Jul 2000 03:02:43 +0000 (03:02 +0000)]
Checks whether right shift extends the sign bit.

Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine
(in main(), use return instead of exit).

Closes patch #100832

24 years agoChecks whether right shift extends the sign bit.
Vladimir Marangozov [Wed, 12 Jul 2000 03:02:16 +0000 (03:02 +0000)]
Checks whether right shift extends the sign bit.

Patch by Thomas Wouters <thomas@xs4all.net> with small changes of mine
(in main(), use return instead of exit).

Closes patch #100832
(but I can't assign it to myself, nor close it -- sorry)

24 years agoFix typo in error message
Andrew M. Kuchling [Wed, 12 Jul 2000 02:58:28 +0000 (02:58 +0000)]
Fix typo in error message

24 years agoResynchronize the TeX docs with (a) the module docstring, and (b) my recent
Eric S. Raymond [Wed, 12 Jul 2000 02:56:15 +0000 (02:56 +0000)]
Resynchronize the TeX docs with (a) the module docstring, and (b) my recent
fix to the code to make it behave like the module docstring.

24 years agoFix bugs in readinst():
Andrew M. Kuchling [Wed, 12 Jul 2000 01:27:18 +0000 (01:27 +0000)]
Fix bugs in readinst():
* There was no error reported if the .read() method returns a non-string
* If read() returned too much data, the buffer would be overflowed causing a
  core dump
* Used strncpy, not memcpy, which seems incorrect if there are embedded \0s.
* The args and bytes objects were leaked

24 years agoPatch #100854 from jhylton: eliminate compiler warnings in pyexpat:
Andrew M. Kuchling [Wed, 12 Jul 2000 00:53:41 +0000 (00:53 +0000)]
Patch #100854 from jhylton: eliminate compiler warnings in pyexpat:
The first two warnings seem harmless enough,
but the last one looks like a potential bug: an
uninitialized int is returned on error. (I also
ended up reformatting some of the code,
because it was hard to read.)

24 years agoFix mixed mallocs: re->re_patbuf.buffer is allocated with std malloc().
Vladimir Marangozov [Wed, 12 Jul 2000 00:49:17 +0000 (00:49 +0000)]
Fix mixed mallocs: re->re_patbuf.buffer is allocated with std malloc().

24 years agonew test for posixpath module
Skip Montanaro [Wed, 12 Jul 2000 00:20:45 +0000 (00:20 +0000)]
new test for posixpath module

24 years agonew test file for posixpath module
Skip Montanaro [Wed, 12 Jul 2000 00:20:08 +0000 (00:20 +0000)]
new test file for posixpath module

24 years agoErrare humanum est.
Peter Schneider-Kamp [Tue, 11 Jul 2000 23:00:12 +0000 (23:00 +0000)]
Errare humanum est.

Changed parameter in getsockaddrlen from unsigned to socklen_t.

24 years agoGot rid of __SC__ ifdefs.
Jack Jansen [Tue, 11 Jul 2000 22:37:03 +0000 (22:37 +0000)]
Got rid of __SC__ ifdefs.

24 years agoInclude macglue.h for some function prototypes, and renamed a few
Jack Jansen [Tue, 11 Jul 2000 21:59:16 +0000 (21:59 +0000)]
Include macglue.h for some function prototypes, and renamed a few
mac-specific functions to have a PyMac_ name.

24 years agoInclude macglue.h on the macintosh, so function prototypes are in scope.
Jack Jansen [Tue, 11 Jul 2000 21:47:20 +0000 (21:47 +0000)]
Include macglue.h on the macintosh, so function prototypes are in scope.

24 years agoOne more include of limits.h (possibly to be moved elsewhere when there is
Jack Jansen [Tue, 11 Jul 2000 21:35:02 +0000 (21:35 +0000)]
One more include of limits.h (possibly to be moved elsewhere when there is
consensus where it should go).

24 years agoRemoved guesstabsize.c, which is obsolete.
Jack Jansen [Tue, 11 Jul 2000 21:18:44 +0000 (21:18 +0000)]
Removed guesstabsize.c, which is obsolete.

24 years ago- Removed guesstabsize.c, which is obsolete.
Jack Jansen [Tue, 11 Jul 2000 21:18:10 +0000 (21:18 +0000)]
- Removed guesstabsize.c, which is obsolete.
- ANSIfication step 3: enable "require prototypes" flags. Still lots of warnings, mainly on init routines and bgen stuff.

24 years agoANSIfication step 2: make sure all needed prototypes are available, and all needed
Jack Jansen [Tue, 11 Jul 2000 21:16:03 +0000 (21:16 +0000)]
ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.

24 years agoAdded a declaration of fileno() if we use GUSI. Not sure whether it should go here...
Jack Jansen [Tue, 11 Jul 2000 21:14:21 +0000 (21:14 +0000)]
Added a declaration of fileno() if we use GUSI. Not sure whether it should go here or in pyport.h really...

24 years agoFiddled declaration/implementation of setcallback() so that it is ansifyable.
Jack Jansen [Tue, 11 Jul 2000 21:12:55 +0000 (21:12 +0000)]
Fiddled declaration/implementation of setcallback() so that it is ansifyable.

24 years agosmall updates to string_join:
Jeremy Hylton [Tue, 11 Jul 2000 20:55:38 +0000 (20:55 +0000)]
small updates to string_join:
    use PyString_AS_STRING macro on local string object
    when resizing string, make sure resized string will always be big enough
    split string containing error message across two lines
add test to string_tests that causes resizing

24 years agosatisfy the -Wall: remove two unused local variables and unused ins function
Jeremy Hylton [Tue, 11 Jul 2000 20:30:05 +0000 (20:30 +0000)]
satisfy the -Wall: remove two unused local variables and unused ins function

24 years agoANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.
Jack Jansen [Tue, 11 Jul 2000 19:51:05 +0000 (19:51 +0000)]
ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.

24 years agoFix incomplete merge of Ping's SyntaxError enhancement patch (my fault).
Fred Drake [Tue, 11 Jul 2000 19:49:15 +0000 (19:49 +0000)]
Fix incomplete merge of Ping's SyntaxError enhancement patch (my fault).
Comment change only.

24 years agoMoshe Zadka <mzadka@geocities.com>:
Fred Drake [Tue, 11 Jul 2000 19:43:47 +0000 (19:43 +0000)]
Moshe Zadka <mzadka@geocities.com>:
Update the "in" / "not in" description to accomodate the current use
of the __contains__() discipline.  This patch also incorporates
suggestions from Marc-Andre Lemburg <mal@lemburg.com>, minor markup
revisions from Fred Drake, and some rewording of the first affected
paragraph (also from Fred).

Closes SourceForge patch #100831.

24 years agoCreate two new exceptions: IndentationError and TabError. These are
Fred Drake [Tue, 11 Jul 2000 17:53:00 +0000 (17:53 +0000)]
Create two new exceptions:  IndentationError and TabError.  These are
used for indentation related errors.  This patch includes Ping's
improvements for indentation-related error messages.

Closes SourceForge patches #100734 and #100856.

24 years agofixed a warning in getsockaddrlen
Peter Schneider-Kamp [Tue, 11 Jul 2000 17:40:30 +0000 (17:40 +0000)]
fixed a warning in getsockaddrlen

24 years agoadd expandtabs command (-e)
Peter Schneider-Kamp [Tue, 11 Jul 2000 16:43:16 +0000 (16:43 +0000)]
add expandtabs command (-e)
change eliminate to delete (-d)

24 years agoChange the table in the pyexpat.errors module to a series of datadesc
Fred Drake [Tue, 11 Jul 2000 16:30:30 +0000 (16:30 +0000)]
Change the table in the pyexpat.errors module to a series of datadesc
elements (since the table was pretty screwed up); this is how it is done
elsewhere in the manual.

I could use some help creating descriptions of the specific error
identifiers (input conditions that lead to each error, etc.).

24 years agofix bug #42 reported by Andrew Dalke
Jeremy Hylton [Tue, 11 Jul 2000 15:15:31 +0000 (15:15 +0000)]
fix bug #42 reported by Andrew Dalke

The Compare close contains a close method that checks to see if there
is any unconsumed data in the Compare instance; i.e. if the canonical
output file contains more data than was produced by the current test
run. This method was never called, allowing differences to go
undetected.

Fix is to call close after the test is run (after __import__)

output/test_long and output/test_popen2 needed trivial changes
output/test_select contained lots of text, but test_select.py produced
    no output

24 years agoNeil Schemenauer <nascheme@enme.ucalgary.ca>:
Fred Drake [Tue, 11 Jul 2000 14:37:41 +0000 (14:37 +0000)]
Neil Schemenauer <nascheme@enme.ucalgary.ca>:
Change a cast, intialize a local, and make some sprintf() format strings
type-appropriate (add the "l" to "%d").

Closes SourceForge patch #100737.

24 years agoBug fix: ? and ! were not full aliases for `help' and `shell' as implied in
Eric S. Raymond [Tue, 11 Jul 2000 13:03:55 +0000 (13:03 +0000)]
Bug fix: ? and ! were not full aliases for `help' and `shell' as implied in
the documentation; the cases `? foo' and `! foo' failed.

24 years agofixed inconsistent use of tab and spaces
Peter Schneider-Kamp [Tue, 11 Jul 2000 11:24:41 +0000 (11:24 +0000)]
fixed inconsistent use of tab and spaces

24 years agoAdd test of resize() method of mmap objects
Andrew M. Kuchling [Tue, 11 Jul 2000 10:45:28 +0000 (10:45 +0000)]
Add test of resize() method of mmap objects

24 years agoDocstring changes.
Andrew M. Kuchling [Tue, 11 Jul 2000 10:38:24 +0000 (10:38 +0000)]
Docstring changes.

24 years agoJeremy Hylton:
Marc-André Lemburg [Tue, 11 Jul 2000 09:47:04 +0000 (09:47 +0000)]
Jeremy Hylton:
better error message for unicode coercion failure

24 years agostring_join(): Some cleaning up of reference counting. In the
Barry Warsaw [Tue, 11 Jul 2000 04:58:12 +0000 (04:58 +0000)]
string_join(): Some cleaning up of reference counting.  In the
seqlen==1 clause, before returning item, we need to DECREF seq.  In
the res=PyString... failure clause, we need to goto finally to also
decref seq (and the DECREF of res in finally is changed to a
XDECREF).  Also, we need to DECREF seq just before the
PyUnicode_Join() return.

24 years agoadd more tests of string.join variants to run_method_tests
Jeremy Hylton [Tue, 11 Jul 2000 03:31:55 +0000 (03:31 +0000)]
add more tests of string.join variants to run_method_tests

24 years agofix two refcount bugs in new string_join implementation:
Jeremy Hylton [Tue, 11 Jul 2000 03:28:17 +0000 (03:28 +0000)]
fix two refcount bugs in new string_join implementation:
1. PySequence_Fast_GET_ITEM is a macro and borrows a reference
2. The seq returned from PySequence_Fast must be decref'd

24 years agoNow that prototypes are in scope, the compiler gives legit wngs
Tim Peters [Mon, 10 Jul 2000 22:41:30 +0000 (22:41 +0000)]
Now that prototypes are in scope, the compiler gives legit wngs
about int size mismatches at two calls to s_rand.  Stuffed in
casts to make the code do what it did before but w/o warnings --
although unclear that's correct!

24 years agotwo changes to string_join:
Jeremy Hylton [Mon, 10 Jul 2000 21:30:28 +0000 (21:30 +0000)]
two changes to string_join:

implementation -- use PySequence_Fast interface to iterate over elements
interface -- if instance object reports wrong length, ignore it;
   previous version raised an IndexError if reported length was too high

24 years ago-- removed get_default compatibility kludge
Fredrik Lundh [Mon, 10 Jul 2000 19:32:19 +0000 (19:32 +0000)]
-- removed get_default compatibility kludge

-- added a few extra comments to locale.py

24 years ago- changed hash calculation for unicode strings. the new
Fredrik Lundh [Mon, 10 Jul 2000 18:27:47 +0000 (18:27 +0000)]
- changed hash calculation for unicode strings.  the new
  value is calculated from the character values, in a way
  that makes sure an 8-bit ASCII string and a unicode string
  with the same contents get the same hash value.

  (as a side effect, this also works for ISO Latin 1 strings).

  for more details, see the python-dev discussion.

24 years agoGive ConfigParser the capability to set as well as read options, and to write
Eric S. Raymond [Mon, 10 Jul 2000 18:11:00 +0000 (18:11 +0000)]
Give ConfigParser the capability to set as well as read options, and to write
a representation of the configuration state in .ini format that can be read
back in by a future read() call.  Thus this class is now a back end
for .ini editors as well as parsers.

This patch is complete and tested, but exposes a bug in the ConfigParser
implementation which I have not yet fixed.  Because case information is
discarded during parsing, the output of write() has its case smashed.

I wrote this for a SourceForge interface script called forgetool.
Documentation for the new entry points included.

24 years agoANSI-fication (fixed on parameter list I messed up in the patch)
Peter Schneider-Kamp [Mon, 10 Jul 2000 17:25:37 +0000 (17:25 +0000)]
ANSI-fication (fixed on parameter list I messed up in the patch)

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 17:15:07 +0000 (17:15 +0000)]
ANSI-fication

24 years agoANSI-fication, added #ifdef construction in mpz_coerce
Peter Schneider-Kamp [Mon, 10 Jul 2000 17:14:00 +0000 (17:14 +0000)]
ANSI-fication, added #ifdef construction in mpz_coerce

24 years agofactor out test definitions to string_tests module
Jeremy Hylton [Mon, 10 Jul 2000 17:08:42 +0000 (17:08 +0000)]
factor out test definitions to string_tests module
test_string and test_userstring run same tests for string methods

24 years agoadd isalpha and isalnum methods
Jeremy Hylton [Mon, 10 Jul 2000 17:07:17 +0000 (17:07 +0000)]
add isalpha and isalnum methods

24 years agoANSI-fication, not really tested, but should (hopefully) compile
Peter Schneider-Kamp [Mon, 10 Jul 2000 17:06:38 +0000 (17:06 +0000)]
ANSI-fication, not really tested, but should (hopefully) compile

24 years agoANSI-fication of the SGI modules (note that svmodule.c and sgimodule.c
Peter Schneider-Kamp [Mon, 10 Jul 2000 17:04:33 +0000 (17:04 +0000)]
ANSI-fication of the SGI modules (note that svmodule.c and sgimodule.c
have already been checked in)

UNTESTED!

24 years ago- stupid typo.
Fredrik Lundh [Mon, 10 Jul 2000 16:38:09 +0000 (16:38 +0000)]
- stupid typo.

24 years agoAdd linker flag -export-dynamic so symbols in libpython*.a are exported.
Guido van Rossum [Mon, 10 Jul 2000 16:22:12 +0000 (16:22 +0000)]
Add linker flag -export-dynamic so symbols in libpython*.a are exported.

24 years ago-- get rid of a compiler warning on unix. (as reported
Fredrik Lundh [Mon, 10 Jul 2000 15:59:30 +0000 (15:59 +0000)]
-- get rid of a compiler warning on unix.  (as reported
   for #100836, but implemented in a different way)

24 years agoAdded the line 'Testing UTF-16 code point order comparisons... done."
Guido van Rossum [Mon, 10 Jul 2000 15:06:06 +0000 (15:06 +0000)]
Added the line 'Testing UTF-16 code point order comparisons... done."
to match addition to test_unicode.py.

24 years agoAdapted for Python 2.0 under RH Linux.
Guido van Rossum [Mon, 10 Jul 2000 14:35:12 +0000 (14:35 +0000)]
Adapted for Python 2.0 under RH Linux.

24 years agoremove prints of file objects from _test
Jeremy Hylton [Mon, 10 Jul 2000 14:28:25 +0000 (14:28 +0000)]
remove prints of file objects from _test

24 years agoexpect message "no regression test case for method 'encode'
Jeremy Hylton [Mon, 10 Jul 2000 14:14:40 +0000 (14:14 +0000)]
expect message "no regression test case for method 'encode'

24 years agoPatch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem:
Andrew M. Kuchling [Mon, 10 Jul 2000 13:56:35 +0000 (13:56 +0000)]
Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem:
  There is a silly bug in the fall-back dumbdbm.py database package in
  the Python 1.5.2 standard distro. This bug causes any changes to an
  existing item to generate a new key, even when the key already
  exists.  After many updates, the .dir file used by dumbdbm grows to
  a huge size, and can cause filesystem problems.

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 13:12:27 +0000 (13:12 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 13:05:29 +0000 (13:05 +0000)]
ANSI-fication

24 years agoANSI-fying
Peter Schneider-Kamp [Mon, 10 Jul 2000 12:43:58 +0000 (12:43 +0000)]
ANSI-fying

added excplicit node * parameter to termvalid argument in
validate_two_chain_ops of parsermodule.c (as proposed by fred)

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 12:29:26 +0000 (12:29 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 12:15:54 +0000 (12:15 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 12:04:18 +0000 (12:04 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 11:56:03 +0000 (11:56 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 10:49:30 +0000 (10:49 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 10:03:58 +0000 (10:03 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 09:57:19 +0000 (09:57 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 09:55:32 +0000 (09:55 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 09:43:24 +0000 (09:43 +0000)]
ANSI-fication

24 years agoANSI-fication
Peter Schneider-Kamp [Mon, 10 Jul 2000 09:31:34 +0000 (09:31 +0000)]
ANSI-fication

24 years agoANSI-fication (and test if committing files works now)
Peter Schneider-Kamp [Mon, 10 Jul 2000 09:26:41 +0000 (09:26 +0000)]
ANSI-fication (and test if committing files works now)

24 years agoBetter error handling of bad entity references. Before when an & in
Sjoerd Mullender [Mon, 10 Jul 2000 08:09:48 +0000 (08:09 +0000)]
Better error handling of bad entity references.  Before when an & in
an attribute value was not escaped, you could get two syntax errors:
one about a missing semicolon and one about an unknown entity.  Now
you get only one about a bogus ampersand.

24 years agoInitialize the return value in collect_generations() since it is updated
Vladimir Marangozov [Mon, 10 Jul 2000 05:37:39 +0000 (05:37 +0000)]
Initialize the return value in collect_generations() since it is updated
conditionally in the code.

24 years agoRemove the "1" that Tim sticked to the preprocessor symbol for unknown reasons
Vladimir Marangozov [Mon, 10 Jul 2000 04:59:49 +0000 (04:59 +0000)]
Remove the "1" that Tim sticked to the preprocessor symbol for unknown reasons
(cf. the rest of the headers in the distribution)

24 years agoA small comment fix just to make sure I got my cvs/ssh setup right.
Vladimir Marangozov [Mon, 10 Jul 2000 04:30:56 +0000 (04:30 +0000)]
A small comment fix just to make sure I got my cvs/ssh setup right.

24 years agoGuido said include these in the Great ANSI-fication, so here they are!
Fred Drake [Mon, 10 Jul 2000 04:20:57 +0000 (04:20 +0000)]
Guido said include these in the Great ANSI-fication, so here they are!

24 years ago- changed the nt.popen2 return values back to
Fredrik Lundh [Sun, 9 Jul 2000 23:35:24 +0000 (23:35 +0000)]
- changed the nt.popen2 return values back to
  (write, read, ...), based on feedback from GvR.

- added tuple-swapping code to popen2.py

- fixed some runaway indentation in posixmodule.c

24 years ago- repaired locale.py for non-windows platforms. the try/except
Fredrik Lundh [Sun, 9 Jul 2000 23:16:10 +0000 (23:16 +0000)]
- repaired locale.py for non-windows platforms.  the try/except
  checked for the wrong exception.  my fault.  sorry.
  (first reported by Alex Coventry)

24 years agoException__str__(): In case 1, be sure to decref the tmp local
Barry Warsaw [Sun, 9 Jul 2000 22:27:10 +0000 (22:27 +0000)]
Exception__str__(): In case 1, be sure to decref the tmp local
variable.  This crushes another memory leak.  Slight rewrite
included.

24 years agoUse TQSQ (triple quoted single quote) module docstring for better
Barry Warsaw [Sun, 9 Jul 2000 21:24:31 +0000 (21:24 +0000)]
Use TQSQ (triple quoted single quote) module docstring for better
font-locking.  This complets the merge with Mailman's version.

24 years ago- changed 1.5 to 2.0 in the help text
Fredrik Lundh [Sun, 9 Jul 2000 20:42:34 +0000 (20:42 +0000)]
- changed 1.5 to 2.0 in the help text
  (the PYTHONHOMEHELP define)

- ANSI-fication
  (patch #100794 by Peter Schneider-Kamp)

24 years ago- ANSI-fication
Fredrik Lundh [Sun, 9 Jul 2000 20:35:15 +0000 (20:35 +0000)]
- ANSI-fication
  (patch #100805 by Peter Schneider-Kamp)

24 years agoUpdate to use the new standard webbrowser module if available, otherwise
Fred Drake [Sun, 9 Jul 2000 19:10:19 +0000 (19:10 +0000)]
Update to use the new standard webbrowser module if available, otherwise
uses the BrowserControl module.

BrowserControl is not removed to allow IDLE to be distributed separately
and still be used with Python 1.5.2.

24 years ago- added popen.popen2/popen3/popen4 support for
Fredrik Lundh [Sun, 9 Jul 2000 17:59:32 +0000 (17:59 +0000)]
- added popen.popen2/popen3/popen4 support for
  windows.

- added optional mode argument to popen2/popen3
  for unix; if the second argument is an integer,
  it's assumed to be the buffer size.

- changed nt.popen2/popen3/popen4 return values
  to match the popen2 module (stdout first, not
  stdin).

24 years ago- added optional bufsize argument to new popen methods.
Fredrik Lundh [Sun, 9 Jul 2000 17:41:01 +0000 (17:41 +0000)]
- added optional bufsize argument to new popen methods.
  for the moment, this argument must be left out or set
  to -1 (only the default bufsize is supported, that is)

24 years ago- merged setlocale and set_locale. the internal setlocale
Fredrik Lundh [Sun, 9 Jul 2000 17:12:58 +0000 (17:12 +0000)]
- merged setlocale and set_locale.  the internal setlocale
  function is overridden by a python version which accepts
  *either* a string (old behaviour) or a locale tuple.

- renamed a few methods (for consistency):

        get_locale => getlocale
        get_default_locale => getdefaultlocale
        set_to_default => resetlocale (!)

- the _locale implementation module can now implement
  an optional _getdefaultlocale function.  if that function
  isn't available, a POSIX-based approach is used (checking
  LANG and other environment variables, as usual).

(patch #100765)

24 years agoNew module to control Web browsers; see the documentation for
Fred Drake [Sun, 9 Jul 2000 16:45:56 +0000 (16:45 +0000)]
New module to control Web browsers; see the documentation for
more information.

24 years agoMake tabnanny happy.
Fred Drake [Sun, 9 Jul 2000 16:44:26 +0000 (16:44 +0000)]
Make tabnanny happy.
mailbox.py: Convert to 4-space indents.

24 years agoneeds a space
Greg Stein [Sun, 9 Jul 2000 16:27:33 +0000 (16:27 +0000)]
needs a space

24 years agoANSI-fication of the sources.
Fred Drake [Sun, 9 Jul 2000 15:48:49 +0000 (15:48 +0000)]
ANSI-fication of the sources.

24 years agoANSI-fication of the sources.
Fred Drake [Sun, 9 Jul 2000 15:16:51 +0000 (15:16 +0000)]
ANSI-fication of the sources.

24 years ago- ANSI-fication
Fredrik Lundh [Sun, 9 Jul 2000 15:14:52 +0000 (15:14 +0000)]
- ANSI-fication
  (patch #100784 by Peter Schneider-Kamp)

24 years ago- ANSI-ification
Fredrik Lundh [Sun, 9 Jul 2000 15:09:56 +0000 (15:09 +0000)]
- ANSI-ification
  (patch #100770 by Peter Schneider-Kamp)

24 years agoDocument addition of webbrowser.py
Andrew M. Kuchling [Sun, 9 Jul 2000 15:05:15 +0000 (15:05 +0000)]
Document addition of webbrowser.py
Mention the ANSIfication of the source.

24 years ago- improved os.popen support for windows, based on win32pipe
Fredrik Lundh [Sun, 9 Jul 2000 14:49:51 +0000 (14:49 +0000)]
- improved os.popen support for windows, based on win32pipe
  by Bill Tutt.

  note: to run this on Windows 95/98, you need to have the
  w9xpopen.exe helper in the same directory as the python DLL.

24 years agoRemove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.
Fred Drake [Sun, 9 Jul 2000 14:39:29 +0000 (14:39 +0000)]
Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.
The actual test for it is only commented out in configure.in, so it can
be re-enabled if we ever run across the need for it again.

24 years agoRemove use of HAVE_OLD_CPP to support non-ANSI preprocessors.
Fred Drake [Sun, 9 Jul 2000 14:36:13 +0000 (14:36 +0000)]
Remove use of HAVE_OLD_CPP to support non-ANSI preprocessors.

24 years agoPatch from Peter Schneider-Kamp: convert curses module to ANSI prototypes,
Andrew M. Kuchling [Sun, 9 Jul 2000 14:35:00 +0000 (14:35 +0000)]
Patch from Peter Schneider-Kamp: convert curses module to ANSI prototypes,
and substitute the conventional "args" instead of "arg".