]> granicus.if.org Git - python/log
python
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

29 years agomake some things static
Guido van Rossum [Fri, 24 May 1996 20:45:01 +0000 (20:45 +0000)]
make some things static

29 years agoOnly define PyOS_ReadlineInit if WITH_READLINE defined.
Guido van Rossum [Fri, 24 May 1996 20:44:12 +0000 (20:44 +0000)]
Only define PyOS_ReadlineInit if WITH_READLINE defined.

29 years agorename parser internal symbols with _Py_ prefix
Guido van Rossum [Fri, 24 May 1996 20:43:31 +0000 (20:43 +0000)]
rename parser internal symbols with _Py_ prefix

29 years agodon't use NDEBUG
Guido van Rossum [Fri, 24 May 1996 20:43:12 +0000 (20:43 +0000)]
don't use NDEBUG

29 years agoX11 install.sh script
Guido van Rossum [Fri, 24 May 1996 18:58:43 +0000 (18:58 +0000)]
X11 install.sh script

29 years agoRemoved most of the README text since it is all about the Mac specific
Guido van Rossum [Fri, 24 May 1996 18:43:47 +0000 (18:43 +0000)]
Removed most of the README text since it is all about the Mac specific
examples, which no longer live here.

29 years agoFix typos (need to use tag_bind, not bind).
Guido van Rossum [Fri, 24 May 1996 18:40:46 +0000 (18:40 +0000)]
Fix typos (need to use tag_bind, not bind).

29 years agoAdded mkfifo, ftruncate. Windows/PC changes.
Guido van Rossum [Thu, 23 May 1996 22:58:55 +0000 (22:58 +0000)]
Added mkfifo, ftruncate.  Windows/PC changes.

29 years agoBe more careful about default args.
Guido van Rossum [Thu, 23 May 1996 22:57:54 +0000 (22:57 +0000)]
Be more careful about default args.

29 years agoUse struct _inittab def from import.h
Guido van Rossum [Thu, 23 May 1996 22:57:18 +0000 (22:57 +0000)]
Use struct _inittab def from import.h

29 years agoAdded flock().
Guido van Rossum [Thu, 23 May 1996 22:56:38 +0000 (22:56 +0000)]
Added flock().

29 years agoMicrosoft C changes
Guido van Rossum [Thu, 23 May 1996 22:56:19 +0000 (22:56 +0000)]
Microsoft C changes

29 years agoSubtle Windows changes
Guido van Rossum [Thu, 23 May 1996 22:55:58 +0000 (22:55 +0000)]
Subtle Windows changes

29 years agoUse sigaction if possible
Guido van Rossum [Thu, 23 May 1996 22:55:35 +0000 (22:55 +0000)]
Use sigaction if possible

29 years agoWindows/PC changes
Guido van Rossum [Thu, 23 May 1996 22:54:50 +0000 (22:54 +0000)]
Windows/PC changes

29 years agoAdded __doc__ strings. Added get_soundex().
Guido van Rossum [Thu, 23 May 1996 22:54:17 +0000 (22:54 +0000)]
Added __doc__ strings.  Added get_soundex().

29 years agoWatcom changes.
Guido van Rossum [Thu, 23 May 1996 22:53:47 +0000 (22:53 +0000)]
Watcom changes.
Add mktime() overflow test and make it NeXT robust by initializing
the structure from localtime().

29 years agoremoved verbose decl; added win3.1 dynamic linking.
Guido van Rossum [Thu, 23 May 1996 22:51:40 +0000 (22:51 +0000)]
removed verbose decl; added win3.1 dynamic linking.

29 years agomoved verbose decl to pydebug.h; added dos_8x3 feature
Guido van Rossum [Thu, 23 May 1996 22:51:04 +0000 (22:51 +0000)]
moved verbose decl to pydebug.h; added dos_8x3 feature

29 years agoAdded copyright.
Guido van Rossum [Thu, 23 May 1996 22:50:26 +0000 (22:50 +0000)]
Added copyright.
Include config.h which may define COMPILER.

29 years agoremoved sime redundant header includes and decls.
Guido van Rossum [Thu, 23 May 1996 22:49:38 +0000 (22:49 +0000)]
removed sime redundant header includes and decls.

29 years agoRemoved some redundant header includes.
Guido van Rossum [Thu, 23 May 1996 22:49:07 +0000 (22:49 +0000)]
Removed some redundant header includes.

dir(object) now returns object.__dict__.keys() even if __dict__ is not
a dictionary.

29 years agonew debugger symbol names
Guido van Rossum [Thu, 23 May 1996 22:46:51 +0000 (22:46 +0000)]
new debugger symbol names

29 years agoTRACE_REFS -> Py_TRACE_REFS
Guido van Rossum [Thu, 23 May 1996 22:45:41 +0000 (22:45 +0000)]
TRACE_REFS -> Py_TRACE_REFS

29 years agoAdded PySys_SetPath.
Guido van Rossum [Wed, 22 May 1996 17:31:52 +0000 (17:31 +0000)]
Added PySys_SetPath.

29 years agoDon't declare Py_FatalError.
Guido van Rossum [Wed, 22 May 1996 17:30:12 +0000 (17:30 +0000)]
Don't declare Py_FatalError.
Add Py_mport_Init and PyBuiltin_Init.

29 years agoDefine DL_IMPORT if necessary.
Guido van Rossum [Wed, 22 May 1996 17:28:54 +0000 (17:28 +0000)]
Define DL_IMPORT if necessary.
Include pydebug.h instead of declaring Py_FatalError.

29 years agoAdded __WATCOMC__ as DOS compiler.
Guido van Rossum [Wed, 22 May 1996 17:26:25 +0000 (17:26 +0000)]
Added __WATCOMC__ as DOS compiler.

29 years agoAdded decl for PyImport_Init.
Guido van Rossum [Wed, 22 May 1996 17:25:28 +0000 (17:25 +0000)]
Added decl for PyImport_Init.
Changed decl for inittab to define struct _inittab first.

29 years agoUsed new names for PyBuiltin_GetDict, PyBuiltin_GetModule.
Guido van Rossum [Wed, 22 May 1996 17:24:06 +0000 (17:24 +0000)]
Used new names for PyBuiltin_GetDict, PyBuiltin_GetModule.
Added PyBuiltin_Init.

29 years agoAdded PyFile_decls for PyFile_WriteObject, PyFile_SoftSpace,
Guido van Rossum [Wed, 22 May 1996 17:22:22 +0000 (17:22 +0000)]
Added PyFile_decls for PyFile_WriteObject, PyFile_SoftSpace,
PyFile_WriteString.

29 years agoDebug related variable/function definitions go here.
Guido van Rossum [Wed, 22 May 1996 16:38:17 +0000 (16:38 +0000)]
Debug related variable/function definitions go here.

29 years agoNon-trivial DL_IMPORT must now be defined in config.h.
Guido van Rossum [Wed, 22 May 1996 16:37:29 +0000 (16:37 +0000)]
Non-trivial DL_IMPORT must now be defined in config.h.
Include <stdlib.h>.
Include several more Python header files, including new pydebug.h.

29 years agoUse new names for debug macros. Don't include pythonrun.h.
Guido van Rossum [Wed, 22 May 1996 16:35:33 +0000 (16:35 +0000)]
Use new names for debug macros.  Don't include pythonrun.h.

29 years agoTRACE_REFS -> Py_TRACE_REFS.
Guido van Rossum [Wed, 22 May 1996 16:34:47 +0000 (16:34 +0000)]
TRACE_REFS -> Py_TRACE_REFS.
Added disgusting hack to force loading of abstract.o.

29 years agoAdded some visual enhancements of debugging ifdefs.
Guido van Rossum [Wed, 22 May 1996 16:33:22 +0000 (16:33 +0000)]
Added some visual enhancements of debugging ifdefs.
Added PyNumber_Coerce decl.

29 years agoRemoved TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Guido van Rossum [Wed, 22 May 1996 16:30:09 +0000 (16:30 +0000)]
Removed TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Added defs for getbuiltindict, getbuiltinmod (bltinmodule.c).

29 years agoPlug memory leak in the previous fix :-(
Guido van Rossum [Tue, 21 May 1996 23:44:17 +0000 (23:44 +0000)]
Plug memory leak in the previous fix :-(

29 years agoFix obscure bug in string%mapping where the mapping creates its items
Guido van Rossum [Tue, 21 May 1996 22:44:20 +0000 (22:44 +0000)]
Fix obscure bug in string%mapping where the mapping creates its items
on the fly -- there was an unsafe DECREF.  Actually save some lines of
code by using abstract.c:PyObject_GetItem().

29 years agomore changes copied from Grail
Guido van Rossum [Tue, 21 May 1996 20:30:07 +0000 (20:30 +0000)]
more changes copied from Grail

29 years agoModified for 1.3.3 distribution
Jack Jansen [Mon, 20 May 1996 11:32:49 +0000 (11:32 +0000)]
Modified for 1.3.3 distribution

29 years agoAdded splash method (to quickly display splash screen without first
Jack Jansen [Mon, 20 May 1996 11:32:00 +0000 (11:32 +0000)]
Added splash method (to quickly display splash screen without first
having to load a zillion extension modules)

29 years agoAdded waste
Jack Jansen [Mon, 20 May 1996 11:31:13 +0000 (11:31 +0000)]
Added waste

29 years agoFixed callback handling on 68K machines.
Jack Jansen [Mon, 20 May 1996 11:30:45 +0000 (11:30 +0000)]
Fixed callback handling on 68K machines.