]> granicus.if.org Git - python/log
python
28 years agoChange the Don Beaudry hack into the Don B + Jim F hack; now, if *any*
Guido van Rossum [Thu, 5 Dec 1996 23:17:11 +0000 (23:17 +0000)]
Change the Don Beaudry hack into the Don B + Jim F hack; now, if *any*
base class is special it gets invoked.

Make gcc -Wall happy.

28 years agoSome extra flags that an HPUX user wants me to add.
Guido van Rossum [Thu, 5 Dec 1996 23:15:35 +0000 (23:15 +0000)]
Some extra flags that an HPUX user wants me to add.

28 years agoTentative changes to make this work better on 64-bit machines.
Guido van Rossum [Thu, 5 Dec 1996 23:15:02 +0000 (23:15 +0000)]
Tentative changes to make this work better on 64-bit machines.
A plain int that doesn't fit in 32 bits will be marshalled using a new
type.  32 bits machines can't handle this and will issue a warning.

28 years ago(libparser.tex): Added note that the line number for a terminal token
Fred Drake [Thu, 5 Dec 1996 22:28:43 +0000 (22:28 +0000)]
(libparser.tex):  Added note that the line number for a terminal token
indicates the line on which the token ends rather than starts
(a side effect of interpreting the parse tree nodes directly).
Maybe I'll fix this for Python 2.0.

28 years agoMore stale info.
Guido van Rossum [Thu, 5 Dec 1996 22:26:17 +0000 (22:26 +0000)]
More stale info.

28 years agoNew URL for Swiss ftp mirror.
Guido van Rossum [Thu, 5 Dec 1996 22:01:11 +0000 (22:01 +0000)]
New URL for Swiss ftp mirror.

28 years agoMake gcc -Wall happy
Guido van Rossum [Thu, 5 Dec 1996 21:58:58 +0000 (21:58 +0000)]
Make gcc -Wall happy

28 years agoFix newlongobject so it will work for 64-bit as well as 32-bit hardware
Guido van Rossum [Thu, 5 Dec 1996 21:57:21 +0000 (21:57 +0000)]
Fix newlongobject so it will work for 64-bit as well as 32-bit hardware
(although for 32-bit hardware it's a bit slower than it was).

Make gcc -Wall happy.

28 years agoExperimental new implementation of dictionary comparison. This
Guido van Rossum [Thu, 5 Dec 1996 21:55:55 +0000 (21:55 +0000)]
Experimental new implementation of dictionary comparison.  This
defines that a shorter dictionary is always smaller than a longer one.
For dictionaries of the same size, the smallest differing element
determines the outcome (which yields the same results as before,
without explicit sorting).

28 years agoMake gcc -Wall happy.
Guido van Rossum [Thu, 5 Dec 1996 21:54:17 +0000 (21:54 +0000)]
Make gcc -Wall happy.

28 years agoBetter implementation of PyCObject_AsVoidPtr().
Guido van Rossum [Thu, 5 Dec 1996 21:53:15 +0000 (21:53 +0000)]
Better implementation of PyCObject_AsVoidPtr().

28 years agoYet more elaborate message for exception in __del__.
Guido van Rossum [Thu, 5 Dec 1996 21:52:32 +0000 (21:52 +0000)]
Yet more elaborate message for exception in __del__.
Make gcc -Wall happy.

28 years agoAdded missing PySequence_List.
Guido van Rossum [Thu, 5 Dec 1996 21:51:24 +0000 (21:51 +0000)]
Added missing PySequence_List.
Correct typo in error msg (expec[t]ed).
Make gcc -Wall happy.

28 years agoAdded missing for PySequence_List.
Guido van Rossum [Thu, 5 Dec 1996 21:48:50 +0000 (21:48 +0000)]
Added missing for PySequence_List.

28 years agoCorrect typo -- repeat implements *, not +.
Guido van Rossum [Thu, 5 Dec 1996 19:01:16 +0000 (19:01 +0000)]
Correct typo -- repeat implements *, not +.

28 years agoDescribe the new Unpacker.get_buffer() method.
Barry Warsaw [Wed, 4 Dec 1996 22:05:42 +0000 (22:05 +0000)]
Describe the new Unpacker.get_buffer() method.

28 years agoUnpacker.get_buffer(): new method to access the internal buffer of data
Barry Warsaw [Wed, 4 Dec 1996 22:04:39 +0000 (22:04 +0000)]
Unpacker.get_buffer(): new method to access the internal buffer of data

28 years agoMake gcc -Wall happy
Guido van Rossum [Mon, 2 Dec 1996 18:27:33 +0000 (18:27 +0000)]
Make gcc -Wall happy

28 years agoAdded [nh]to[hn][sl]().
Guido van Rossum [Mon, 2 Dec 1996 17:24:10 +0000 (17:24 +0000)]
Added [nh]to[hn][sl]().

28 years agoAdded .ilg (makeindex logfile)
Guido van Rossum [Wed, 27 Nov 1996 19:54:40 +0000 (19:54 +0000)]
Added .ilg (makeindex logfile)

28 years agoAdded some more turd files we can't avoid: .MIF, .ps, .auto.
Guido van Rossum [Wed, 27 Nov 1996 19:52:04 +0000 (19:52 +0000)]
Added some more turd files we can't avoid: .MIF, .ps, .auto.

28 years ago/usr/local/bin/python -> /usr/bin/env python
Guido van Rossum [Wed, 27 Nov 1996 19:52:01 +0000 (19:52 +0000)]
/usr/local/bin/python -> /usr/bin/env python

28 years agoWebmaker instructions
Guido van Rossum [Wed, 27 Nov 1996 19:51:35 +0000 (19:51 +0000)]
Webmaker instructions

28 years agoScript to write MIF files from ref*.{book,doc}
Guido van Rossum [Wed, 27 Nov 1996 19:50:32 +0000 (19:50 +0000)]
Script to write MIF files from ref*.{book,doc}

28 years agoPass self as master to Entry() widget constructor.
Guido van Rossum [Wed, 27 Nov 1996 19:47:42 +0000 (19:47 +0000)]
Pass self as master to Entry() widget constructor.

28 years agoChanged so that it replaces /usr/local/bin/python with /usr/bin/env python.
Guido van Rossum [Wed, 27 Nov 1996 19:43:49 +0000 (19:43 +0000)]
Changed so that it replaces /usr/local/bin/python with /usr/bin/env python.

28 years agoChanged logic so it now replaces anything that has #! and python in
Guido van Rossum [Wed, 27 Nov 1996 19:43:01 +0000 (19:43 +0000)]
Changed logic so it now replaces anything that has #! and python in
the first line, replacing the entire line.

28 years agoScript to fix cprt notice
Guido van Rossum [Wed, 27 Nov 1996 19:41:55 +0000 (19:41 +0000)]
Script to fix cprt notice

28 years agoAdded safeguard against failure in __del__.
Guido van Rossum [Wed, 27 Nov 1996 19:39:58 +0000 (19:39 +0000)]
Added safeguard against failure in __del__.

28 years agoAdded note about "boot" implying "clobber".
Guido van Rossum [Wed, 27 Nov 1996 19:38:53 +0000 (19:38 +0000)]
Added note about "boot" implying "clobber".
Added definition TARGET=python for more flexibility.

28 years agoCorrected *noconfig* to be *shared*; added cc: vlad back.
Guido van Rossum [Wed, 27 Nov 1996 19:38:00 +0000 (19:38 +0000)]
Corrected *noconfig* to be *shared*; added cc: vlad back.

28 years agomonty -> grail in Grail URL.
Guido van Rossum [Wed, 27 Nov 1996 15:24:34 +0000 (15:24 +0000)]
monty -> grail in Grail URL.

28 years agoUpgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code.
Guido van Rossum [Thu, 21 Nov 1996 16:02:12 +0000 (16:02 +0000)]
Upgraded new.function() contributed by Tommy.  Also got rid of #if 0'ed code.

28 years agoAdded ALL='all'.
Guido van Rossum [Wed, 20 Nov 1996 22:20:21 +0000 (22:20 +0000)]
Added ALL='all'.

28 years agoTurn leading minus sign into underscore for image widget name -- the
Guido van Rossum [Wed, 20 Nov 1996 22:17:38 +0000 (22:17 +0000)]
Turn leading minus sign into underscore for image widget name -- the
hyphen confused Tk into thinking the name was an option.

28 years agoAdded support for timezone in date field. getdate_tz() and
Guido van Rossum [Wed, 20 Nov 1996 22:12:26 +0000 (22:12 +0000)]
Added support for timezone in date field.  getdate_tz() and
parsedate_tz() return a 10-tuple, the last field is the tz offset in
seconds (e.g. -18000 or -5 hours for EST).

28 years agoWhen re-raising an exception raised by a module used internally as
Guido van Rossum [Wed, 20 Nov 1996 22:02:24 +0000 (22:02 +0000)]
When re-raising an exception raised by a module used internally as
IOError, keep the traceback.

28 years agoRemoved the USA'isms that aren't really true
Barry Warsaw [Wed, 20 Nov 1996 18:43:05 +0000 (18:43 +0000)]
Removed the USA'isms that aren't really true

28 years agoAdded reference to pdf documentation and bbpy, correctly explained
Jack Jansen [Wed, 20 Nov 1996 15:40:42 +0000 (15:40 +0000)]
Added reference to pdf documentation and bbpy, correctly explained
difference between aetools.Error and MacOS.Error for appletscript
programs.

28 years ago/usr/bin/env is slightly more portable
Barry Warsaw [Wed, 20 Nov 1996 15:19:10 +0000 (15:19 +0000)]
/usr/bin/env is slightly more portable

28 years agoAdded a few meta info
Barry Warsaw [Wed, 20 Nov 1996 15:17:50 +0000 (15:17 +0000)]
Added a few meta info

28 years agoAdded reference to pdf documentation and bbpy, correctly explained
Jack Jansen [Wed, 20 Nov 1996 15:13:24 +0000 (15:13 +0000)]
Added reference to pdf documentation and bbpy, correctly explained
difference between aetools.Error and MacOS.Error for appletscript
programs.

28 years agoFixed FSSpec->pathname code to add colon if the fsspec points to a disk.
Jack Jansen [Wed, 20 Nov 1996 14:58:27 +0000 (14:58 +0000)]
Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.

28 years agoFixed bundle to allow any object (file, folder, disk) to be dropped on
Jack Jansen [Wed, 20 Nov 1996 14:57:27 +0000 (14:57 +0000)]
Fixed bundle to allow any object (file, folder, disk) to be dropped on
an applet.

28 years agoFixed to allow sys.path initializer to be longer than 255 chars.
Jack Jansen [Wed, 20 Nov 1996 14:55:26 +0000 (14:55 +0000)]
Fixed to allow sys.path initializer to be longer than 255 chars.

28 years agoOutput original address
Barry Warsaw [Tue, 19 Nov 1996 17:59:07 +0000 (17:59 +0000)]
Output original address

28 years agoUpdated country codes as per ISO3166 10-Feb-1994
Barry Warsaw [Mon, 18 Nov 1996 23:22:34 +0000 (23:22 +0000)]
Updated country codes as per ISO3166 10-Feb-1994

28 years agoimplementation complete. need to update country codes
Barry Warsaw [Mon, 18 Nov 1996 22:57:43 +0000 (22:57 +0000)]
implementation complete.  need to update country codes

28 years agoAdded `ru' --> Russia
Barry Warsaw [Mon, 18 Nov 1996 22:03:36 +0000 (22:03 +0000)]
Added `ru' --> Russia

28 years agoA rewrite for better Python-ish style
Barry Warsaw [Mon, 18 Nov 1996 21:26:56 +0000 (21:26 +0000)]
A rewrite for better Python-ish style

28 years agoFixed a bug: files that no longer exist remotely would never be
Guido van Rossum [Thu, 14 Nov 1996 18:24:47 +0000 (18:24 +0000)]
Fixed a bug: files that no longer exist remotely would never be
removed from .mirrorinfo.  Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).

Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).

28 years agoAdded os.remove()/unlink(), rmdir(), rename(), and [f]truncate().
Guido van Rossum [Thu, 14 Nov 1996 14:10:11 +0000 (14:10 +0000)]
Added os.remove()/unlink(), rmdir(), rename(), and [f]truncate().

28 years agoAdded Q. about enabling *shared* on Linux.
Guido van Rossum [Wed, 13 Nov 1996 15:06:24 +0000 (15:06 +0000)]
Added Q. about enabling *shared* on Linux.

28 years agoWhen removing a messge from all sequences, don't remove from 'cur',
Guido van Rossum [Tue, 12 Nov 1996 04:15:47 +0000 (04:15 +0000)]
When removing a messge from all sequences, don't remove from 'cur',
which needs to stay unless explicitly set.

28 years ago(myformat.perl): Fixed handling of "\e" -- argh!
Fred Drake [Mon, 11 Nov 1996 23:03:36 +0000 (23:03 +0000)]
(myformat.perl):  Fixed handling of "\e" -- argh!

28 years ago(Makefile): Updated comments about using LaTeX2HTML for the library
Fred Drake [Mon, 11 Nov 1996 21:03:01 +0000 (21:03 +0000)]
(Makefile):  Updated comments about using LaTeX2HTML for the library
reference.  Made the extension to the input files for makeindex
explicit; if not made explicit a directory of the given base
name can cause makeindex to blow up.  Specifically, if there is
a directory ./lib/ created by LaTeX2HTML, "makeindex lib" will
fail, but "makeindex lib.idx" will not.

l2h{tut,ext,lib} are now dependent on myformat.perl.

l2h adds ls2lib and removes the non-existant l2href.

28 years ago(myformat.perl): Simplify generated HTML for "\optional{...}".
Fred Drake [Mon, 11 Nov 1996 20:51:09 +0000 (20:51 +0000)]
(myformat.perl):  Simplify generated HTML for "\optional{...}".

28 years ago(fix_libaux.sed): Hackish little sed script to modify lib.aux to get section
Fred Drake [Mon, 11 Nov 1996 20:49:27 +0000 (20:49 +0000)]
(fix_libaux.sed):  Hackish little sed script to modify lib.aux to get section
numbers right for latex2html for section titles which include
"\sectcode{__.*__}" in the name.  Perhaps less general than it should
be, but sufficient.

28 years ago(.latex2html-init): Perform some limited setup for the reference manuals;
Fred Drake [Mon, 11 Nov 1996 20:46:44 +0000 (20:46 +0000)]
(.latex2html-init):  Perform some limited setup for the reference manuals;
some defaults are set here, but mostly this allows the "\," command
to be used the way it is in the Python documentation.

All future documentation should probably be written with only ","
in the argument lists and not "\,".

28 years ago(myformat.sty): Simplify \varvars definition.
Fred Drake [Mon, 11 Nov 1996 20:43:46 +0000 (20:43 +0000)]
(myformat.sty):  Simplify \varvars definition.

28 years agoAdded 'strict_parsing' option to all parsing functions. This causes a
Guido van Rossum [Mon, 11 Nov 1996 19:29:11 +0000 (19:29 +0000)]
Added 'strict_parsing' option to all parsing functions.  This causes a
ValueError exception when the query string contains fields that don't
contain exactly one '=' sign.  (By default, such fields are simply
ignored.)  Added this to the doc string describing parse() and
parse_qs().

Also changed the default for keep_blank_values from None to 0 (the
preferred way to spell 'FALSE').

28 years agoDon't require leading '-' on option name to Text.tag_cget
Guido van Rossum [Mon, 11 Nov 1996 19:10:58 +0000 (19:10 +0000)]
Don't require leading '-' on option name to Text.tag_cget

28 years agoFix the way the Authorization header is sent (how could this have worked?).
Guido van Rossum [Mon, 11 Nov 1996 19:01:17 +0000 (19:01 +0000)]
Fix the way the Authorization header is sent (how could this have worked?).

28 years ago(myformat.perl): Updated to allow library reference manual to be handled by
Fred Drake [Mon, 11 Nov 1996 16:04:35 +0000 (16:04 +0000)]
(myformat.perl):  Updated to allow library reference manual to be handled by
latex2html.  Mostly added support for custom environments and some
of the smaller commands used in the library reference (\e, \optional).

28 years agoAdd twit "home" location to sys.path (so you can put the applet on the
Jack Jansen [Mon, 11 Nov 1996 15:40:45 +0000 (15:40 +0000)]
Add twit "home" location to sys.path (so you can put the applet on the
desktop)

28 years agoMake Py_ReturnNullError() statis as it should be.
Guido van Rossum [Mon, 11 Nov 1996 15:08:19 +0000 (15:08 +0000)]
Make Py_ReturnNullError() statis as it should be.

28 years agoOnly call sq_length in Sequence_GetItem for negative index.
Guido van Rossum [Sat, 9 Nov 1996 22:32:05 +0000 (22:32 +0000)]
Only call sq_length in Sequence_GetItem for negative index.

28 years agoChanged project segment structure to (more-or-less) match directory
Jack Jansen [Sat, 9 Nov 1996 19:12:03 +0000 (19:12 +0000)]
Changed project segment structure to (more-or-less) match directory
structure.

28 years agoUpdated (which should have been done before the 1.4 distribution).
Jack Jansen [Sat, 9 Nov 1996 18:48:49 +0000 (18:48 +0000)]
Updated (which should have been done before the 1.4 distribution).

28 years agoAdded PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec
Jack Jansen [Sat, 9 Nov 1996 18:48:06 +0000 (18:48 +0000)]
Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec

28 years agoGot rid of nfullpath()
Jack Jansen [Sat, 9 Nov 1996 18:46:57 +0000 (18:46 +0000)]
Got rid of nfullpath()

28 years agoGot rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
Jack Jansen [Sat, 9 Nov 1996 18:45:18 +0000 (18:45 +0000)]
Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
much identical anyway).
Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point
to the current application.

28 years agoWhen loading a PYC resource check whether the filename is the
Jack Jansen [Sat, 9 Nov 1996 18:43:44 +0000 (18:43 +0000)]
When loading a PYC resource check whether the filename is the
application, and if so take a shortcut. This should speedup loading
PYC resources when running off a CDROM quite a bit.

28 years agoMore sensible default sys.path
Jack Jansen [Sat, 9 Nov 1996 18:42:13 +0000 (18:42 +0000)]
More sensible default sys.path

28 years agoKeep the folder structure in Mac:mwerks:projects similar to the
Jack Jansen [Sat, 9 Nov 1996 18:36:00 +0000 (18:36 +0000)]
Keep the folder structure in Mac:mwerks:projects similar to the
toplevel build folder structure.

28 years agoRemoved addpack calls
Jack Jansen [Sat, 9 Nov 1996 18:34:30 +0000 (18:34 +0000)]
Removed addpack calls

28 years agoRemoved old project file, als restructured projects directory to
Jack Jansen [Sat, 9 Nov 1996 18:29:30 +0000 (18:29 +0000)]
Removed old project file, als restructured projects directory to
reflect build directory structure (the latter done by hand)

28 years agoFix syntax of commented-out variables
Guido van Rossum [Wed, 6 Nov 1996 16:39:12 +0000 (16:39 +0000)]
Fix syntax of commented-out variables

28 years agoAdded 'Introduction' section head and 'Memory Management' subsection.
Guido van Rossum [Wed, 6 Nov 1996 15:47:58 +0000 (15:47 +0000)]
Added 'Introduction' section head and 'Memory Management' subsection.

28 years agocorrect typo in return variable for PySequence_Index()
Guido van Rossum [Wed, 6 Nov 1996 15:31:46 +0000 (15:31 +0000)]
correct typo in return variable for PySequence_Index()

28 years agoShould compare errno to 0, not NULL
Guido van Rossum [Sat, 2 Nov 1996 17:31:22 +0000 (17:31 +0000)]
Should compare errno to 0, not NULL

28 years agoChange last Ellipses to Ellipsis :-(
Guido van Rossum [Sat, 2 Nov 1996 17:05:21 +0000 (17:05 +0000)]
Change last Ellipses to Ellipsis :-(

28 years ago(Makefile): Updated latex2html support.
Fred Drake [Tue, 29 Oct 1996 16:07:46 +0000 (16:07 +0000)]
(Makefile):  Updated latex2html support.

28 years ago(myformat.perl): Added handler for cfuncdesc environment. This is needed
Fred Drake [Tue, 29 Oct 1996 15:56:57 +0000 (15:56 +0000)]
(myformat.perl):  Added handler for cfuncdesc environment.  This is needed
for the extending & embedding manual.

28 years ago(myformat.sty, extref.tex): Moved definition of cfuncdesc environment to
Fred Drake [Tue, 29 Oct 1996 15:55:08 +0000 (15:55 +0000)]
(myformat.sty, extref.tex):  Moved definition of cfuncdesc environment to
myformat.sty; having it in extref.tex confuses LaTeX2HTML.

28 years ago(tut.tex): Added matching \normalsize after \small font control command
Fred Drake [Tue, 29 Oct 1996 15:50:05 +0000 (15:50 +0000)]
(tut.tex):  Added matching \normalsize after \small font control command
(and the contents it was supposed to be affecting).  The latest
LaTeX2HTML handles these, but didn't close it as expected.  This
handles that problem and does not affect the PostScript output.

28 years ago(match-string): Added a definition for older Emacsen.
Barry Warsaw [Tue, 29 Oct 1996 15:32:57 +0000 (15:32 +0000)]
(match-string): Added a definition for older Emacsen.

28 years ago(texi2html.py): Minor improvement to HTML 3.0 output for code examples.
Fred Drake [Fri, 25 Oct 1996 22:13:59 +0000 (22:13 +0000)]
(texi2html.py):  Minor improvement to HTML 3.0 output for code examples.

28 years ago(partparse.py): Fix nasty bug where \e got translated to @e only within
Fred Drake [Fri, 25 Oct 1996 22:13:10 +0000 (22:13 +0000)]
(partparse.py):  Fix nasty bug where \e got translated to @e only within
the optional arg of an \item[].

28 years agoThis commit was manufactured by cvs2svn to create tag 'release14'. v1.4
cvs2svn [Fri, 25 Oct 1996 15:40:20 +0000 (15:40 +0000)]
This commit was manufactured by cvs2svn to create tag 'release14'.

28 years agoAdded disclaimer.
Guido van Rossum [Fri, 25 Oct 1996 15:40:20 +0000 (15:40 +0000)]
Added disclaimer.

28 years agoNew permission notice, includes CNRI.
Guido van Rossum [Fri, 25 Oct 1996 14:44:06 +0000 (14:44 +0000)]
New permission notice, includes CNRI.

28 years agoAdded disclaimer.
Guido van Rossum [Fri, 25 Oct 1996 14:35:24 +0000 (14:35 +0000)]
Added disclaimer.

28 years agoReady for release. Added section on the book. Removed bugs/gripes emails.
Guido van Rossum [Fri, 25 Oct 1996 14:32:48 +0000 (14:32 +0000)]
Ready for release.  Added section on the book.  Removed bugs/gripes emails.
New copyright.

28 years agoNoticed a few more things that have been done.
Guido van Rossum [Fri, 25 Oct 1996 14:25:31 +0000 (14:25 +0000)]
Noticed a few more things that have been done.

28 years agoAdded last-minute changes.
Guido van Rossum [Fri, 25 Oct 1996 14:21:55 +0000 (14:21 +0000)]
Added last-minute changes.

28 years agoUpdated notice.
Guido van Rossum [Fri, 25 Oct 1996 14:06:07 +0000 (14:06 +0000)]
Updated notice.

28 years agoCNRI additions, approved by the boss and his wife :-)
Guido van Rossum [Fri, 25 Oct 1996 13:45:43 +0000 (13:45 +0000)]
CNRI additions, approved by the boss and his wife :-)

28 years agoSmall nits only.
Guido van Rossum [Thu, 24 Oct 1996 22:49:13 +0000 (22:49 +0000)]
Small nits only.

28 years agoThe usual :-(
Guido van Rossum [Thu, 24 Oct 1996 22:27:16 +0000 (22:27 +0000)]
The usual :-(