Commit Graph

5610 Commits

Author SHA1 Message Date
Guido van Rossum 445efa9602 Add a cast to a malloc to shut up the DEC Unix compiler. 1997-05-14 15:30:32 +00:00
Guido van Rossum 2ec9031b55 Subsumed mappingobject.h in dictobject.h. 1997-05-13 21:23:32 +00:00
Guido van Rossum 9637432265 Renamed mappingobject.c to dictobject.c. 1997-05-13 21:05:38 +00:00
Guido van Rossum e4766f69bc The usual 1997-05-13 21:04:26 +00:00
Guido van Rossum a9e7a81137 Renamed from mappingobject.c to dictobject.c.
(Sorry Jack, all your projects will have to be changed again. :-( )
1997-05-13 21:02:11 +00:00
Guido van Rossum 93ad0df06c Faster floating point allocator, same idea as the int allocator.
By Aaron Watters.
1997-05-13 21:00:42 +00:00
Guido van Rossum 0609f191bc A completely new Rat.py by Sjoerd. 1997-05-13 19:25:57 +00:00
Guido van Rossum e0332c7173 Longer default PYTHONPATH will find test, tkinter, and shared modules
in the build tree, when the current directory is the build tree root.
1997-05-13 19:21:22 +00:00
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
cvs2svn 5878b662de This commit was manufactured by cvs2svn to create tag 'r15a1'. 1997-05-09 03:21:44 +00:00
Guido van Rossum d0f2372cb9 Modernized for 1.5 1997-05-09 03:21:44 +00:00
Guido van Rossum 6a9ee0eeaf New heros. 1997-05-09 03:21:12 +00:00
Guido van Rossum 29f6533c7f Scroll to top of info window when done. 1997-05-09 03:19:29 +00:00
Guido van Rossum ff2ea728b8 Oops -- missed FloatingPointError. 1997-05-09 03:05:16 +00:00
Guido van Rossum b6a7f77c9f Oops -- missed FloatingPointError in renaming. 1997-05-09 03:03:23 +00:00
Guido van Rossum 7f25391e11 The usual. 1997-05-09 02:42:48 +00:00
Guido van Rossum 9327422093 Added --with-fpectl. Change checks for -lm, -lc. 1997-05-09 02:42:00 +00:00
Guido van Rossum 7a24c37444 Move WANT_SIGFPE_HANDLER. 1997-05-09 02:41:10 +00:00
Guido van Rossum f4eb63ef9a Add HAVE_PTHREAD_H; move WANT_SIGFPE_HANDLER. 1997-05-09 02:40:44 +00:00
Guido van Rossum 33fde57300 1.5a1 adaptations. 1997-05-09 02:40:09 +00:00
Guido van Rossum 004c1e1d07 Latest from Jeffrey Ollie.
Infinite failure stack, some bugs fixed (fastmap, star_jump, register bug).
1997-05-09 02:35:58 +00:00
Guido van Rossum 1681429ba8 Fix the date. 1997-05-09 02:25:55 +00:00
Guido van Rossum 51a6c9055c Added docs for dumbdbm (AMK), and misc small fixes. 1997-05-09 02:23:45 +00:00
Guido van Rossum 7e691de948 Document return value of wait[pid]() more carefully.
Document how to get exit status of a popen() command.
1997-05-09 02:22:59 +00:00
Guido van Rossum e4f347e779 Document "" and "<broadcast>". 1997-05-09 02:21:51 +00:00
Guido van Rossum 57c30f6f37 Regenerated on a newer Linux version. 1997-05-09 02:21:06 +00:00