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
Guido van Rossum
305e5d0d4f
Completely revamped the way the default path is constructed.
...
Idea and first three implementation rounds due to Barry -- after that
I spent another day on it, hopefully it's enough for now :-)
(Wait for the checkin to Setup.in.)
1997-04-11 17:18:45 +00:00
Guido van Rossum
ec61b77216
Pass VERSION and VPATH into getpath.c.
1997-04-11 17:04:49 +00:00
Guido van Rossum
1e0b19e9e4
Bugfix by Sjoerd:
...
/* x_ocount is in bytes, wheras play.samples is in frames */
/* we want frames */
1997-04-11 15:23:52 +00:00
Guido van Rossum
644a12b00c
Tweaks to keep the Microsoft compiler quier.
1997-04-09 19:24:53 +00:00
Guido van Rossum
d385d59c09
Give PyErr_Format a new name and make it static.
1997-04-09 17:47:47 +00:00
Guido van Rossum
60456fdcfe
Jim Fulton's version 2.2.
1997-04-09 17:36:32 +00:00
Guido van Rossum
154417e27b
Unknown changes by Jim Fulton.
1997-04-09 17:35:33 +00:00
Guido van Rossum
d641d67b89
New version by Sjoerd, with support for IRIX 6 audio library.
1997-04-03 17:06:32 +00:00
Guido van Rossum
101923bba6
Added replace() implementation by Perry Stoll (debugged and reformatted by me).
1997-04-02 06:11:18 +00:00
Guido van Rossum
3917c22125
Win32 precision clock() -- Mark Hammond.
1997-04-02 05:35:28 +00:00
Guido van Rossum
9bf8445541
Support include statement :-(
1997-04-02 05:33:00 +00:00
Guido van Rossum
925e547fcc
Support assert stmt.
1997-04-02 05:32:13 +00:00
Guido van Rossum
9199f62aa1
remove ConflictError
1997-03-31 17:19:05 +00:00
Roger E. Masse
e5a9c8fa31
As per GvR recomendation, added support for a 'sync' attribute for the
...
GDBM module.
1997-03-25 17:39:56 +00:00
Guido van Rossum
45b83915f8
New form of PyFPE_END_PROTECT macro.
1997-03-14 04:32:50 +00:00
Guido van Rossum
1aeb1047ba
Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.
1997-03-14 04:32:25 +00:00
Guido van Rossum
7b7c578616
Add optional 4th argument to [r]find and [r]index (end of slice).
1997-03-14 04:13:56 +00:00
Guido van Rossum
159b77fd5e
Add Emacs shell-script directive, SunPro version#, and fix typo
1997-03-04 23:44:15 +00:00
Guido van Rossum
53bb550a5f
Solaris and IRIX specific instructions for fpectl.
1997-03-04 23:36:04 +00:00
Guido van Rossum
7614da6b87
Add -O option which sets Py_OptimizeFlag to avoid emitting SET_LINENO.
...
Fred: sorry, I hadn't checked these changes in. This should fix your
tracebacks!
1997-03-03 19:14:45 +00:00
Guido van Rossum
5680906cdb
Change all three fopen calls to use binary mode.
1997-02-21 15:19:03 +00:00
Guido van Rossum
05bc4af47d
Lee's next version. Careful: this now dumps core for me on SGI IRIX 5.3.
...
Lee is wondering whether to withdraw his patchs. Sigh.
1997-02-21 01:22:47 +00:00
Barry Warsaw
909d7c3284
regex_get_syntax(): New module function exported to Python.
1997-02-18 18:48:50 +00:00
Guido van Rossum
10efb05d51
Add fpectl and fpetest modules.
1997-02-14 23:03:31 +00:00
Guido van Rossum
52fa3a6909
Changes for Lee Busby's SIGFPE patch set.
...
Two new modules fpectl and fpetest.
Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
1997-02-14 22:59:58 +00:00
Guido van Rossum
129e91aa77
Add parentheses around && within || as gcc -Wall advises.
1997-02-14 21:00:50 +00:00
Guido van Rossum
775af91911
My version of Lee Busby's patches to make '-i' pretend stdin is a tty
...
even if it isn't. Changes:
- set the global flag Py_InteractiveFlag when -i is given
- call Py_FdIsInteractive() instead of isatty()
- make stdin unbuffered, too, when using -u
- make stdin and stdout line buffered, when stdin is interactive and not -u
Note that setting the environment variable PYTHONINSPECT does not have
these extra effects of -i. (Should it?)
Unlike Lee's changes, I don't set change the prompt to go to stderr
when -i is given.
1997-02-14 19:50:32 +00:00
Guido van Rossum
babacb0369
Added .cxx and .cpp to extensions recognized as source files.
1997-02-14 16:44:04 +00:00
Guido van Rossum
c1cc8ab1a4
djgpp fix (SIGMAX).
1997-02-14 16:35:36 +00:00
Guido van Rossum
a78bfe1985
Issue a more meaningful error if strftime keeps returning a NULL pointer.
...
Run the loop up to and including 8k.
1997-02-14 16:35:10 +00:00
Guido van Rossum
1851a67695
Changes by Sjoerd (reformatted).
...
add(): better handling of overflow (substitute maxval instead of
throwing away higher order bits).
ratecv(): some bugfixes, Sjoerd says.
1997-02-14 16:14:03 +00:00
Barry Warsaw
5ed19dcc0e
posix_execve(): Accept any mapping protocol object for the env
...
argument, not hardwired to a dictionary.
1997-01-29 15:08:24 +00:00
Guido van Rossum
47110d7f44
Change bsddbmodule.o -> bsddbmodule.c.
1997-01-28 02:21:56 +00:00
Guido van Rossum
bd5f193ee5
Added LDLAST variable, substituted by configure script, for the final
...
argument to the linker (required for DEC Alpha threads).
1997-01-28 02:21:24 +00:00
Guido van Rossum
463e55a916
Two more arguments to newcodeobject -- first lineno and lineno table.
1997-01-24 03:58:52 +00:00
Guido van Rossum
f2b2dac5eb
Initialize the ob_type field of PyAST_Type dynamically (in
...
initparser()) instead of statically (in the initializer). The static
initialization, using the address of an object in a different DLL, is
too much for the Microsoft VC++ compiler, and we want to be able to
build this module as a separate DLL (it's nice to have but we don't
want to increase the core DLL's size by 25K). This same trick has
been applied to a number of modules, e.g. NumPy and _tkinter.
1997-01-23 23:29:44 +00:00
Guido van Rossum
f631d13ac7
Bump install version to 1.5.
1997-01-22 03:45:38 +00:00
Guido van Rossum
fcdd0e40a4
Arrange for PyErr_CheckSignals() to be called via Py_AddPendingCall().
...
This avoids having to call sigcheck() (the same routine by its old
name :-) in the ticker code in ceval.c's main interpreter loop.
1997-01-21 06:13:09 +00:00
Guido van Rossum
2fff2e6b05
work build# into version string
1997-01-20 18:34:26 +00:00
Guido van Rossum
3e7ae7ab17
Fix the _setmode() patch for MS_WINDOWS: include <fcntl.h> and use
...
fileno(std*).
1997-01-17 22:05:38 +00:00
Guido van Rossum
e9fd28dae5
Add stacksize argument to new.code().
1997-01-17 21:12:06 +00:00
Roger E. Masse
c905fffa15
Added Sjoerd's submitted 'ratecv' method. Made corrections for new names.
...
Reindented.
1997-01-17 18:12:04 +00:00
Roger E. Masse
ed648a25bd
Renamed, but not tested. Guido will you try your test script on this?
1997-01-17 16:08:55 +00:00
Roger E. Masse
e474fb36ab
Renamed.
1997-01-17 16:00:02 +00:00
Barry Warsaw
e886ea916e
(puremodule.c): New module which exports the Purify and Quantify C API
...
to Python. Minimal documentation is included in comments at the top
of the file, and in the Misc/PURIFY.README file. Note that this
module must be statically linked since Pure doesn't provide shared
stubs libraries.
(Setup.in): Added commented template for pure module
(syslogmodule.c): ins() function wasn't declared static.
1997-01-17 00:01:33 +00:00
Roger E. Masse
d9240d19b2
Already renamed. Indented.
1997-01-16 22:05:33 +00:00
Roger E. Masse
5f4ce18898
Renamed.
1997-01-16 17:10:22 +00:00
Barry Warsaw
47d3500787
set_key(): Use Py_CHARMASK macro to get the character from the array
...
unsigned. This fixes the 8bit-char-in-key platform incompatibility.
I also removed the old backwards compatibility code, and the commented
lisp rotor code. I retained the lisp docstrings as comments preceding
each function.
1997-01-16 16:49:44 +00:00
Barry Warsaw
fa701a88ab
reformatted
...
memory leak in Tkapp_(Create|Delete)FileHandler plugged.
standard eyeballing
1997-01-16 00:15:11 +00:00
Barry Warsaw
9a0313cd62
Removed _xdr module
1997-01-14 18:20:26 +00:00
Barry Warsaw
93d29b6895
Eliminated gcc -Wall complaints:
...
- Quieted gcc -Wall by removing unused local variables.
- Added some choice parentheses around assignments in conditional
tests.
- Removed an unused (and seemingly unreachable) err label in
load_short_binstring().
- in Unpickler_load(), removed \. in string format.
- init_stuff() was declared to return an int, but had these
problems:
- it was returning NULL instead of 0 or 1 in some cases
- it was falling of the end of the routine without returning
anything
- the call of init_stuff() in initcPickle() was never checking
the return value anyway.
I changed all this by returning 1 in the case of errors, 0 when
no error occurred. Then in initcPickle(), if init_stuff()
returns non-zero, I call Py_FatalError().
Suppressing my urge to reformat according to Python coding standards!
:-)
1997-01-14 17:45:08 +00:00
Barry Warsaw
61a63e152d
Quieted gcc -Wall by removing unused local variables.
...
Suppressing my urge to reformat according to Python coding standards!
:-)
1997-01-14 17:38:28 +00:00
Barry Warsaw
54dbf02da2
Quieted gcc -Wall by removing unused local variables.
1997-01-14 17:37:32 +00:00
Barry Warsaw
845a4c6bb7
Formatting.
1997-01-14 17:36:36 +00:00
Barry Warsaw
41317d120d
Obsolete, now that xdrlib.py uses the new-and-improved struct module.
1997-01-14 17:34:06 +00:00
Barry Warsaw
58d40a7400
Renamed.
1997-01-13 22:57:42 +00:00
Barry Warsaw
4a6cf4167b
Formatting, and minor error detection
1997-01-13 22:44:55 +00:00
Barry Warsaw
64278cf5f7
initthread(): Removed extraneous Py_INCREF(ThreadError)
1997-01-13 22:09:43 +00:00
Guido van Rossum
9c6ba5e901
Fix leak involving BuildValue("...O...").
1997-01-12 20:02:04 +00:00
Guido van Rossum
ee88ff9d05
Add entries for cStringIO and cPickle
1997-01-11 19:29:30 +00:00
Guido van Rossum
f22d7e2c69
On Windows, -u implies binary mode for stdin/stdout
...
(as well as unbuffered stdout/stderr).
1997-01-11 19:28:55 +00:00
Barry Warsaw
5709dcfaec
The usual return-value and memory management checks. I'm not planning
...
a test for this module though (it does compile at least on Solaris
2.5)
1997-01-10 18:42:18 +00:00
Barry Warsaw
43a476ac00
Formatting changes, plus memory management in initsyslog()
1997-01-09 23:51:21 +00:00
Barry Warsaw
73a75eb79b
initsignal(): Py_DECREFs really should be Py_XDECREFs in case the
...
PyInt_FromLong's failed.
1997-01-09 23:50:28 +00:00
Barry Warsaw
42185a2d7a
Plugged a couple of potential return value problems, memory leaks, and
...
descriptor leaks.
1997-01-09 22:29:57 +00:00
Barry Warsaw
2dc8c2c26b
Primarily formatting changes, but I also plugged a couple of potential
...
return value problems, memory leaks, and descriptor leaks.
1997-01-09 22:29:12 +00:00
Barry Warsaw
4bc9d39560
Nailed a couple of memory leaks, caught by Purify.
1997-01-09 22:22:05 +00:00
Guido van Rossum
2f4caa4c48
cPickle, version 0.1.
1997-01-06 22:59:08 +00:00
Guido van Rossum
55702f8d6a
Jim's latest version.
1997-01-06 22:57:52 +00:00
Barry Warsaw
d4ff1b908b
New strop_joinfields implementation, highly optimized for Lists. All
...
other sequences use the Sequence protocol from the abstract API. The
algorithm has changed so that only one pass through the sequences are
made.
1997-01-06 22:48:32 +00:00
Guido van Rossum
e0548b8da7
Rewrote translate() as follows:
...
- 'delete' is a C++ keyword; use 'del_table' instead
- apply Py_CHARMASK() to del_table[i] before using it as an index
*** this fixes a bug that was just reported on the list ***
- if the translation didn't make any changes, INCREF and return
the original string
- when del_table is empty or omitted, don't copy the translation
table to a table of ints (should be a bit faster)
Rewrote maketrans() to avoid copying the table (2-3% faster).
1997-01-06 16:50:09 +00:00
Barry Warsaw
04d2d15b6b
strop_upper(), strop_lower(): shared code version caused to much of a
...
performance hit. Urg. Reverted.
strop_joinfields(): re-instate optimizations for lists and tuples, but
support arbitrary other kinds of sequences as well.
1997-01-03 23:46:51 +00:00
Roger E. Masse
bf0c3ca9bd
Renamed but not well tested.
1997-01-03 23:00:51 +00:00
Barry Warsaw
e8fc29cde7
Several changes:
...
- split_whitespace(): slightly better memory ref handling when errors
occur.
- strop_joinfields(): First argument can now be any sequence-protocol
conformant object.
- strop_find(), strop_rfind(): Use PyArg_ParseTuple for optional
arguments
- strop_lower(), strop_upper(): Factor logic into a common function
do_casechange().
- strop_atoi(), strop_atol(): Use PyArg_ParseTuple.
- strop_maketrans(): arguments used to be optional, although the
documentation doesn't reflect this. Make the source conform to the
docs. Arguments are required, but two empty strings will return the
identity translation table.
- General pass fixing up formatting, and checking for return values.
1997-01-03 22:45:34 +00:00
Roger E. Masse
a2a8b27221
Renamed, but not throughly tested.
1997-01-03 22:40:34 +00:00
Roger E. Masse
7ba4c07768
Renamed, but untested.
1997-01-03 22:17:11 +00:00
Guido van Rossum
9bc7e0af50
Added PyLong*UnsignedLong and PyCobject interfaces.
1997-01-03 21:05:44 +00:00
Roger E. Masse
eaa6e1102f
Renamed, reindented. (was already partially complete)
1997-01-03 19:26:27 +00:00
Guido van Rossum
549ab711aa
Add new formats B, H, I, L for unsigned data types (analogous to the
...
recent changes in the struct module).
1997-01-03 19:09:47 +00:00
Guido van Rossum
6c87ecaff1
Changed the ``add/sub_offset'' hacks for dealing with C's unsigned
...
int/long types, and use the new PyLong_FromUnsignedLong() and
PyLong_AsUnsignedLong() interfaces instead.
Semantic change: the 'I' format will now always return a long int.
1997-01-03 19:08:16 +00:00
Roger E. Masse
5b0eba3ced
Reindented.
1997-01-03 18:51:01 +00:00
Barry Warsaw
752300bbdf
Check of return values and proper error handling.
1997-01-03 17:18:10 +00:00
Guido van Rossum
b9d338cbfb
Fill pad bytes with zeros (fixing a bug dating from the very first version!).
1997-01-03 15:40:33 +00:00
Barry Warsaw
b9a781e177
Scratch the ears of gcc -Wall.
1997-01-03 00:26:28 +00:00
Barry Warsaw
929711765e
Several changes:
...
- Conform to standard Python C coding styles.
- All static symbols were renamed and shorted.
- Eyeballed all return values and memory references.
- Fixed a bug in signal.pause() so that exceptions raised in signal
handlers are now properly caught after pause() returns.
- Removed SIGCPU and SIGFSZ. We surmise that these were typos for the
previously missing SIGXCPU and SIGXFSZ.
1997-01-03 00:14:25 +00:00
Guido van Rossum
4ccc531f34
Ok, ok, I've fixed gradual underflow on packing too.
...
Still don't know what to do with Inf/NaN, so I raise an exception on
pack(), and something random decided by ldexp() will happen on
unpack().
1997-01-02 23:23:20 +00:00
Guido van Rossum
07ef655222
Oops -- unpack float/double didn't do the right thing if e==0.
1997-01-02 22:31:07 +00:00
Guido van Rossum
74679b455f
Support float and double in non-native formats.
...
These use the ANSI/IEEE standard, which is also used by XDR;
so the _xdr module may become obsolete.
1997-01-02 22:21:36 +00:00
Barry Warsaw
9e3fceb5b3
rotorobj_setkey(): A single string argument is now required (i.e. no
...
long optional with nearly-no-op missing).
1997-01-02 20:36:36 +00:00
Guido van Rossum
60c50614e1
Added better handling of unsigned longs -- a Python long returned by
...
unpack('L', ...) is now acceptable to pack('L', ...).
1996-12-31 16:29:52 +00:00
Guido van Rossum
3aa27fd315
Fix the first bugs... treatment of 0 count was wrong, and memchr()
...
should be memset().
1996-12-31 02:10:45 +00:00
Guido van Rossum
f7e6b4b388
Pretty much rewritten to fulfull several long-standing wishes:
...
-- The whole implementation is now more table-driven.
-- Unsigned integers. Format characters 'B', 'H', 'I' and 'L'
mean unsigned byte, short, int and long. For 'I' and 'L', the return
value is a Python long integer if a Python plain integer can't
represent the required range (note: this is dependent on the size of
the relevant C types only, not of the sign of the actual value).
-- A new format character 's' packs/unpacks a string. When given a
count prefix, this is the size of the string, not a repeat count like
for the other format characters; e.g. '10s' means a single 10-byte
string, while '10c' means 10 characters. For packing, the string is
truncated or padded with null bytes as appropriate to make it fit.
For unpacking, the resulting string always has exactly the specified
number of bytes. As a special case, '0s' means a single, empty
string (while '0c' means 0 characters).
-- Various byte order options. The first character of the format
string determines the byte order, size and alignment, as follows:
First character Byte order size and alignment
'@' native native
'=' native standard
'<' little-endian standard
'>' big-endian standard
'!' network (= big-endian) standard
If the first character is not one of these, '@' is assumed.
Native byte order is big-endian or little-endian, depending on the
host system (e.g. Motorola and Sun are big-endian; Intel and DEC are
little-endian).
Native size and alignment are determined using the C compiler's sizeof
expression. This is always combined with native byte order.
Standard size and alignment are as follows: no alignment is required
for any type (so you have to use pad bytes); short is 2 bytes; int and
long are 4 bytes. In this mode, there is no support for float and
double.
Note the difference between '@' and '=': both use native byte order,
but the size and alignment of the latter is standardized.
The form '!' is available for those poor souls who can't remember
whether network byte order is big-endian or little-endian.
There is no way to indicate non-native byte order (i.e. force
byte-swapping); use the appropriate choice of '<' or '>'.
1996-12-31 01:41:25 +00:00
Roger E. Masse
fbd1d74286
Renamed.
...
However: "cgensupport.h" is still present... otherwise I get
maaaany type errors... not sure if this needs more attention.
1996-12-24 19:39:23 +00:00
Barry Warsaw
aeb207c6b6
Reworked to check for memory problems (one potential found),
...
non-checked error return values, and where appropriate,
PyArg_ParseTuple() style argument parsing.
I also changed some function names and converted all malloc/free calls
to PyMem_NEW/PyMem_DEL.
Some stylistic changes and formatting standardization.
1996-12-23 23:36:24 +00:00
Roger E. Masse
7f33e403a4
Renamed.
1996-12-20 21:56:08 +00:00
Barry Warsaw
c357325663
Several changes. Test program to follow.
...
- Where optional arguments were being used, converted to
PyArg_ParseTuple() style instead of nested PyArg_Parse() style.
- Check for and handle many potential error conditions that were never
being tested.
- internal reg_* functions renamed to regobj_* (makes it easier to
figure out which are global regex functions and which are for regex
objects).
- reg_group (now regobj_group) was quite extensively reworked. it no
longer recurses to do its job (by factoring core functionality into
a separate function that knows about string and integer indexes).
- some minor formatting fixes.
- regex_set_syntax() now invalidates the cache. Without this change
(in the example below), the second search would produce different
output depending on whether the first search were performed or not
(since performing the first search would cache the compiled object
with RE_SYNTAX_EMACS, causing the second test to unexpectedly fail).
regex.search('(a+)|(b+)', 'cdb')
prev = regex.set_syntax(RE_SYNTAX_AWK)
regex.search('(a+)|(b+)', 'cdb')
1996-12-20 21:56:07 +00:00
Roger E. Masse
a141f8a31a
Renamed.
1996-12-20 20:50:39 +00:00
Barry Warsaw
4a34209468
1. Export open(2) flag constants for every defined constant
...
2. Reworked error checking in initposix() and initnt().
1996-12-19 23:50:02 +00:00
Barry Warsaw
bab218e420
Minor formatting changes.
1996-12-19 22:22:32 +00:00
Barry Warsaw
43d68b8fb0
Minor formatting changes.
1996-12-19 22:10:44 +00:00
Guido van Rossum
25405c786b
Added the new getprotobyname() call to the module overview at the top.
1996-12-19 16:42:52 +00:00
Guido van Rossum
3901d85277
Added getprotobyname() interface.
1996-12-19 16:35:04 +00:00
Roger E. Masse
20c6381856
Removed references to getdoublearg and get2doublearg rename macros and
...
substituted the appropriate PyArg_Parse calls. Retested. All appears well.
1996-12-18 21:59:01 +00:00
Roger E. Masse
ec0b4af3d4
Eradicated all references to getintarg and getstrarg and substituded the
...
proper functions as defined in rename2.h. Thanks Barry!
1996-12-18 20:07:39 +00:00
Roger E. Masse
cfe3b61c02
Opps, left out two defines needed for argument parsing.
1996-12-18 19:56:48 +00:00
Barry Warsaw
19f61ae196
Tabification changes only; the module was already newly named.
1996-12-18 19:50:00 +00:00
Roger E. Masse
b2b44e5b8a
Renamed.
1996-12-18 19:37:32 +00:00
Guido van Rossum
2e6313930e
Added Jeremy's resource module.
1996-12-18 18:37:27 +00:00
Guido van Rossum
4a4880966b
Correct *another* mistake (initmath() always fell through to fatal error).
...
Watch it, Barry! :-)
1996-12-18 14:14:33 +00:00
Guido van Rossum
4c4cbf397b
Correct 1-char typo / syntax error.
1996-12-18 14:12:22 +00:00
Guido van Rossum
c88c9cb23f
Corrected two errors introduced by the renaming (and the subsequent
...
style corrections, I presume), found by Jack. Added warning that this
has not been tested (Jack could only compile and link it).
1996-12-17 20:43:55 +00:00
Roger E. Masse
b15bef85a7
Renamed in a grand-ee-ous way!
1996-12-17 19:55:33 +00:00
Roger E. Masse
4ca4b07516
Opps, left in a /*#include "modsupport.h"*/
1996-12-17 17:46:28 +00:00
Roger E. Masse
919213a098
Grandly renamed.
1996-12-17 17:42:22 +00:00
Guido van Rossum
4004e21484
Another fix for Split() -- don't refuse {"} but turn it into ".
...
This is needed because if a configure option has " as its value,
it will be rendered as {"}; after stripping one level of quoting it's
just ", on which splitlist will barf.
1996-12-17 01:25:36 +00:00
Guido van Rossum
0f868375ff
Check errors returned by recursive call to Split().
1996-12-17 01:02:18 +00:00
Barry Warsaw
fc93f75da7
Better error checking in initmath().
1996-12-17 00:47:03 +00:00
Barry Warsaw
d0c1042ff2
Renamed.
1996-12-17 00:05:22 +00:00
Barry Warsaw
10f124c951
Updated to standard Python C coding style, and fixed a few error
...
checking nits.
1996-12-17 00:01:40 +00:00
Barry Warsaw
14ed5fb1ec
initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for
...
SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether
these were typos or if there are systems that use these alternate
names. We've checked Solaris, SunOS, and IRIX; they contain only the
SIGX* names.
1996-12-16 20:24:22 +00:00
Barry Warsaw
529fcfe31f
list2set(): correct return value (an int, not a PyObject*).
1996-12-16 18:15:34 +00:00
Roger E. Masse
81a6fe9b98
Removed a #inlclude <errno.h> since it's implied with "Python.h"
1996-12-13 23:29:09 +00:00
Barry Warsaw
24c4b3d4e8
list2set(): PyList_GetItem could fail.
1996-12-13 23:22:42 +00:00
Roger E. Masse
0e12032748
Renamed.
1996-12-13 20:33:44 +00:00
Guido van Rossum
4e7f62229e
Get rid of it -- use bsddb!
1996-12-13 16:24:06 +00:00
Roger E. Masse
bd4b961a0d
Opps, fixed a couple of newly introduced wrapping problems.
1996-12-13 15:59:22 +00:00
Roger E. Masse
e7ee8c3753
Reindented via GvR recomendation ala Bwarsaw cppy-style.el
1996-12-13 15:55:22 +00:00
Guido van Rossum
fbcfd52a9a
Added the example "thin ice" from the extensions manual.
1996-12-13 02:57:25 +00:00
Barry Warsaw
f630f6b93d
Renamed, and scrutinized for missed potential error conditions.
...
Alas, I don't have an Indigo, so I could not even compile this.
1996-12-13 01:24:29 +00:00
Barry Warsaw
8496d39478
Renamed, however there is no test case. I did test some of the module
...
out manually, and it does compile, but I'm not sure how to write a
useful portable test case. Maybe later...
1996-12-13 00:11:04 +00:00
Barry Warsaw
30695fa3cd
Renamed.
1996-12-12 23:32:31 +00:00
Barry Warsaw
c2feec3378
Renamed, but *not* tested or compiled. I don't even have the STDWIN
...
library.
1996-12-12 22:48:20 +00:00
Barry Warsaw
c1cb360683
Reworked to eliminate all potential memory problems, including
...
deletion of object from list argument during callout to fileno().
1996-12-12 22:16:21 +00:00
Barry Warsaw
e4ac0aa618
Several changes... Guido *please* take a look!
...
1. Renamed
2. Several coding styles were being used here, owing to the multiple
contributors. I tried to convert everything to standard "python"
coding style for indentation, paren and brace placement, etc.
3. There were several potential error conditions that were never being
checked, and where I saw them, I added checks of return values,
etc. I'm pretty sure I got them all.
4. There were some old-style (pre PyArg_ParseTuple) argument
extraction and these were converted to use PyArg_ParseTuple.
All changes compile and run with the new test_select.py module, at
least on my Solaris/Sparc box.
1996-12-12 00:04:35 +00:00
Barry Warsaw
7bd9fbdea2
Grandly renamed.
...
Note that since I have no idea how to test this, I didn't write a test
case. It does seem to at least compile on my system though.
1996-12-11 21:33:16 +00:00
Barry Warsaw
50c5cf132a
Renamed.
1996-12-11 16:54:40 +00:00
Barry Warsaw
1abda0fb12
cat and puste errors
1996-12-11 01:00:46 +00:00
Barry Warsaw
3696c524a4
nis_maplist(): Use check of yp_get_default_domain() return value
...
that's used in other parts of this module.
nis_maps(): use PyArg_NoArgs().
1996-12-11 00:29:14 +00:00
Barry Warsaw
adbf4e66df
Renamed, and bug fixed:
...
Two interesting problems in nis_maplist(). First, it is possible that
clnt_create() will return NULL. This was being caught, but no Python
error was being set. I use clnt_spcreateerror() to generate the value
of the exception.
But why would clnt_create() fail? It's because no server was being
found. And why was this? It was because nis_maplist() tried only to
get the NIS master for the first map in the aliases list, which is
passwd.byname, and guess what? That's the one NIS map CNRI does *not*
export! So the yp_master() call was failing to return a valid
server. I now cycle through all the map aliases until I find a valid
master. If not, a different exception is set.
I'm not sure this is the completely correct way to do all this, but
short of rewriting the entire nismodule.c (to expose the proper API to
Python), it should do the trick.
1996-12-11 00:15:58 +00:00
Barry Warsaw
53699e9ec1
Renamed.
...
Note that there is no test suite for this module, and I don't plan to
write one just now.
1996-12-10 23:23:01 +00:00
Barry Warsaw
a6b7c7146c
Renamed.
1996-12-10 16:25:56 +00:00
Guido van Rossum
caf783793d
Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy.
1996-12-10 15:41:19 +00:00
Guido van Rossum
36dd0d27c4
Fix operator priority bug found thanks to gcc -Wall.
1996-12-10 15:23:00 +00:00
Guido van Rossum
e29ed8fa7c
Make gcc -Wall happy; remove dummy variable (can't see where it's needed).
1996-12-10 15:21:30 +00:00
Guido van Rossum
fb4130d1f1
Added extern decl for gethostname() to keep gcc -Wall happy.
1996-12-10 15:17:08 +00:00
Guido van Rossum
55db515a51
Great renaming.
...
Also got rid of the dummy variable, which was last needed in IRIX 4.x.
1996-12-10 00:32:31 +00:00
Guido van Rossum
09f99dfdba
Removed redundant inclusion of <errno.h> (sorry, Roj!).
1996-12-10 00:12:14 +00:00
Roger E. Masse
b0dfe969d9
renamed in a grand fashion.
1996-12-10 00:07:00 +00:00
Barry Warsaw
abb7efeb7c
Renamed a few symbols that were found in comments.
1996-12-09 23:22:35 +00:00
Barry Warsaw
3bdf746c5c
Renamed, ungrandly. We don't have the GNU MP library here so we can't
...
really test this module, or even compile it without a lot of work.
I'll make a note of it that this has not been tested!
1996-12-09 23:16:31 +00:00
Roger E. Masse
56c345b235
renamed grandly.
1996-12-09 23:14:26 +00:00
Roger E. Masse
24070ca391
Renamed Grandly
1996-12-09 22:59:53 +00:00
Barry Warsaw
8b43b19ec9
Renamed
1996-12-09 22:32:36 +00:00
Roger E. Masse
5817f8f717
Removed some unneeded header files and reedited with a fixed-width font
...
from emacs as per recomendation from GvR
1996-12-09 22:24:19 +00:00
Roger E. Masse
2919eaaf08
Renamed Grandly (I think).
1996-12-09 20:10:36 +00:00
Guido van Rossum
ece35bc22f
Changes to keep gcc -Wall happy.
1996-12-09 18:52:11 +00:00
Guido van Rossum
7ce52be627
Added `void' to declaration of initgl(), to keep gcc -Wall happy.
1996-12-09 18:51:51 +00:00
Guido van Rossum
665f9198fe
Added a bunch of extern void decls, to keep gcc -Wall happy.
1996-12-09 18:49:42 +00:00
Guido van Rossum
3d65fa3488
Include <sys/ioctl.h>, to keep gcc -Wall happy.
1996-12-09 18:49:14 +00:00
Guido van Rossum
cd165cc092
Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy.
1996-12-09 18:48:32 +00:00
Guido van Rossum
37273177be
Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy.
1996-12-09 18:47:43 +00:00
Guido van Rossum
66a7013c5c
Include unistd.h to keep gcc -Wall happy.
1996-12-09 18:46:58 +00:00
Guido van Rossum
259552dbd9
Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy.
1996-12-09 18:46:28 +00:00
Guido van Rossum
52174577eb
Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has
...
a conflicting definition somewhere).
Resolved line wrap for error message in ins().
1996-12-09 18:38:52 +00:00
Barry Warsaw
f52560197f
Greatly renamed.
1996-12-09 18:35:56 +00:00
Barry Warsaw
ec775c52a2
ins(): missed a renaming in a string: dictinsert =>
...
PyDict_SetItemString.
GvR: note the long line > 80 chars. Wrapping suggestions?
1996-12-09 18:24:35 +00:00
Barry Warsaw
9a2a8a8d31
Greatly renamed.
1996-12-06 23:32:14 +00:00
Guido van Rossum
1bb126fa13
Add extern decl of ftime() to make gcc -Wall happy.
1996-12-06 20:17:44 +00:00
Guido van Rossum
a376cc5cc8
Keep gcc -Wall happy.
1996-12-05 23:43:35 +00:00
Guido van Rossum
60fca2c90f
Add case for 'R' and a little bit of cleanup. Andrew Kuchling.
1996-12-05 23:41:26 +00:00
Guido van Rossum
049cd90b93
Jim F's brainchild
1996-12-05 23:30:48 +00:00
Guido van Rossum
81b24c0221
Fix bad format char in error msg (%s should be %d).
...
Keep gcc -Wall happy.
1996-12-05 23:30:16 +00:00
Guido van Rossum
36a484fb52
Correct typo -- repeat implements *, not +.
1996-12-05 19:01:16 +00:00
Guido van Rossum
b916faf66a
Upgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code.
1996-11-21 16:02:12 +00:00
Guido van Rossum
0b1ff66920
Should compare errno to 0, not NULL
1996-11-02 17:31:22 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
0cbaff440d
Fix case where you start a new group immediately after a label.
...
Thanks to Ka-Ping Yee.
1996-10-23 17:53:06 +00:00
Guido van Rossum
1d6fddb776
Changed _Py_EllipsesObject -> _Py_EllipsisObject.
1996-10-21 15:11:12 +00:00
Guido van Rossum
a1b1cdbab2
Major upgrade by Vladimir Marangozov.
1996-10-21 15:10:39 +00:00
Guido van Rossum
084814624d
Don't close an already closed socket.
1996-10-12 14:07:22 +00:00
Guido van Rossum
6e8583dcb3
Check for NULL pointer returned from localtime()/gmtime().
1996-10-08 14:19:52 +00:00
Guido van Rossum
c196202e3d
Speedup of makeresult() by keeping a filler of (-1, -1) around.
1996-10-08 14:18:42 +00:00
Guido van Rossum
a0ca4c402d
Replace all uses of strncmp (in split, find, rfind) with memcmp, so
...
embedded \0 in the delimiter is handled properly. Thanks to Sjoerd
for suggesting this.
1996-10-04 13:39:37 +00:00
Guido van Rossum
07886d0e01
Rationalize MS #ifdefs
1996-09-11 23:31:42 +00:00
Guido van Rossum
f156f503cd
Correct typo: return -1 for error, not 0
1996-09-11 23:31:23 +00:00
Guido van Rossum
3863abb921
Correct typo: return -1 for error, not NULL
1996-09-11 23:31:07 +00:00
Guido van Rossum
c35f933c44
Add text of argument to errors for atoi(), atol(), atof().
1996-09-11 23:30:42 +00:00
Guido van Rossum
6beb479b39
Force O_BINARY in flags if defined, for e.g. Microsoft platforms.
1996-09-11 23:22:25 +00:00
Guido van Rossum
622f577eac
Dynamically initialize ob_type field, for Windows DLL
1996-09-11 23:18:43 +00:00
Guido van Rossum
c864364395
Added lockf() call
1996-09-11 23:17:20 +00:00
Guido van Rossum
6fe01d4ba0
Added Setup.local feature; make shared libs readonly
1996-09-11 23:13:07 +00:00
Fred Drake
e1607a8d0e
(parsermodule.c): Fixed sloppy typo: '==' -> '='
1996-09-11 21:58:26 +00:00
Guido van Rossum
f62e5bf339
Update based on Python 1.4b3.
1996-09-10 18:09:44 +00:00
Guido van Rossum
87755a24c2
Use #ifdef MS_WIN32 instead of _MSC_VER > 850.
1996-09-07 00:59:43 +00:00
Guido van Rossum
b2fb36498d
Sleep() turns out to be win32 specific.
...
The timezone etc. overrides are win16 specific.
Hope I got this right now...
1996-09-07 00:47:35 +00:00
Guido van Rossum
cac6c72105
Some changes for better Windows portability.
1996-09-06 13:34:02 +00:00
Guido van Rossum
6eed906533
Typo (missing _) in _xdr line.
1996-08-30 20:41:30 +00:00
Guido van Rossum
6c0b234006
#include <netconfig.h> seems not needed and is harmful on NeXT, so drop it.
...
Add proper initialization of rtn = NULL in unpack_double.
1996-08-30 20:39:43 +00:00
Guido van Rossum
213a685cd8
Move backup definition for hypot() to Python/hypot.c.
1996-08-29 18:13:16 +00:00
Guido van Rossum
c9970eecc2
Call __initialize(), not __sinit() on Mac dynamic loading entry.
1996-08-26 14:37:15 +00:00
Guido van Rossum
497aedd2ff
Get rid of unused local variable.
1996-08-21 23:46:01 +00:00
Guido van Rossum
4f903463b8
Removed environment, objc, sybase modules
1996-08-21 22:15:03 +00:00
Guido van Rossum
f00eb71d90
Get rid of some obsolete modules:
...
- environment.c (we now have os.putenv)
- sybase (a better one is in contrib/Databases/Sybase.*)
- objc.c (incomplete and unsupportable by us)
1996-08-21 22:11:54 +00:00
Guido van Rossum
2a2884645d
Patches to make it compile with K&R C
1996-08-21 21:55:43 +00:00
Guido van Rossum
3bcf7d2f0b
Avoid complaint about inconsistent hypot() linkage on NT.
1996-08-21 20:36:52 +00:00
Guido van Rossum
171191efb2
Raise ValueError on empty string passed into atoi(), atol(), atof().
1996-08-21 20:02:25 +00:00
Guido van Rossum
360a934609
Support for old CPP
1996-08-21 19:04:10 +00:00
Guido van Rossum
ae92f01029
Hacks to support being a Windows DLL
1996-08-21 19:03:36 +00:00
Guido van Rossum
c9fb47ef08
Added delslice and delitem.
...
Renamed and, or to and_, or_.
Renamed all internal identifiers so as not to start with '__' (which is
a compiler privilege); remove AIX hack.
1996-08-21 17:40:51 +00:00
Guido van Rossum
4747887880
New batch from Fred
1996-08-21 14:32:37 +00:00
Guido van Rossum
bf0dc9fb14
Add #define MAC_TCL for Mac.
1996-08-20 20:49:56 +00:00
Guido van Rossum
613b943bf9
*noconfig* -> *shared*.
...
Add # -lm comment to modules that need it as sharedlib.
1996-08-20 19:50:17 +00:00
Guido van Rossum
4355454232
Support *shared* and *static* as aliases for *noconfig* and *config*.
1996-08-20 19:49:13 +00:00
Guido van Rossum
d62d8bced3
Test for xdrmem_create() failure.
...
Minor lay-out changes.
1996-08-20 19:47:44 +00:00
Guido van Rossum
cde317ae62
Install shared libs with executable mode -- needed for HPUX,
...
doesn't hurt elsewhere.
1996-08-20 19:46:35 +00:00
Guido van Rossum
272841c439
Changes by Rob Hooft for GMP 2.0.2
1996-08-19 23:06:45 +00:00
Guido van Rossum
73363b526e
Added _xdr module
1996-08-19 22:58:53 +00:00
Guido van Rossum
7cf1fcf347
Always include config.h
1996-08-19 22:12:39 +00:00
Guido van Rossum
8f3032da10
Declare initregex() as returning void, as it should be.
1996-08-19 22:03:12 +00:00
Guido van Rossum
860986812a
Remove some unused variables.
1996-08-19 22:02:43 +00:00
Guido van Rossum
2977e5d660
Declare a bunch of internal routines as returning void.
1996-08-19 22:02:19 +00:00
Guido van Rossum
1720230399
Made it palatable for K&R preprocessors. The spam macros don't have
...
to work as hard (but "stringizing" is still used, so we test the newly
introduced HAVE_OLD_CPP config define).
1996-08-19 22:01:39 +00:00
Guido van Rossum
a29756c1dd
Recognize *.sl and *.so as library (i.e. linker) arguments
1996-08-19 22:00:05 +00:00
Guido van Rossum
07b983da99
Incorporate LDFLAGS calculated by configure (for --with-readline)
1996-08-19 21:59:32 +00:00
Guido van Rossum
7ffa7617c7
Changes for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc.
...
- Use ckalloc(), ckfree() everywhere.
- Default FREECAST to (char *).
- Added comment with Tcl/Tk version info.
1996-08-13 21:10:16 +00:00
Guido van Rossum
99d90c0d0e
Include "mymath.h" instead of manually declaring math functions.
1996-08-08 19:17:45 +00:00
Guido van Rossum
7999a5c525
Added lstrip() and rstrip().
...
Extended split() (and hence splitfields(), which is the same function)
to support an optional third parameter giving the maximum number of
delimiters to parse.
1996-08-08 19:16:15 +00:00
Guido van Rossum
339cfa39d8
Need config.h (for Win etc.)
1996-08-08 19:12:37 +00:00
Guido van Rossum
ec185bde77
Added hack to get it to compile on AIX.
1996-08-08 19:12:05 +00:00
Guido van Rossum
8a170cbed6
Rearrange include headers (needed on some platforms).
1996-08-08 19:11:41 +00:00
Guido van Rossum
6412b1de5d
Hack for Mac (where fabs is not usable as a function pointer).
1996-08-08 19:10:21 +00:00
Guido van Rossum
97867b2ce2
Add optional casts to free() calls. (Jack)
...
Set Tk variable argv0 to classname passed in to Tkapp_New. (Fred)
1996-08-08 19:09:53 +00:00
Guido van Rossum
82df03e35f
Rationalized instructions for _tkinter.c
1996-08-08 19:08:47 +00:00
Guido van Rossum
6554419e1b
Also remove *.sl (AIX shared libs) in make clean.
1996-08-08 19:07:46 +00:00
Guido van Rossum
1dc19ba2ee
Removed
1996-08-08 19:07:06 +00:00
Guido van Rossum
a93b504a23
Latest AIX changes from Vlad
1996-08-08 19:06:31 +00:00
Guido van Rossum
b4ae6a3999
Re-install aix files (what happened?)
1996-08-08 19:05:09 +00:00
Guido van Rossum
3bedce0185
removed old file
1996-08-08 18:58:45 +00:00
Guido van Rossum
9e43ae4770
Use Tcl/Tk 7.5/4.1 by default.
1996-08-01 00:56:03 +00:00
Guido van Rossum
02530b0f74
Changes for AIX shared libs
1996-07-31 22:43:38 +00:00
Guido van Rossum
32aa1a72b2
getprogramname --> Py_GetProgramName
1996-07-31 19:51:15 +00:00
Guido van Rossum
0c5e3c8d6a
DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
...
Clarified some comments.
1996-07-31 17:49:01 +00:00
Guido van Rossum
276de58927
Collect together all detailed installation directories.
1996-07-31 17:37:07 +00:00
Guido van Rossum
557d6d6608
Don't make an exception for NeXT (BBUM says it's no longer needed).
...
(But hypot() should really be defined in a separate file, triggered by
configure.)
1996-07-30 20:44:31 +00:00
Guido van Rossum
02ca3ab4f7
Remove "." from default path. Also rearrange so that SITEPATH comes
...
after DESTPATH.
1996-07-30 20:36:59 +00:00
Guido van Rossum
6e12d56cfd
Don't have "." in the default path.
1996-07-30 20:36:12 +00:00
Guido van Rossum
2b65444b9f
Converted to new style
1996-07-30 16:56:16 +00:00
Guido van Rossum
037b940cd7
Operators like __add__
1996-07-30 16:55:54 +00:00
Guido van Rossum
63df09acfb
Some NeXT changes (default certain symbols to others)
1996-07-30 16:55:34 +00:00
Guido van Rossum
d3c1bd3931
Added operator.c. Moved errno.c.
...
Changes to PYTHONPATH so it includes VERSION
1996-07-30 16:54:03 +00:00
Guido van Rossum
704fef2268
Refinements to installation, now uses $(VERSION) etc.
1996-07-30 16:53:14 +00:00
Guido van Rossum
4daf6adfe1
Added version number to destination.
...
Forget about the trick to create directories through dependencies --
it's impossible to get it right in the light of parallellizing Make
implementations and the inability to specify dependencies between
directories (because creating the subdirectory modifies the parent).
1996-07-24 02:33:33 +00:00
Guido van Rossum
4dc6622057
Added Sam Rushing's errno module
1996-07-24 00:51:51 +00:00
Guido van Rossum
dfe8ad969c
Converted to new style names by Skip Montanaro
1996-07-24 00:51:20 +00:00
Guido van Rossum
9687a921c8
Different lines for bsddb module.
1996-07-24 00:42:42 +00:00
Guido van Rossum
f1af3fe8eb
Added simple-minded (i.e. leaking :-) putenv() interface, if os has it.
1996-07-23 19:18:10 +00:00
Guido van Rossum
ed7253ca50
Added 3rd optional argument to translate(), a string of characters to delete.
...
Added maketrans(), a utility to create a translation table.
1996-07-23 18:12:39 +00:00
Guido van Rossum
450b9b33a2
Added Jim Fulton's "asharedmodule" target
1996-07-21 02:35:58 +00:00
Guido van Rossum
be6da271a1
Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT
1996-07-21 02:34:55 +00:00
Guido van Rossum
3d602e31b1
New submission by Fred Drake.
1996-07-21 02:33:56 +00:00
Guido van Rossum
ac56b03f9a
New style names for getprogramname and getargcargv
1996-07-21 02:33:38 +00:00
Guido van Rossum
3be7140d31
Rewritten keys() and has_key() to avoid memory leaks.
1996-07-21 02:32:44 +00:00
Guido van Rossum
9e720e390a
complex -> Py_complex
1996-07-21 02:31:35 +00:00
Guido van Rossum
6f489d989d
Slightly different Windows ifdefs
1996-06-28 20:15:15 +00:00
Guido van Rossum
919c576254
added comments about tcl/tk -l options
1996-06-28 20:13:08 +00:00
Guido van Rossum
c012547142
Added plock() system call.
...
Changed test for Windows times() emulation.
1996-06-28 18:55:32 +00:00
Guido van Rossum
7d844a7c8a
aix sharedlib helpers
1996-06-26 21:15:02 +00:00
Guido van Rossum
845547d54b
Added CWI copyright.
...
Updated some comments.
Fixed bug in Merge() called with NULL args.
Get rid of TkDefaultAppName() -- it is not used anywhere.
Pass error message on when Appinit fails.
Create/Delete FileHandler assume fd is a socket on Windows.
1996-06-26 18:26:04 +00:00
Guido van Rossum
8d665e6b51
changed windows test symbols; removed debug printf from sockets
1996-06-26 18:22:49 +00:00
Guido van Rossum
8026febbd6
Made comment for getprogramname() more helpful.
1996-06-20 16:49:26 +00:00
Guido van Rossum
be32c8921c
More rational support for Windows (tested on Roj's NT 3.5 machine only).
...
Use PyArg_ParseTuple() where it makes sense.
1996-06-20 16:25:29 +00:00
Guido van Rossum
fd03e2b4b1
Clear waitpid() status arg in case there's no process to report with
...
WNOHANG set.
1996-06-19 23:17:02 +00:00
Guido van Rossum
2bd37e6c9b
Added more entries to create required target subdirectories for sharedinstall.
1996-06-17 17:33:11 +00:00
Guido van Rossum
529c963d36
Test for zero-length argument in capitalize().
1996-06-17 16:59:33 +00:00
Guido van Rossum
26b310a3fd
Added new.instance(class, dict).
1996-06-17 16:56:56 +00:00
Guido van Rossum
2745753b91
added capitalize()
1996-06-12 04:24:52 +00:00
Guido van Rossum
4f0fbf884b
Yet another pass at fd2obj -- this time for Windows
1996-06-12 04:22:53 +00:00
Guido van Rossum
c34c9a5001
provide access to $(exec_)prefix
1996-06-12 04:20:27 +00:00
Guido van Rossum
006bf91530
ntohs, ntohl, htons, htonl -- thanks to Lance
1996-06-12 04:04:55 +00:00
Guido van Rossum
d639d4d6d6
more changes for Windows, sigh
1996-06-12 04:04:22 +00:00
Guido van Rossum
8bac546e11
Avoid core dump in resizestring() on read() with 0 bytes.
1996-06-11 18:38:48 +00:00
Guido van Rossum
65af28a0f4
Calculate length of AF_UNIX addr struct portably in getsockaddrarg().
1996-06-11 18:36:33 +00:00
Guido van Rossum
53a9bf8164
Get rid of obsolete allowbroadcast().
...
Avoid core dumps in resizestring().
1996-06-11 18:35:24 +00:00
Guido van Rossum
ab28c56fd3
Avoid core dump on symcomp("").
1996-06-11 18:33:14 +00:00
Guido van Rossum
3c0b79ca0f
A fcntl implementation for systems (like Solaris) without flock() call.
...
By Sjoerd.
1996-06-11 15:11:34 +00:00
Guido van Rossum
1835c4f1b4
Use correct field of sigaction struct
1996-05-29 14:15:19 +00:00
Guido van Rossum
a0e71303d9
Changed NT -> MSC or WATCOM
1996-05-28 22:30:38 +00:00
Guido van Rossum
582646aecc
grand renaming; added copyright to some files
1996-05-28 22:30:17 +00:00
Guido van Rossum
ddcb36b5da
Use ../install-sh to install files.
1996-05-24 21:14:44 +00:00
Guido van Rossum
9c8a0c4b1c
Made all c_* symbols static.
1996-05-24 21:12:28 +00:00
Guido van Rossum
53d0de4b05
rename exported symbols with _Py_ prefix
1996-05-24 20:51:38 +00:00
Guido van Rossum
3d86cc0dbc
make soundex_hash static
1996-05-24 20:50:57 +00:00
Guido van Rossum
a4916fa54f
Added mkfifo, ftruncate. Windows/PC changes.
1996-05-23 22:58:55 +00:00
Guido van Rossum
dd96ca77da
Be more careful about default args.
1996-05-23 22:57:54 +00:00
Guido van Rossum
2c26cfe776
Use struct _inittab def from import.h
1996-05-23 22:57:18 +00:00