Commit Graph

5502 Commits

Author SHA1 Message Date
Guido van Rossum
df4549ec5d Remove a spurious ^M. 1997-05-13 19:20:18 +00:00
Guido van Rossum
7d3246d0e4 Keep gcc -Wall happy. 1997-05-13 19:19:41 +00:00
Guido van Rossum
ad16471b27 Untested changes by Skip Montanaro to have an optional limit on the
size of uploads to POST (new version of these patches).
1997-05-13 19:03:23 +00:00
Guido van Rossum
de8d6d73fb Use compile-time test for 64-bit hardware instead of run-time test.
This silences some compilers.
1997-05-13 18:00:44 +00:00
Guido van Rossum
c5d14a65a7 Added $(srcdir)/ prefix to python.exp for AIX.
No idea if this actually works...
1997-05-13 17:59:29 +00:00
Guido van Rossum
054b3a2cd3 TESTPATH is no longer needed 1997-05-13 17:58:16 +00:00
Guido van Rossum
2ef21efad3 Removed symbols that are no longer defined.
Still have to find a way to add symbols that *are* defined...
1997-05-13 17:56:38 +00:00
Guido van Rossum
4917d93ca9 Keep picky compilers happy. 1997-05-13 17:53:34 +00:00
Guido van Rossum
d6353e2c0e Support for various versions of the pthread draft. 1997-05-13 17:51:13 +00:00
Guido van Rossum
5f15b96c36 (int) cast for strlen() to keep picky compilers happy. 1997-05-13 17:50:01 +00:00
Guido van Rossum
725a67e5c2 Regenerated on newer Solaris version 1997-05-13 17:45:56 +00:00
Guido van Rossum
f0ee937900 Removed out-of-date TODO file 1997-05-13 17:03:52 +00:00
Jack Jansen
af647ddc52 Use ProgressBar to show progress in stead of print 1997-05-13 15:42:26 +00:00
Jack Jansen
450ae9f352 Don't free the MacOS_Splash() dialog twice... 1997-05-13 15:41:48 +00:00
Jack Jansen
48c5527c78 Add a few more BringToFont calls 1997-05-13 15:41:07 +00:00
Jack Jansen
79b5bb488e Export a few more New/Convert routines, on Just's request 1997-05-13 11:28:03 +00:00
Jack Jansen
141f9a0f8a Regenrated from CW11 IDE 1997-05-13 11:27:19 +00:00
Guido van Rossum
0e351f34c5 Finally found a wat to set a file nonblocking that works on Irix,
Solaris and Linux: use os.O_NONBLOCK.
1997-05-12 22:15:52 +00:00
Guido van Rossum
d77636216c Another change suggested by Donn Cave -- forget "step 5", which
searches /usr/local, /usr and /.
1997-05-12 20:53:23 +00:00
Guido van Rossum
573a24a4f7 Fix problem reported by Donn Cave: if VPATH is an absolute path, it
would always be a hit.   Prevent this by only using VPATH if we know
we are in the build directory.
1997-05-12 20:49:39 +00:00
Guido van Rossum
4a807f5939 Fix big ineficciency in regobj.search/match (introduced by Barry in an
otherwise laudible attempt to rationalize the argument parsing): it
would save a copy of the original string instead of a reference to it.
Go back to saving a reference, but keep the "s#" format (using a hack
that involves two argument parsing steps, first using "O", then using
"s#").
1997-05-12 16:04:09 +00:00
Jack Jansen
1d63d8c829 Fixes to progress bar by SDM, modified by Jack:
- Window has a titlebar, and title() changes it
- The label is changed with label()
- The window is now movable-modal
- Cancel is now called Stop, and works.
1997-05-12 15:44:14 +00:00
Guido van Rossum
789a1613a0 Add optional 'sizehint' argument to readlines(). After approximately
this many bytes have been read, readlines stops.  Because of
buffering, the amount of bytes read is usually at least 8K more than
the hint.

Also changed read() and readline() to use PyArg_ParseTuple().

(Note that the *previous* checkin also fixed error handling and
narrowed the range of thread unblocking for all methods using
fread().)
1997-05-10 22:33:55 +00:00
Guido van Rossum
6263d5451c Rewrite readlines() to speed it up -- about a factor of 2 on my
Indigo2, reading a 9Meg file from the local disk.
1997-05-10 22:07:25 +00:00
Guido van Rossum
5449b6e123 Speed up read() (i.e. read till EOF) considerably by doing a stat() to
see if we can guess the #bytes until the end of the file.  If we
can't, increment the buffer size increments up to 0.5Meg to avoid
realloc'ing too much.
1997-05-09 22:27:31 +00:00