]> granicus.if.org Git - python/log
python
29 years agoAdd flock; warn about lockdata system dependency when using fcntl.
Guido van Rossum [Wed, 26 Jun 1996 19:20:33 +0000 (19:20 +0000)]
Add flock; warn about lockdata system dependency when using fcntl.

29 years agoChange of address; 1.4 beta 1.
Guido van Rossum [Wed, 26 Jun 1996 19:19:54 +0000 (19:19 +0000)]
Change of address; 1.4 beta 1.

29 years agoFixed for Latex2e by Dave Ascher.
Guido van Rossum [Wed, 26 Jun 1996 19:03:20 +0000 (19:03 +0000)]
Fixed for Latex2e by Dave Ascher.

29 years agoPatchlevel to 1.4 beta 1.
Guido van Rossum [Wed, 26 Jun 1996 18:29:09 +0000 (18:29 +0000)]
Patchlevel to 1.4 beta 1.

29 years agoDifferent logic for defining CHECK(); 16-bit MSC specific define.
Guido van Rossum [Wed, 26 Jun 1996 18:27:19 +0000 (18:27 +0000)]
Different logic for defining CHECK(); 16-bit MSC specific define.

29 years agoAdded CWI copyright.
Guido van Rossum [Wed, 26 Jun 1996 18:26:04 +0000 (18:26 +0000)]
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.

29 years agochanged windows test symbols; removed debug printf from sockets
Guido van Rossum [Wed, 26 Jun 1996 18:22:49 +0000 (18:22 +0000)]
changed windows test symbols; removed debug printf from sockets

29 years agoMade comment for getprogramname() more helpful.
Guido van Rossum [Thu, 20 Jun 1996 16:49:26 +0000 (16:49 +0000)]
Made comment for getprogramname() more helpful.

29 years agoMore rational support for Windows (tested on Roj's NT 3.5 machine only).
Guido van Rossum [Thu, 20 Jun 1996 16:25:29 +0000 (16:25 +0000)]
More rational support for Windows (tested on Roj's NT 3.5 machine only).
Use PyArg_ParseTuple() where it makes sense.

29 years agoAdded HAVE_FLOCK
Guido van Rossum [Thu, 20 Jun 1996 14:32:30 +0000 (14:32 +0000)]
Added HAVE_FLOCK

29 years agoSome cleanups. Change of address.
Guido van Rossum [Thu, 20 Jun 1996 14:32:08 +0000 (14:32 +0000)]
Some cleanups.  Change of address.

29 years agoSome cleanup; make for loops over subdirs less noisy, more informative.
Guido van Rossum [Thu, 20 Jun 1996 14:30:38 +0000 (14:30 +0000)]
Some cleanup; make for loops over subdirs less noisy, more informative.

29 years agoCosmetic change to the dox_8x3 hack.
Guido van Rossum [Thu, 20 Jun 1996 14:18:34 +0000 (14:18 +0000)]
Cosmetic change to the dox_8x3 hack.

29 years agoClear waitpid() status arg in case there's no process to report with
Guido van Rossum [Wed, 19 Jun 1996 23:17:02 +0000 (23:17 +0000)]
Clear waitpid() status arg in case there's no process to report with
WNOHANG set.

29 years agoRenamed static pow() to powerop() to avoid name conflict in some compilers.
Guido van Rossum [Wed, 19 Jun 1996 21:49:17 +0000 (21:49 +0000)]
Renamed static pow() to powerop() to avoid name conflict in some compilers.

29 years agoSjoerd's StringIO speed-up
Guido van Rossum [Wed, 19 Jun 1996 14:54:19 +0000 (14:54 +0000)]
Sjoerd's StringIO speed-up

29 years agoAdd test that script name ends in .py.
Guido van Rossum [Mon, 17 Jun 1996 17:49:13 +0000 (17:49 +0000)]
Add test that script name ends in .py.
Cosmetic changes to usage message (refer to "make install" now).

29 years agoGet struct _frozen defn from Python.h; new variable names.
Guido van Rossum [Mon, 17 Jun 1996 17:48:30 +0000 (17:48 +0000)]
Get struct _frozen defn from Python.h; new variable names.

29 years agoAdded more entries to create required target subdirectories for sharedinstall.
Guido van Rossum [Mon, 17 Jun 1996 17:33:11 +0000 (17:33 +0000)]
Added more entries to create required target subdirectories for sharedinstall.

29 years agoget rid of temporary README about Tommy's efforts
Guido van Rossum [Mon, 17 Jun 1996 17:15:28 +0000 (17:15 +0000)]
get rid of temporary README about Tommy's efforts

29 years agonew simple dialog module, incompatible
Guido van Rossum [Mon, 17 Jun 1996 17:14:46 +0000 (17:14 +0000)]
new simple dialog module, incompatible

29 years agoChange defn of splitnport() to only accept valid digit strings.
Guido van Rossum [Mon, 17 Jun 1996 17:11:40 +0000 (17:11 +0000)]
Change defn of splitnport() to only accept valid digit strings.

29 years agoImport marshal before using it :-(
Guido van Rossum [Mon, 17 Jun 1996 17:10:45 +0000 (17:10 +0000)]
Import marshal before using it :-(

29 years agoMemoize _deepcopy_tuple() -- maybe this helps Tommy's problem.
Guido van Rossum [Mon, 17 Jun 1996 17:10:11 +0000 (17:10 +0000)]
Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem.

29 years agoNew style interface via pointer variable.
Guido van Rossum [Mon, 17 Jun 1996 17:07:23 +0000 (17:07 +0000)]
New style interface via pointer variable.

29 years agostruct frozen is now struct _frozen and comes from import.h.
Guido van Rossum [Mon, 17 Jun 1996 17:06:34 +0000 (17:06 +0000)]
struct frozen is now struct _frozen and comes from import.h.

29 years agofrozen_modules is now officially part of the API, remove _ from new name.
Guido van Rossum [Mon, 17 Jun 1996 17:05:38 +0000 (17:05 +0000)]
frozen_modules is now officially part of the API, remove _ from new name.

29 years agoAdd defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
Guido van Rossum [Mon, 17 Jun 1996 17:05:01 +0000 (17:05 +0000)]
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();

29 years agoDefine sys.prefix and sys.exec_prefix (see Modules/getpath.c; from Makefile).
Guido van Rossum [Mon, 17 Jun 1996 17:02:48 +0000 (17:02 +0000)]
Define sys.prefix and sys.exec_prefix (see Modules/getpath.c; from Makefile).

29 years agoTest for zero-length argument in capitalize().
Guido van Rossum [Mon, 17 Jun 1996 16:59:33 +0000 (16:59 +0000)]
Test for zero-length argument in capitalize().

29 years agoAdded new.instance(class, dict).
Guido van Rossum [Mon, 17 Jun 1996 16:56:56 +0000 (16:56 +0000)]
Added new.instance(class, dict).

29 years agoAdded splitnport(), which is like splitport() but returns a numeric port,
Guido van Rossum [Thu, 13 Jun 1996 19:12:35 +0000 (19:12 +0000)]
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).

29 years agoadded capitalize()
Guido van Rossum [Wed, 12 Jun 1996 04:24:52 +0000 (04:24 +0000)]
added capitalize()

29 years agoYet another pass at fd2obj -- this time for Windows
Guido van Rossum [Wed, 12 Jun 1996 04:22:53 +0000 (04:22 +0000)]
Yet another pass at fd2obj -- this time for Windows

29 years agoprovide access to $(exec_)prefix
Guido van Rossum [Wed, 12 Jun 1996 04:20:27 +0000 (04:20 +0000)]
provide access to $(exec_)prefix

29 years agontohs, ntohl, htons, htonl -- thanks to Lance
Guido van Rossum [Wed, 12 Jun 1996 04:04:55 +0000 (04:04 +0000)]
ntohs, ntohl, htons, htonl -- thanks to Lance

29 years agomore changes for Windows, sigh
Guido van Rossum [Wed, 12 Jun 1996 04:04:22 +0000 (04:04 +0000)]
more changes for Windows, sigh

29 years agoBastionification utility (useful for rexec clients)
Guido van Rossum [Tue, 11 Jun 1996 20:12:49 +0000 (20:12 +0000)]
Bastionification utility (useful for rexec clients)

29 years agoAdd third arg to split(). Add capwords() -- which uses that.
Guido van Rossum [Tue, 11 Jun 1996 18:45:15 +0000 (18:45 +0000)]
Add third arg to split().  Add capwords() -- which uses that.

29 years agoAdded capitalize() and capwords().
Guido van Rossum [Tue, 11 Jun 1996 18:43:00 +0000 (18:43 +0000)]
Added capitalize() and capwords().

29 years agoAdd a hack for Solaris threads (why not, there are zillions of
Guido van Rossum [Tue, 11 Jun 1996 18:40:02 +0000 (18:40 +0000)]
Add a hack for Solaris threads (why not, there are zillions of
hacks for Windows and DOS here already :-( ).

29 years agoAvoid core dump in resizestring() on read() with 0 bytes.
Guido van Rossum [Tue, 11 Jun 1996 18:38:48 +0000 (18:38 +0000)]
Avoid core dump in resizestring() on read() with 0 bytes.

29 years agoCalculate length of AF_UNIX addr struct portably in getsockaddrarg().
Guido van Rossum [Tue, 11 Jun 1996 18:36:33 +0000 (18:36 +0000)]
Calculate length of AF_UNIX addr struct portably in getsockaddrarg().

29 years agoGet rid of obsolete allowbroadcast().
Guido van Rossum [Tue, 11 Jun 1996 18:35:24 +0000 (18:35 +0000)]
Get rid of obsolete allowbroadcast().
Avoid core dumps in resizestring().

29 years agoAvoid core dump on symcomp("").
Guido van Rossum [Tue, 11 Jun 1996 18:33:14 +0000 (18:33 +0000)]
Avoid core dump on symcomp("").

29 years agoGot rid of florida hack and made it work with Solaris 2.5 pthreads.
Guido van Rossum [Tue, 11 Jun 1996 18:32:18 +0000 (18:32 +0000)]
Got rid of florida hack and made it work with Solaris 2.5 pthreads.
Wonder if this will break it on all other platforms :-)

29 years agoA fcntl implementation for systems (like Solaris) without flock() call.
Guido van Rossum [Tue, 11 Jun 1996 15:11:34 +0000 (15:11 +0000)]
A fcntl implementation for systems (like Solaris) without flock() call.
By Sjoerd.

29 years agoregenerated files from IRIX 5.3 headers
Guido van Rossum [Tue, 11 Jun 1996 15:03:14 +0000 (15:03 +0000)]
regenerated files from IRIX 5.3 headers

29 years agoSupport optional filename argument for retrieve() and urlretrieve(),
Guido van Rossum [Tue, 11 Jun 1996 00:16:27 +0000 (00:16 +0000)]
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).

29 years agoNote that EOF is ^Z on DOS. Spell Unix as \UNIX in some more places.
Guido van Rossum [Mon, 10 Jun 1996 19:44:49 +0000 (19:44 +0000)]
Note that EOF is ^Z on DOS.  Spell Unix as \UNIX in some more places.
Note that .pyc files are platform independent.

29 years agosmall fix by Sjoerd
Guido van Rossum [Mon, 10 Jun 1996 19:04:02 +0000 (19:04 +0000)]
small fix by Sjoerd

29 years agoUse py_resource module
Jack Jansen [Fri, 31 May 1996 13:02:52 +0000 (13:02 +0000)]
Use py_resource module

29 years agoModule to handle PYC resources
Jack Jansen [Fri, 31 May 1996 13:02:21 +0000 (13:02 +0000)]
Module to handle PYC resources

29 years agoPyMac_GetFixed() didn't return 1 on success
Jack Jansen [Fri, 31 May 1996 13:01:39 +0000 (13:01 +0000)]
PyMac_GetFixed() didn't return 1 on success

29 years agoUse correct field of sigaction struct
Guido van Rossum [Wed, 29 May 1996 14:15:19 +0000 (14:15 +0000)]
Use correct field of sigaction struct

29 years agochange DumbWriter to derive from NullWriter
Guido van Rossum [Wed, 29 May 1996 00:02:30 +0000 (00:02 +0000)]
change DumbWriter to derive from NullWriter

29 years agooptimizations due to Fred Drake; added urldefrag() function
Guido van Rossum [Tue, 28 May 1996 23:54:24 +0000 (23:54 +0000)]
optimizations due to Fred Drake; added urldefrag() function

29 years agoConversions between mac paths and URLs
Guido van Rossum [Tue, 28 May 1996 23:52:06 +0000 (23:52 +0000)]
Conversions between mac paths and URLs

29 years agoMany improvements dure to Fred Drake
Guido van Rossum [Tue, 28 May 1996 23:50:49 +0000 (23:50 +0000)]
Many improvements dure to Fred Drake

29 years agoDocstringified and PASV support by Siebren (including new ftpcp() function).
Guido van Rossum [Tue, 28 May 1996 23:41:25 +0000 (23:41 +0000)]
Docstringified and PASV support by Siebren (including new ftpcp() function).

29 years agofix typo in load_dynamic
Guido van Rossum [Tue, 28 May 1996 23:34:10 +0000 (23:34 +0000)]
fix typo in load_dynamic

29 years agoBe more careful about default temp dir
Guido van Rossum [Tue, 28 May 1996 23:31:34 +0000 (23:31 +0000)]
Be more careful about default temp dir

29 years agoadded &quot def
Guido van Rossum [Tue, 28 May 1996 23:18:55 +0000 (23:18 +0000)]
added &quot def

29 years agoTotal rewrite
Guido van Rossum [Tue, 28 May 1996 23:17:13 +0000 (23:17 +0000)]
Total rewrite

29 years agomade it work again with changed Tkinter
Guido van Rossum [Tue, 28 May 1996 23:15:20 +0000 (23:15 +0000)]
made it work again with changed Tkinter

29 years agoMajor overhaul:
Guido van Rossum [Tue, 28 May 1996 23:14:36 +0000 (23:14 +0000)]
Major overhaul:

- Support ~[user] expansion.

- Remember last directory and pattern; optional 'key' argument
specifies different memory locations.

- Absolutify pathnames if possible.

- WM close event cancels the dialog.

- First arg to go() can be either a directory or a file (renamed to
dir_of_file); defaults to current directory.

29 years agodon't export selection
Guido van Rossum [Tue, 28 May 1996 23:10:30 +0000 (23:10 +0000)]
don't export selection

29 years agoadded hdl protocol properties
Guido van Rossum [Tue, 28 May 1996 23:10:02 +0000 (23:10 +0000)]
added hdl protocol properties

29 years agoremoved history comment
Guido van Rossum [Tue, 28 May 1996 23:09:09 +0000 (23:09 +0000)]
removed history comment

29 years agoadd translate() -- which was in strop per release 1.3
Guido van Rossum [Tue, 28 May 1996 23:08:45 +0000 (23:08 +0000)]
add translate() -- which was in strop per release 1.3

29 years agooptimization of getheader() using a dictionary
Guido van Rossum [Tue, 28 May 1996 23:08:25 +0000 (23:08 +0000)]
optimization of getheader() using a dictionary

29 years agoFix some obsolete names comments.
Guido van Rossum [Tue, 28 May 1996 23:07:17 +0000 (23:07 +0000)]
Fix some obsolete names comments.

Change RHooks() interface to not require a 'rexec' instance argument;
added set_rexec() method instead (which must be called by the RExec
instance using this RHooks instance).

Support dynamic loading of modules, at least for those modules that
are ok built-in modules.  Added new interfaces set_trusted_path() and
load_dynamic() to RExec class (the default trusted path consists of
all absolute pathnames in sys.path).

Change copy_except() to actually try to delete the exceptions.

29 years agoavoid eval() like the plague
Guido van Rossum [Tue, 28 May 1996 23:01:28 +0000 (23:01 +0000)]
avoid eval() like the plague

29 years agochange Mac creator/type
Guido van Rossum [Tue, 28 May 1996 23:01:05 +0000 (23:01 +0000)]
change Mac creator/type

29 years agochange return values of simple run* functions
Guido van Rossum [Tue, 28 May 1996 23:00:42 +0000 (23:00 +0000)]
change return values of simple run* functions

29 years agoremoved unused globals
Guido van Rossum [Tue, 28 May 1996 22:59:58 +0000 (22:59 +0000)]
removed unused globals

29 years agoadded setcontext and parsesequence; several small fixes
Guido van Rossum [Tue, 28 May 1996 22:59:37 +0000 (22:59 +0000)]
added setcontext and parsesequence; several small fixes

29 years agoexport error == IOError
Guido van Rossum [Tue, 28 May 1996 22:58:40 +0000 (22:58 +0000)]
export error == IOError

29 years agobump version (sorry)
Guido van Rossum [Tue, 28 May 1996 22:58:15 +0000 (22:58 +0000)]
bump version (sorry)

29 years agocapitalize H3 headers; add 'cgi.' prefix to example code
Guido van Rossum [Tue, 28 May 1996 22:57:20 +0000 (22:57 +0000)]
capitalize H3 headers; add 'cgi.' prefix to example code

29 years agoadded * and + operators
Guido van Rossum [Tue, 28 May 1996 22:56:16 +0000 (22:56 +0000)]
added * and + operators

29 years agosee new configure.in
Guido van Rossum [Tue, 28 May 1996 22:53:48 +0000 (22:53 +0000)]
see new configure.in

29 years agoSome more header files and symbols.
Guido van Rossum [Tue, 28 May 1996 22:53:03 +0000 (22:53 +0000)]
Some more header files and symbols.
Split the AC_CHECK_FUNCS() line using backslashes.
Added FreeBSD support.
Added XXX comment -- need to be more liberal or careful about -lreadline.

29 years agoAdded HAVE_ symbols for mkfifo, sigaction, sigrelse, ncurses.h.
Guido van Rossum [Tue, 28 May 1996 22:51:24 +0000 (22:51 +0000)]
Added HAVE_ symbols for mkfifo, sigaction, sigrelse, ncurses.h.

29 years agoconfig files for DOS and Windows (all versions, all compilers)
Guido van Rossum [Tue, 28 May 1996 22:50:17 +0000 (22:50 +0000)]
config files for DOS and Windows (all versions, all compilers)

29 years agoAdded some comments to the top.
Guido van Rossum [Tue, 28 May 1996 22:49:08 +0000 (22:49 +0000)]
Added some comments to the top.

Changed install targets so
(1) "make install" installs everything;
(2) more directories are built as needed;
(3) the X11R5 shell script install-sh is used (always).
(The script can't be called install.sh since some Make versions have a
default rule that copies "foo.sh" to "foo" when making "foo".)

Added target "smelly" which checks for non-Py-prefixed exported
symbols.

29 years agoChanged NT -> MSC or WATCOM
Guido van Rossum [Tue, 28 May 1996 22:30:38 +0000 (22:30 +0000)]
Changed NT -> MSC or WATCOM

29 years agogrand renaming; added copyright to some files
Guido van Rossum [Tue, 28 May 1996 22:30:17 +0000 (22:30 +0000)]
grand renaming; added copyright to some files

29 years agoPlug memory leak (variable names in code objects were being leaked!)
Guido van Rossum [Tue, 28 May 1996 22:28:12 +0000 (22:28 +0000)]
Plug memory leak (variable names in code objects were being leaked!)

29 years agoAdded Py_GetPath (getpythonpath)
Guido van Rossum [Tue, 28 May 1996 22:27:07 +0000 (22:27 +0000)]
Added Py_GetPath (getpythonpath)

29 years agominor fix to mime header regex --Sjoerd
Guido van Rossum [Tue, 28 May 1996 19:52:40 +0000 (19:52 +0000)]
minor fix to mime header regex --Sjoerd

29 years agoAuto-install on first import.
Guido van Rossum [Tue, 28 May 1996 15:52:00 +0000 (15:52 +0000)]
Auto-install on first import.
Added quick reference.

29 years agoUse ../install-sh to install files.
Guido van Rossum [Fri, 24 May 1996 21:14:44 +0000 (21:14 +0000)]
Use ../install-sh to install files.

29 years agoMade all c_* symbols static.
Guido van Rossum [Fri, 24 May 1996 21:12:28 +0000 (21:12 +0000)]
Made all c_* symbols static.

29 years agorename more symbols
Guido van Rossum [Fri, 24 May 1996 21:11:58 +0000 (21:11 +0000)]
rename more symbols

29 years agorename exported symbols with _Py_ prefix
Guido van Rossum [Fri, 24 May 1996 21:01:36 +0000 (21:01 +0000)]
rename exported symbols with _Py_ prefix

29 years agorename exported symbols with _Py_ prefix
Guido van Rossum [Fri, 24 May 1996 20:51:38 +0000 (20:51 +0000)]
rename exported symbols with _Py_ prefix

29 years agomake soundex_hash static
Guido van Rossum [Fri, 24 May 1996 20:50:57 +0000 (20:50 +0000)]
make soundex_hash static

29 years agoRemoved some done "to do" items.
Guido van Rossum [Fri, 24 May 1996 20:49:24 +0000 (20:49 +0000)]
Removed some done "to do" items.
Changed #ifdef DEBUG slightly.

29 years agorename printrefs, getobjects to _Py_ prefix
Guido van Rossum [Fri, 24 May 1996 20:48:31 +0000 (20:48 +0000)]
rename printrefs, getobjects to _Py_ prefix