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
Guido van Rossum
db4a629ba0
Avoid warning from gcc on Linux about dropping const.
1997-05-09 02:17:12 +00:00
Guido van Rossum
16dffdca1a
Fix the NDELAY test; avoid outputting binary garbage.
1997-05-09 02:06:05 +00:00
Guido van Rossum
f518d5e98e
Print less in test_socket.
1997-05-09 01:54:45 +00:00
Guido van Rossum
0add15f6a5
removed last #ifdef SUPPORT_OBSOLETE_ACCESS bits.
1997-05-09 01:07:15 +00:00
Guido van Rossum
c77b921c82
Latest and greatest.
1997-05-09 01:00:56 +00:00
Guido van Rossum
16cd332aab
Add root.tkraise() to the _test() program so the window doesn't hide
...
behind the shell window on NT.
1997-05-09 00:59:43 +00:00
Guido van Rossum
9a0f04d4cd
Get rid of obsolete support for access statement.
1997-05-09 00:58:02 +00:00
Guido van Rossum
6a33de9526
Get rid of obsolete ACCESS_MODE opcode.
1997-05-09 00:39:04 +00:00
Guido van Rossum
1aceb056d6
Add warning that it's out of date.
1997-05-08 23:44:57 +00:00
Guido van Rossum
22822d78db
forgot to rename import_filetab
1997-05-08 23:43:52 +00:00
Guido van Rossum
d0e8436e19
??? maybe window size
1997-05-08 23:39:55 +00:00
Guido van Rossum
881255223d
Added assert statement.
1997-05-08 23:39:31 +00:00
Guido van Rossum
d8f038ec0a
Added assert resword.
1997-05-08 23:39:12 +00:00
Guido van Rossum
4408ed5dcb
Tiny utility prints the latest set of reserved words.
1997-05-08 23:21:48 +00:00
Guido van Rossum
78b21cf47a
Checking in old changes -- no idea why (probably window size).
1997-05-08 23:21:09 +00:00
Guido van Rossum
de554ece41
The usual.
1997-05-08 23:14:57 +00:00
Guido van Rossum
6dd87830d0
Improve getting the mailbox from the environment.
1997-05-08 23:11:52 +00:00
Guido van Rossum
56f78d9e3c
Set correct RFC number.
1997-05-08 23:11:04 +00:00
Guido van Rossum
25107deb9f
Set correct RFC number. Open input in binary.
1997-05-08 23:10:42 +00:00
Guido van Rossum
ee2373b930
Oops, missed some renamings.
1997-05-07 23:51:07 +00:00
Guido van Rossum
6778f257b7
Oops, rename2.h was included by some other headers.
1997-05-07 23:50:40 +00:00
Guido van Rossum
b05a5c7698
Instead of importing graminit.h whenever one of the three grammar 'root'
...
symbols is needed, define these in Python.h with a Py_ prefix.
1997-05-07 17:46:13 +00:00
Guido van Rossum
8813b58ffa
On popular demand, re-enable the readline event hook.
1997-05-07 17:42:41 +00:00
Guido van Rossum
aa948df877
In makesockaddr(), if we don't know the address family, don't raise an
...
exception -- return it as a tuple. Seems useful in promiscuous mode.
1997-05-07 17:41:48 +00:00
Jack Jansen
8b4c98783d
- toolboxmodules built first (others depend on it)
...
- Changed name of fat interpreter to PythonFAT (Python conflicted with toplevel
folder of the same name, unfortunately)
1997-05-07 15:52:12 +00:00
Jack Jansen
c512be0bb2
Sometimes tried to modify a tuple. Fixed.
1997-05-07 15:50:56 +00:00
Jack Jansen
73d203fb43
Version upped to 1.5a1
1997-05-07 15:49:51 +00:00
Jack Jansen
3edc476b12
Included new MSL error numbers
1997-05-07 15:49:38 +00:00