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

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