Commit Graph

3709 Commits

Author SHA1 Message Date
Guido van Rossum 50ec5c074a Add flock; warn about lockdata system dependency when using fcntl. 1996-06-26 19:20:33 +00:00
Guido van Rossum 164c36b6c3 Change of address; 1.4 beta 1. 1996-06-26 19:19:54 +00:00
Guido van Rossum ecae0b7ebb Fixed for Latex2e by Dave Ascher. 1996-06-26 19:03:20 +00:00
Guido van Rossum 84fb82dda0 Patchlevel to 1.4 beta 1. 1996-06-26 18:29:09 +00:00
Guido van Rossum 9d81b5594e Different logic for defining CHECK(); 16-bit MSC specific define. 1996-06-26 18:27:19 +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 920b13d529 Added HAVE_FLOCK 1996-06-20 14:32:30 +00:00
Guido van Rossum faf681a154 Some cleanups. Change of address. 1996-06-20 14:32:08 +00:00
Guido van Rossum bfc1bbe57d Some cleanup; make for loops over subdirs less noisy, more informative. 1996-06-20 14:30:38 +00:00
Guido van Rossum 0e41c8c848 Cosmetic change to the dox_8x3 hack. 1996-06-20 14:18:34 +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 3b4da59cd6 Renamed static pow() to powerop() to avoid name conflict in some compilers. 1996-06-19 21:49:17 +00:00
Guido van Rossum d3901028cf Sjoerd's StringIO speed-up 1996-06-19 14:54:19 +00:00
Guido van Rossum d4cc04c672 Add test that script name ends in .py.
Cosmetic changes to usage message (refer to "make install" now).
1996-06-17 17:49:13 +00:00
Guido van Rossum f75f80eb48 Get struct _frozen defn from Python.h; new variable names. 1996-06-17 17:48:30 +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 bd6187fcce get rid of temporary README about Tommy's efforts 1996-06-17 17:15:28 +00:00
Guido van Rossum 990e619b45 new simple dialog module, incompatible 1996-06-17 17:14:46 +00:00
Guido van Rossum 84a00a80a2 Change defn of splitnport() to only accept valid digit strings. 1996-06-17 17:11:40 +00:00
Guido van Rossum 4e15599daa Import marshal before using it :-( 1996-06-17 17:10:45 +00:00
Guido van Rossum 6afff6139a Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem. 1996-06-17 17:10:11 +00:00
Guido van Rossum 7c46a920ae New style interface via pointer variable. 1996-06-17 17:07:23 +00:00
Guido van Rossum cfd0a22252 struct frozen is now struct _frozen and comes from import.h. 1996-06-17 17:06:34 +00:00
Guido van Rossum 04527a22c8 frozen_modules is now officially part of the API, remove _ from new name. 1996-06-17 17:05:38 +00:00
Guido van Rossum 4ee68d91c3 Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules(); 1996-06-17 17:05:01 +00:00
Guido van Rossum 8fa9b6f932 Define sys.prefix and sys.exec_prefix (see Modules/getpath.c; from Makefile). 1996-06-17 17:02:48 +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 53725a2858 Added splitnport(), which is like splitport() but returns a numeric port,
is forgiving about semi-numeric port numbers, and allows you to specify
a default port (default is -1, None returned for nonnumeric port).
1996-06-13 19:12:35 +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 601d332a3f Bastionification utility (useful for rexec clients) 1996-06-11 20:12:49 +00:00
Guido van Rossum 4cc4ab1735 Add third arg to split(). Add capwords() -- which uses that. 1996-06-11 18:45:15 +00:00
Guido van Rossum 8775d8b9dc Added capitalize() and capwords(). 1996-06-11 18:43:00 +00:00
Guido van Rossum 2e1beeac2e Add a hack for Solaris threads (why not, there are zillions of
hacks for Windows and DOS here already :-( ).
1996-06-11 18:40:02 +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 6602099e7c Got rid of florida hack and made it work with Solaris 2.5 pthreads.
Wonder if this will break it on all other platforms :-)
1996-06-11 18:32:18 +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 8c1529dc29 regenerated files from IRIX 5.3 headers 1996-06-11 15:03:14 +00:00
Guido van Rossum a7e4b28422 Support optional filename argument for retrieve() and urlretrieve(),
to specify where it should go (if specified, even local files will be
copied into the given file).
1996-06-11 00:16:27 +00:00
Guido van Rossum 34e1777807 Note that EOF is ^Z on DOS. Spell Unix as \UNIX in some more places.
Note that .pyc files are platform independent.
1996-06-10 19:44:49 +00:00