Guido van Rossum
9efe8ef7a1
#Plug small memory leaks in constructors.
1997-09-03 18:19:40 +00:00
Guido van Rossum
c3beda2f27
Plug small leaks: the [de]compress object itself was never freed.
1997-09-03 18:14:30 +00:00
Guido van Rossum
d19c04a88e
Change [_Py_]re_compile_pattern() to return a char*.
...
Since it only returns an error message (or NULL) there's no reason
for it to be unsigned char *, and various compilers like this better.
1997-09-03 00:47:36 +00:00
Guido van Rossum
5ade084902
Mod suggested by Donn Cave -- invoke makexp_aix relative to $0
...
so it doesn't have to be on $PATH.
1997-09-03 00:45:30 +00:00
Guido van Rossum
3f0bff666d
Disable the portable multimedia modules (audioop, imageop, rgbimg) by
...
default since they don't work on 64-bit platforms.
1997-09-03 00:44:14 +00:00
Guido van Rossum
15a40394b0
Fix the bug Jeremy was experiencing: both the close() and the
...
dealloc() functions contained code to free/DECREF the buffer
(there were differences between I and O objects but the logic bug was
the same). Fixed this be setting the buffer pointer to NULL and
testing for that. (This also makes it safe to call close() more than
once.)
XXX Worry: what if you try to read() or write() once the thing is
closed?
1997-09-03 00:09:26 +00:00
Guido van Rossum
7922bd7382
Added -X option to suppress default import of site.py. Also split the
...
usage message in *three* parts under 510 bytes, for low-end ANSI
compatibility.
1997-08-29 22:34:47 +00:00
Barry Warsaw
83b6709d8e
Swap the sense of the -X option vis-a-vis Py_UseClassExceptionsFlag so
...
that class based exceptions are enabled by default. -X disables them
in favor of the old-style string exceptions.
1997-08-29 22:20:16 +00:00
Barry Warsaw
f488af3360
Parse new command line option -X which enables exception classes.
1997-08-29 21:57:49 +00:00
Guido van Rossum
c1f088201f
Added (binaryfunc) casts to function pointers in method lists.
1997-08-28 21:21:22 +00:00
Guido van Rossum
24a49941b3
Some long variables should have been int to match the 'i' format specifier.
1997-08-28 18:11:05 +00:00
Guido van Rossum
e20aef574a
Ignore whitespace between formats (not internal to a count+format).
1997-08-26 20:39:54 +00:00
Guido van Rossum
d14c06819e
Add unsupported variable EXE which can be set to .exe on systems where
...
the executable must have that suffix. Note that there is no
corresponding support in the top-level Makefile because I'm not sure
that the install targets there make sense under these circumstances.
1997-08-22 20:53:47 +00:00
Guido van Rossum
1171ee6aaf
Added configuration tests for presence of alarm(), pause(), and getpwent()
1997-08-22 20:42:00 +00:00
Barry Warsaw
779133c707
Removed JF's dollar-Log-dollar RCS turd that caused compilation to
...
crash due to GvR's last check in message :-). Will try to convince JF
to remove all this evilness.
1997-08-21 22:36:26 +00:00
Guido van Rossum
d7a7100c99
Remove redundant decl for PyOS_InputHook.
1997-08-21 17:26:04 +00:00
Guido van Rossum
c6ef204830
Added /**/ around #end tags
1997-08-21 02:30:45 +00:00
Guido van Rossum
bae6523a75
Must remove conflicting files from archive
...
*before* adding signalmodule.o, because some ar programs
are too smart for us...
1997-08-21 02:30:20 +00:00
Guido van Rossum
6b9fdf529a
Globally renamed join() to joinpath() to avoid compilation error on Cray.
1997-08-20 23:48:16 +00:00
Guido van Rossum
725d941f0f
Renamed strndup to pystrndup, to avoid conflicting prototype
...
in GNU libc on some platforms.
1997-08-20 23:38:57 +00:00
Guido van Rossum
4f46fc6d57
When we have signalmodule.o, remove intrcheck.o as well as sigcheck.o.
1997-08-20 22:45:52 +00:00
Guido van Rossum
5b02078e31
Alas, the thread support for Tk didn't work. Withdraw it, until I
...
figure out how to do this right.
1997-08-19 01:00:50 +00:00
Guido van Rossum
25f93036bb
Moved inclusion of PURIFY in LINKCC to configure
1997-08-18 16:00:04 +00:00
Guido van Rossum
ed2554a396
Casts by Jack to shut up the Mac compiler.
1997-08-18 15:31:24 +00:00
Guido van Rossum
bad3c013d2
DeleteTimerHandler was accidentally #ifdef'ed out for macintosh with
...
Tk 8.0; this was a mistake.
1997-08-18 15:28:52 +00:00
Guido van Rossum
79fa8b0abe
When making all, don't make sharedmods. That's now called separately
...
from the toplevel Makefile. (For AIX, but doesn't hurt elsewhere.)
1997-08-18 14:23:13 +00:00
Guido van Rossum
57e846f803
Use a trick to make the test for GMP v2 to work when GMP v1 defines
...
__GNU_MP__ as empty: #if __GNU_MP__ + 0 == 2
(Untested.)
1997-08-17 19:08:33 +00:00
Guido van Rossum
607b33a1fe
Different strategy regarding whether to declare getrusage() and
...
getpagesize() -- #ifdef doesn't work, Linux has conflicting decls in
its headers. Choice: only declare the return type, not the argument
prototype, and not on Linux.
1997-08-17 16:24:30 +00:00
Guido van Rossum
53665e571f
Last minute changes for \B. AMK.
1997-08-15 15:45:25 +00:00
Guido van Rossum
7c14103d77
Keep gcc -Wall happy
1997-08-15 02:52:08 +00:00
Guido van Rossum
f84a539d38
Added std copyright notice.
1997-08-15 00:04:24 +00:00
Guido van Rossum
f1c018de87
Fixed refcount bug (thank you, Purify and AMK).
1997-08-14 21:19:13 +00:00
Jeremy Hylton
644c17d2af
Several bug fixes.
...
-- initialize length to DEFAULTALLOC and not 0
-- resize string before returning (to remove '\000' padding)
Also converted some compression routines to use PyString instead of
buffer.
1997-08-14 21:06:42 +00:00
Guido van Rossum
6d8841c079
Added a bunch of XXX comments about things I'd like to see changed...
1997-08-14 19:57:39 +00:00
Guido van Rossum
0d2390c549
Merge Mac and Windows mods (which mostly affect the same problem -- no
...
usable createfilehandler). Define HAVE_CREATEFILEHANDLER to test
later. Also other Mac specific patches by Jack.
1997-08-14 19:57:07 +00:00
Guido van Rossum
0318bd6ae6
Use _Py_re_match/search instead of re_match/search; these may become
...
different in a future version.
1997-08-14 14:35:12 +00:00
Jeremy Hylton
41b9f00e8f
Many changes.
...
Change default alloc size for uncompressing to 16K.
Remove comment about core dumps when an invalid window sizes is used.
This bug has been fixed in zlib 1.0.4.
Two new optional arguments to decompress, wbits and bufsize. wbits
specifies the window size and bufsize specifies the initial output
string size.
In decompression code -- decompress and decompressobj methods -- use a
Python string (and _PyString_Resize) to collect the uncompressed
stream. Replaces a separate buffer that was copied into a string.
Fix bug in decompress that caused it to always realloc the buffer when
it was finished decompressing.
Modernized handling of optional arguments to compressobj.
Updated doc strings.
1997-08-13 23:19:55 +00:00
Guido van Rossum
95e8053a9f
1.5a3 prerelease 1 from AMK
1997-08-13 22:34:14 +00:00
Jeremy Hylton
a74ef66ac8
Must update the available space in the output buffer after
...
realloc. (Fixed in PyZlib_unflush.)
1997-08-13 21:39:18 +00:00
Guido van Rossum
abed54ab4a
Fix bug with \< (AMK).
1997-08-13 16:35:04 +00:00
Guido van Rossum
c24f038464
Changes by AMK:
...
Removed handling of \e, \cX escapes, following a string-SIG discussion.
Fixed minor typos in re.py
re.error is now set equal to reop.error.
Move definition of constants like NORMAL and CHARCLASS into reop, which
exports them; re.py was changed to import them from reop.
Added C equivalents of _expand and expand_escape to reop, and changed
re.py to use them.
1997-08-13 03:24:53 +00:00
Guido van Rossum
52d6832554
Add syntax for hex,octal
1997-08-13 03:21:14 +00:00
Guido van Rossum
142eeb8339
cPickle release 0.3 from Jim Fulton
1997-08-13 03:14:41 +00:00
Guido van Rossum
7242905385
Megapatch for IRIX 6 by Sjoerd.
1997-08-12 14:58:54 +00:00
Guido van Rossum
de4a4ca2dd
Added buffer_info() method that returns address and length in bytes of
...
the buffer used to hold the array -- for dangerous low-level I/O.
1997-08-12 14:55:56 +00:00
Guido van Rossum
44620646fd
Renamed Py_input_hook to PyOS_InputHook.
...
Also cleaned out some CR's left by the VC++ editor.
1997-08-11 18:57:29 +00:00
Guido van Rossum
98d9d09090
Added O_BINARY and O_TEXT (for Windows).
1997-08-08 21:48:51 +00:00
Guido van Rossum
02c0467f67
Rather unsatisfactory temporary hack to get it to run
...
under WIN32 -- remove file handler interface, don't use Py_input_hook.
1997-08-07 00:12:22 +00:00
Guido van Rossum
fb84255e67
New version of Vladimir Marangozov's AIX hacks -- simpler etc.
1997-08-06 23:42:07 +00:00
Guido van Rossum
9b5dbedf43
Attempt to import readline at interactive startup.
1997-08-05 21:34:14 +00:00
Guido van Rossum
0969d36275
New mechanism for GNU readline interface, via module
1997-08-05 21:27:50 +00:00
Guido van Rossum
7f400be210
Add pointer to new BSDDB module.
1997-08-05 02:25:24 +00:00
Guido van Rossum
668e441a86
purported linux portability patch (Oliver Andrich)
1997-08-05 02:24:57 +00:00
Guido van Rossum
5d1770ee24
Py_Cleanup() is now Py_Finalize().
1997-08-05 02:23:48 +00:00
Guido van Rossum
5c159bd855
Plug memory leak (DECREF doc string properly after inserting in dict).
1997-08-04 23:55:25 +00:00
Guido van Rossum
b02158efa3
Oops, one more checkin. Use the new tstate/interp interface.
1997-08-02 03:13:11 +00:00
Guido van Rossum
08c166152e
Add finialization routines; fixed some memory leaks related to this.
...
Reset the SIGINT handler when the finalization is invoked.
1997-08-02 03:01:42 +00:00
Guido van Rossum
05f7c50bfd
Free the malloc'ed buffer that holds the command once we're done with it.
...
Instead of calling Py_Exit(sts), call Py_Cleanup() and return sts.
1997-08-02 03:00:42 +00:00
Guido van Rossum
d0924f4585
Add a simple way to enable purify; now you can set the Make variable
...
PURIFY (e.g. in the Setup file or on the make command line) to point
to the purify command, to run purify.
1997-08-02 02:06:20 +00:00
Guido van Rossum
35d43377b4
Functionality enhancement: allow other threads to use Tk commands
...
while one thread is blocked in mainloop(). Also, handle signals (not
just interrupts) as soon as they happen.
Cleanup: remove support for Tcl/Tk versions 7.4/4.0. (I've confirmed
that it works for 7.5/4.1 and 7.6/4.2, as well as 8.0b2.)
Coding style change: instead of ``func (args)'', write ``func(args)''
everywhere.
Minor functionality change: use PyArg_ParseTuple everywhere. This
should only affect the errors reported for bad argument lists; in
particular, deletefilehandler() is much clearer about what's going
on.
(XXX Still to do: Mac and Win ports to 8.0b2.)
1997-08-02 00:09:09 +00:00
Guido van Rossum
3e819a7aa8
Compatibility with Tcl/Tk 8.0b*.
1997-08-01 19:29:02 +00:00
Guido van Rossum
f4e32c729b
Add definitions for symbolic constants LOCK_{EX,NB,SH,UN}.
1997-07-31 19:39:54 +00:00
Guido van Rossum
5ec8e4b5ff
Moved the special compile of getbuildno.o to ../Makefile.in.
...
A dummy getbuildno.o (with a number of 0) still gets built here,
to make the library complete.
1997-07-25 22:35:24 +00:00
Guido van Rossum
496f8f632b
Removed remaining support for Tk versions below 4.0.
1997-07-19 19:57:42 +00:00
Guido van Rossum
4c125700d1
Adapted to new build procedure (hopefully correct -- can't test it!).
1997-07-19 19:54:25 +00:00
Guido van Rossum
534ac094f9
Removed a bunch of extern declarations of functions that are now
...
properly declared in Python.h.
1997-07-19 19:51:43 +00:00
Guido van Rossum
f6ca6aa869
New build procedure.
1997-07-19 19:39:57 +00:00
Guido van Rossum
4c04be64b3
This is now the "real" main program -- it calls Py_Main(argc, argv)
...
which is in the library and does all the work.
1997-07-19 19:25:33 +00:00
Guido van Rossum
ed52aacb33
This is no longer the real main program; it now defines Py_Main(), so
...
it can be placed in the library.
Other, related changes:
- Moved the inspection of some environment variables to
Py_Initialize().
- Got rid of -s option.
- Moved Py_GetProgramName() and related logic to pythonrun.c; call
Py_SetProgramName() instead.
- Print the version header *after* successful initialization.
1997-07-19 19:20:32 +00:00
Guido van Rossum
75aa0d6abe
Use the new functions PyEval_AcquireThread() and
...
PyEval_ReleaseThread() (in ceval.c) to set/reset the current thread,
and at the same time acquire/release the interpreter lock.
Much saner.
1997-07-18 23:57:50 +00:00
Guido van Rossum
77eecfa94d
Patches by AMK to check that the db is still open.
1997-07-17 22:56:01 +00:00
Guido van Rossum
b8ad024a4e
Add 'return' keyword before error calls.
1997-07-17 22:55:06 +00:00
Guido van Rossum
74fb303997
Jeffrey's latests
1997-07-17 22:41:38 +00:00
Guido van Rossum
04a1d74229
Jeffrey's newest
1997-07-15 14:38:13 +00:00
Guido van Rossum
faf490898d
Reformatted.
...
Fixed some problem with uninitialized syntax tables.
Jeffrey.
1997-07-15 01:47:08 +00:00
Guido van Rossum
007c80e5b7
Added reop (moved reop and regex to non-shared section).
...
Added -I$(DBPORT) for bsddb compilation line.
1997-07-11 18:40:46 +00:00
Guido van Rossum
1243ae7f07
Allow '@' character as end of line padding in uuencode format.
...
Not sure why this is generated, but this fixes a problem with a
particular file that was received with the following final line:
F-WE<-*A5]AY]%7>8'&!!(_Y<F*55_"*%46"<OFG=>_5(F/\'``!@
1997-07-11 18:36:28 +00:00
Guido van Rossum
63e18195b8
New version from Jeffrey after I complained about some glaring bugs.
1997-07-11 11:08:38 +00:00
Guido van Rossum
db25f32849
New versions straight from Jeffrey Ollie's web site
1997-07-10 14:31:32 +00:00
Barry Warsaw
3b1c89e244
MACDEPPATH: Remove `sharedmodules' from default value of this variable
...
since calculate_path() in getpath.c will automatically add this.
Including this here will put the sharedmodules directory on sys.path
twice.
1997-06-13 22:03:23 +00:00
Guido van Rossum
295b8e5608
Add sys/types.h include for pid_t when threading.
1997-06-06 21:16:41 +00:00
Roger E. Masse
0318fd6050
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
...
so that MSVC 4.2 doesn't complain under NT.
1997-06-05 22:07:58 +00:00
Guido van Rossum
97b5457467
Small changes (casts etc.) by Jack, for Mac compilation.
1997-06-03 22:21:47 +00:00
Guido van Rossum
3c540307af
Doc strings (AMK).
1997-06-03 22:21:03 +00:00
Guido van Rossum
ec4f4ac8c0
Added doc strings (Neil Schemenauer).
1997-06-02 22:20:51 +00:00
Guido van Rossum
21f8497a46
Use string.h, not strings.h
1997-06-02 22:18:31 +00:00
Guido van Rossum
91ba64ddd9
socket_type -> SocketType
1997-06-02 22:18:09 +00:00
Guido van Rossum
24995b99e1
array_type -> ArrayType
1997-06-02 22:17:49 +00:00
Guido van Rossum
290283bb39
Mac hack to make select() work again...
1997-06-02 22:16:43 +00:00
Fred Drake
69b9ae4e0b
Add doc string to type object.
1997-05-23 04:04:17 +00:00
Guido van Rossum
c8b6df9004
PyObject_Compare can raise an exception now.
1997-05-23 00:06:51 +00:00
Guido van Rossum
0b82fe773f
Partial(?) 64bit patch (AMK).
1997-05-22 20:24:07 +00:00
Guido van Rossum
b9f866cb7c
Enable putenv and waitpid (== wait4) for NeXT.
1997-05-22 15:12:39 +00:00
Guido van Rossum
b6190d35fc
Defined array.array_type, the type object.
1997-05-22 14:56:36 +00:00
Guido van Rossum
3b4b6fc602
Add socket.socket_type, as discussed on c.l.p.
1997-05-21 14:37:37 +00:00
Guido van Rossum
49bff65deb
Include config.h so it can define const away for K&R.
1997-05-20 22:40:26 +00:00
Guido van Rossum
7929c6fe95
Make delimiter and separator static for K&R C.
1997-05-20 22:38:21 +00:00
Guido van Rossum
b24c9ea514
fixed ratecv to continue working if product of rates is bigger than 32 bits
...
(Sjoerd)
1997-05-20 15:59:35 +00:00
Guido van Rossum
511f16357c
Removed MetroWerks workaround, replaced by defines in mymath.h (Jack)
1997-05-20 15:59:04 +00:00
Guido van Rossum
19a6c8acb8
workaround for Mac MSL header definitions of TRUE and FALSE (Jack)
1997-05-20 15:58:36 +00:00
Guido van Rossum
fe4dfc7ce3
Add platform to welcome message.
1997-05-19 18:33:01 +00:00
Guido van Rossum
5a37d7d150
Renamed strndup to my_strndup to avoid conflict witth GNU libc.
1997-05-16 16:36:52 +00:00
Guido van Rossum
1a747f894a
Address the following problem on DOS and Win 3.1, reported by Jim
...
Ahlstrom:
Arraymodule.c has static functions H_getitem and h_getitem, and a
few others which differ only in case. These are a problem on
Windows 3.1, since a case-sensitive link causes Winsock to fail
(hey, it's not my fault). Please convert H_etc to HH_etc etc.
1997-05-16 16:21:38 +00:00
Guido van Rossum
fe28fa05e9
Remove the last three uses of PyArg_GetInt() from the source.
1997-05-15 19:09:26 +00:00
Guido van Rossum
1cbdfb9187
Add sections for PIL (Fred Lundh).
1997-05-14 19:22:11 +00:00
Guido van Rossum
fc4f503762
Fix showstopping bug (^ wouldn't match after \n). Jeffrey Ollie.
1997-05-14 18:27:51 +00:00
Guido van Rossum
34570d7669
A new set of symbols. Hopefully this will be sufficient, I have no
...
idea how this is used, really.
1997-05-14 17:59:37 +00:00
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
7d3246d0e4
Keep gcc -Wall happy.
1997-05-13 19:19:41 +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
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
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
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
db4a629ba0
Avoid warning from gcc on Linux about dropping const.
1997-05-09 02:17:12 +00:00
Guido van Rossum
ee2373b930
Oops, missed some renamings.
1997-05-07 23:51:07 +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
Guido van Rossum
fdf95dd525
Checkin of Jack's buffer mods.
...
Not really checked, but didn't fail any tests either...
1997-05-05 22:15:02 +00:00
Guido van Rossum
a027efa5bf
Massive changes for separate thread state management.
...
All per-thread globals are moved into a struct which is manipulated
separately.
1997-05-05 20:56:21 +00:00
Guido van Rossum
d3d6f8ffad
Add -lgl and -lm for imgfile. Better way to configure zlib.
1997-05-05 20:48:00 +00:00
Guido van Rossum
03ef647847
Add PYTHONHOME to the usage message.
1997-04-30 19:48:59 +00:00
Guido van Rossum
ebde385fc0
One copy is enough; we already had resource.c.
1997-04-30 19:43:15 +00:00
Guido van Rossum
1ed5e57684
Keep gcc -Wall happy.
1997-04-29 21:34:16 +00:00
Guido van Rossum
87490eb3b0
Renamed inittab.
1997-04-29 20:31:59 +00:00
Guido van Rossum
e2b4f0906d
Track updates in rename2.h.
1997-04-29 16:27:09 +00:00
Guido van Rossum
8105821bf5
Added -I$(srcdir) to line for glmodule so we can move cgensupport.h here.
1997-04-29 16:07:45 +00:00
Guido van Rossum
ba9d7c5612
Change the exception objects to have the string value "os.error"
...
instead "posix.error" or "nt.error".
1997-04-29 15:49:54 +00:00
Guido van Rossum
8ec9e639ab
Adapt Mac specific code to new universal headers (I think -- this is
...
Jack's code).
1997-04-29 15:49:04 +00:00
Guido van Rossum
dfed920e51
Hm. What was previously checked in was the edited *output* of the old
...
cgen.py. Now that cgen.py and cstubs have been quickly renamed, check
in the actual output. This has some "old-style" names left in
(getilongarg etc.) but these are now take care of by macros in
cgensupport.h (which is now specific to glmodule.c).
1997-04-29 15:46:43 +00:00
Guido van Rossum
3837de00a9
Moved here from ../Python and quickly renamed.
1997-04-29 15:43:55 +00:00
Guido van Rossum
4f1099fcf4
Added cgensupport.o.
1997-04-29 15:41:53 +00:00
Guido van Rossum
7fa3b75f28
Added cgensupport.c to Setup line for gl module.
...
Addeed Andrew Kuchling's zlib module.
1997-04-29 15:41:26 +00:00
Guido van Rossum
9e3a812306
Added Jeremy's resource module.
1997-04-29 15:39:45 +00:00
Guido van Rossum
0a3eaf0838
Quickly renamed.
1997-04-29 15:39:28 +00:00
Guido van Rossum
fb221562a3
Added Andrew Kuchling's zlib module.
1997-04-29 15:38:09 +00:00
Guido van Rossum
1818b7702b
Moved rename2's macros relevant to this module here and added comment
...
about the file's obsolescence.
1997-04-29 15:35:28 +00:00
Guido van Rossum
b31c7dcb43
OK, I lied. On Windows, _IOLBF seems to be the same as full
...
buffering, so to get the normal behavior back, I set it to
unbuffered.
1997-04-11 22:19:12 +00:00
Guido van Rossum
2a212191f8
Change in when and how stdin and stdout are set to line-buffering.
...
This used to be done whenever stdin was interactive. Now we only do
it when the -i flag is given. Also (and this is the real reason for
this fix) we explicitly allocate a buffer -- this seems to be
necessary on Windows.
1997-04-11 21:57:53 +00:00
Guido van Rossum
7844e38a98
Keep Microsoft VC happy.
1997-04-11 20:44:04 +00:00
Guido van Rossum
6bf62dad9e
Keep gcc -Wall and Microsoft VC happy.
1997-04-11 20:37:35 +00:00
Barry Warsaw
90126035ca
Removed two unused static function: string_addsep() and
...
string_append(). These must be artifacts of GvR's rewrite.
Fixed some typos in the leading comment (and re-filled the
paragraphs).
Hope you don't mind, Guido.
1997-04-11 20:27:03 +00:00
Guido van Rossum
3dc35b0c66
My own patch: support writable 'softspace' attribute.
1997-04-11 19:56:06 +00:00
Guido van Rossum
fd16d9438d
(Jack:) fopen arg typo (?) "rw" changed to "rb".
1997-04-11 19:12:20 +00:00
Guido van Rossum
fb421c82a9
(Jack:) Mac only: get GUSI errno.h values too.
1997-04-11 19:11:25 +00:00
Guido van Rossum
3d82972b85
Remove the Emacs shell-script line. It's not a shell script.
1997-04-11 18:42:45 +00:00
Guido van Rossum
97227814a9
The default path components are now all relative instead of absolute paths.
...
This completes the getpath.c checkin. Note that to enable this in an
existing build tree, you'll have to edit your Setup and Setup.in file
to remove the $(DESTLIB) from all the PATH variable definitions.
1997-04-11 17:19:54 +00:00