]> granicus.if.org Git - python/log
python
26 years agoAdd new spares to the end of the type object struct.
Guido van Rossum [Thu, 23 Apr 1998 19:16:44 +0000 (19:16 +0000)]
Add new spares to the end of the type object struct.

26 years agoFreeze assumes that all built-in modules are part of the Python core.
Guido van Rossum [Thu, 23 Apr 1998 14:39:24 +0000 (14:39 +0000)]
Freeze assumes that all built-in modules are part of the Python core.
This is not necessarily the case.  It is possible to create a Python
binary which contains built-in extension modules.  Therefore
checkextensions should be used for all unknown and builtin modules.
(Sjoerd Mullender)

26 years agoIf freezing with the -O option, the optimized bytecode files are
Guido van Rossum [Thu, 23 Apr 1998 14:39:05 +0000 (14:39 +0000)]
If freezing with the -O option, the optimized  bytecode files are
used.  It is useful to implicitly set the -O flag in the frozen
application.
(Sjoerd Mullender)

26 years agoWhen using extention modules, relative path names that occur in the
Guido van Rossum [Thu, 23 Apr 1998 14:38:46 +0000 (14:38 +0000)]
When using extention modules, relative path names that occur in the
Setup file are fixed so that they will work from the freeze build
directory.  However, relative path names in liner -L and -R options
are not fixed in this way.
(Sjoerd Mullender)

26 years agoConvert recent additions to use new, "logical" markup.
Fred Drake [Thu, 23 Apr 1998 14:06:01 +0000 (14:06 +0000)]
Convert recent additions to use new, "logical" markup.

I suppose we really do need a markup guide.  -sigh-

26 years agoRun the self-test (test.test_MimeWriter) when invoked as a script.
Guido van Rossum [Thu, 23 Apr 1998 13:34:57 +0000 (13:34 +0000)]
Run the self-test (test.test_MimeWriter) when invoked as a script.

26 years agoAdd test for MimeWriter module
Guido van Rossum [Thu, 23 Apr 1998 13:33:56 +0000 (13:33 +0000)]
Add test for MimeWriter module

26 years agoAdd writelines() method to Compare class.
Guido van Rossum [Thu, 23 Apr 1998 13:33:21 +0000 (13:33 +0000)]
Add writelines() method to Compare class.

26 years agoRegenerated with FOUR_CHAR_CODE defined
Jack Jansen [Thu, 23 Apr 1998 13:23:12 +0000 (13:23 +0000)]
Regenerated with FOUR_CHAR_CODE defined

26 years agoAdded support for the horribly complex TimeRecord, so we can position
Jack Jansen [Thu, 23 Apr 1998 13:22:44 +0000 (13:22 +0000)]
Added support for the horribly complex TimeRecord, so we can position
movies, etc. TimeBase objects have also been slightly modified for
this (for instance: the DisposeTimeBase call shouldn't be done in the
__del__ routine, the timebase might belong to someone else).

26 years agoSetPort was missing, and the defs file needs the FOUR_CHAR_CODE define.
Jack Jansen [Thu, 23 Apr 1998 13:21:09 +0000 (13:21 +0000)]
SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define.

26 years agoIncorrect argument for PyMacBuildwide()
Jack Jansen [Thu, 23 Apr 1998 13:20:17 +0000 (13:20 +0000)]
Incorrect argument for PyMacBuildwide()

26 years agoIn method & function tables, added a cast for the function pointers to keep
Fred Drake [Tue, 21 Apr 1998 22:31:45 +0000 (22:31 +0000)]
In method & function tables, added a cast for the function pointers to keep
compilers happy.

initparser():  Remove unused variable.

gcc -Wall is now happy.

26 years agoBe less naive about null characters in an object's repr().
Guido van Rossum [Tue, 21 Apr 1998 22:25:01 +0000 (22:25 +0000)]
Be less naive about null characters in an object's repr().

26 years agoCW Pro 3 FC8 projects. Checked in because of ColorPicker and Printing
Jack Jansen [Tue, 21 Apr 1998 15:30:36 +0000 (15:30 +0000)]
CW Pro 3 FC8 projects. Checked in because of ColorPicker and Printing
modules, mainly.

26 years agoFilled in some more blanks, with the help of Drew Csillag.
Guido van Rossum [Tue, 21 Apr 1998 15:30:01 +0000 (15:30 +0000)]
Filled in some more blanks, with the help of Drew Csillag.

26 years agoIf there's no comment for an error we use the symbolic name as the
Jack Jansen [Tue, 21 Apr 1998 15:27:45 +0000 (15:27 +0000)]
If there's no comment for an error we use the symbolic name as the
error message. Not really fantastic, but "reqAborted" is better than
"MacOS error -1105" at least.

26 years agoRemoved unused import of addpack
Jack Jansen [Tue, 21 Apr 1998 15:26:26 +0000 (15:26 +0000)]
Removed unused import of addpack

26 years agoMoved some code around: occasionally the SetCreatorFileType didn't
Jack Jansen [Tue, 21 Apr 1998 15:25:57 +0000 (15:25 +0000)]
Moved some code around: occasionally the SetCreatorFileType didn't
work because the finder got there first (at leats, that's what I think
happened).

26 years agoUpdated for Python 1.5.1: version number, preference filename, etc
Jack Jansen [Tue, 21 Apr 1998 15:25:12 +0000 (15:25 +0000)]
Updated for Python 1.5.1: version number, preference filename, etc

26 years agoAdded PyMac_{Get,Build}wide. These should support python longints at
Jack Jansen [Tue, 21 Apr 1998 15:24:39 +0000 (15:24 +0000)]
Added PyMac_{Get,Build}wide. These should support python longints at
some point in the future.

26 years agoRe-generated from new (3.1) universal headers
Jack Jansen [Tue, 21 Apr 1998 15:23:55 +0000 (15:23 +0000)]
Re-generated from new (3.1) universal headers

26 years agoAdded ColorPicker and Printing modules, donated by Just. In config.c
Jack Jansen [Tue, 21 Apr 1998 15:23:02 +0000 (15:23 +0000)]
Added ColorPicker and Printing modules, donated by Just. In config.c
they're dependent on the WITH_TOOLBOX define.

26 years agoRegenerated from new (3.1) universal headers
Jack Jansen [Tue, 21 Apr 1998 15:21:52 +0000 (15:21 +0000)]
Regenerated from new (3.1) universal headers

26 years agoRe-generated with slightly more intelligent script
Jack Jansen [Tue, 21 Apr 1998 15:21:21 +0000 (15:21 +0000)]
Re-generated with slightly more intelligent script

26 years agoAdd (temporary) PyMac_{Build,Get}wide
Jack Jansen [Tue, 21 Apr 1998 15:20:50 +0000 (15:20 +0000)]
Add (temporary) PyMac_{Build,Get}wide

26 years agoAdd HAVE_MKTIME
Jack Jansen [Tue, 21 Apr 1998 15:20:20 +0000 (15:20 +0000)]
Add HAVE_MKTIME

26 years agoRemove bogus CCSHARED for cc on IRIX 6.x.
Guido van Rossum [Mon, 20 Apr 1998 18:51:54 +0000 (18:51 +0000)]
Remove bogus CCSHARED for cc on IRIX 6.x.

26 years agoAdd #ifdefs so Tcl_Finalize isn't referenced when it's not defined.
Guido van Rossum [Mon, 20 Apr 1998 18:47:52 +0000 (18:47 +0000)]
Add #ifdefs so Tcl_Finalize isn't referenced when it's not defined.

26 years agoShouldn't import addpack!
Guido van Rossum [Mon, 20 Apr 1998 17:53:19 +0000 (17:53 +0000)]
Shouldn't import addpack!

26 years agoFix problem for the Library Reference where high-numbered sections of
Fred Drake [Mon, 20 Apr 1998 16:55:14 +0000 (16:55 +0000)]
Fix problem for the Library Reference where high-numbered sections of
high-numbered chapters took too much space for the section number in the
table of contents.  This makes the section number and title not overlap.

26 years agoAdded \label to subsections which didn't have one, since this module has
Fred Drake [Mon, 20 Apr 1998 16:28:44 +0000 (16:28 +0000)]
Added \label to subsections which didn't have one, since this module has
subsections listed in the documentation index sidebar.  (Why?)

26 years agoFix vonmisesvariate() -- it now returns an angle between 0 and *two*
Guido van Rossum [Mon, 20 Apr 1998 14:43:44 +0000 (14:43 +0000)]
Fix vonmisesvariate() -- it now returns an angle between 0 and *two*
times pi.  Got rid of $math$ here and in one other place.

26 years agoAs Tim Peters points out, ``from string import *'' should not set re to None.
Guido van Rossum [Mon, 20 Apr 1998 14:01:00 +0000 (14:01 +0000)]
As Tim Peters points out, ``from string import *'' should not set re to None.
Also rename safe_env to _safe_env.

26 years agocleanup(): Get rid of module index turds.
Fred Drake [Fri, 17 Apr 1998 20:25:55 +0000 (20:25 +0000)]
cleanup():  Get rid of module index turds.

26 years agoIgnore the mac/ directory where latex2html spits out HTML.
Fred Drake [Fri, 17 Apr 1998 20:08:36 +0000 (20:08 +0000)]
Ignore the mac/ directory where latex2html spits out HTML.

26 years agoMake the intro section explicit, so that latex2html puts it on a separate
Fred Drake [Fri, 17 Apr 1998 20:07:21 +0000 (20:07 +0000)]
Make the intro section explicit, so that latex2html puts it on a separate
page from the table of contents.

26 years agobuild_ps(): Fix flags to dvips.
Fred Drake [Fri, 17 Apr 1998 20:06:16 +0000 (20:06 +0000)]
build_ps():  Fix flags to dvips.

build_html():  Deal with node2label.pl a little better.

26 years agonext_optional_argument(): Don't include the square brackets in the return
Fred Drake [Fri, 17 Apr 1998 20:04:09 +0000 (20:04 +0000)]
next_optional_argument():  Don't include the square brackets in the return
value.

ArabictoRoman():  Acquired function from Robert Donohue
<donahue@cfassp48.harvard.edu>; might be useful someday, and I don't
want to figure it out again!

26 years agoFix things. Blame Andy Eskilsson <andy.eskilsson@telelogic.se>.
Fred Drake [Fri, 17 Apr 1998 15:28:09 +0000 (15:28 +0000)]
Fix things.  Blame Andy Eskilsson <andy.eskilsson@telelogic.se>.

But I'm not giving this or the info files out until Andy (or anyone else)
agrees to take over the maintenance of this script!  Hah!

26 years agoMark TMPDIR correctly.
Fred Drake [Fri, 17 Apr 1998 14:51:04 +0000 (14:51 +0000)]
Mark TMPDIR correctly.

26 years agoReplaced addpack by handcrafted code to find the bgen stuff.
Jack Jansen [Fri, 17 Apr 1998 14:07:56 +0000 (14:07 +0000)]
Replaced addpack by handcrafted code to find the bgen stuff.

26 years agoRemoved reop
Jack Jansen [Fri, 17 Apr 1998 14:06:47 +0000 (14:06 +0000)]
Removed reop

26 years agoSeparate the Mac-related files from the library reference files. The new
Fred Drake [Fri, 17 Apr 1998 14:01:44 +0000 (14:01 +0000)]
Separate the Mac-related files from the library reference files.  The new
variable isn't used yet.

26 years agoRemove commented-out Mac chapter.
Fred Drake [Fri, 17 Apr 1998 13:24:55 +0000 (13:24 +0000)]
Remove commented-out Mac chapter.

26 years agoAdjust to allow both general and module indexes.
Fred Drake [Fri, 17 Apr 1998 02:52:12 +0000 (02:52 +0000)]
Adjust to allow both general and module indexes.

PDF output properly supports the outline.

26 years agoPython HOWTO document that replaces the old Mac section from the reference
Fred Drake [Fri, 17 Apr 1998 02:47:13 +0000 (02:47 +0000)]
Python HOWTO document that replaces the old Mac section from the reference
manual.

26 years agoAdjust so that it works as part of a HOWTO-based manual.
Fred Drake [Fri, 17 Apr 1998 02:46:34 +0000 (02:46 +0000)]
Adjust so that it works as part of a HOWTO-based manual.

26 years agoShift (re-)definition of \theindex to the document classes so that it doesn't
Fred Drake [Fri, 17 Apr 1998 02:45:41 +0000 (02:45 +0000)]
Shift (re-)definition of \theindex to the document classes so that it doesn't
break HOWTO documents.

26 years agoHide \varvars from "public" interface.
Fred Drake [Fri, 17 Apr 1998 02:17:00 +0000 (02:17 +0000)]
Hide \varvars from "public" interface.

26 years agoNew helper functions to help deal with parameter parsing.
Fred Drake [Fri, 17 Apr 1998 02:15:42 +0000 (02:15 +0000)]
New helper functions to help deal with parameter parsing.

Use the helpers in do_cmd_*() and do_env_*(); *much* cleaner!

26 years agoCode cleanup, some syntax modernization.
Fred Drake [Fri, 17 Apr 1998 02:14:12 +0000 (02:14 +0000)]
Code cleanup, some syntax modernization.

26 years agoSignature for dir() omitted the optional argument.
Fred Drake [Thu, 16 Apr 1998 22:10:27 +0000 (22:10 +0000)]
Signature for dir() omitted the optional argument.

26 years agoFix regexp for attrfind; bug reported by Lars Marius Garshol
Fred Drake [Thu, 16 Apr 1998 21:04:26 +0000 (21:04 +0000)]
Fix regexp for attrfind; bug reported by Lars Marius Garshol
<larsga@ifi.uio.no>.

26 years ago(py-compute-indentation): Use forward-comment to skip over all
Barry Warsaw [Thu, 16 Apr 1998 20:04:59 +0000 (20:04 +0000)]
(py-compute-indentation): Use forward-comment to skip over all
whitespace and comment noise.

26 years agoOpen wave files in binary mode.
Fred Drake [Thu, 16 Apr 1998 16:44:33 +0000 (16:44 +0000)]
Open wave files in binary mode.

Accept 'rb' and 'wb' as well as 'r' and 'w' as the mode parameter to open().

26 years agoFix the broken PDF links, really this time!
Fred Drake [Wed, 15 Apr 1998 17:50:22 +0000 (17:50 +0000)]
Fix the broken PDF links, really this time!

Appending a junk char to the end doesn't quite do it, or doesn't seem to at
any rate.  Instead, pad the page numbers to always be 3 charaters wide, with
leading zeros.

26 years agoFix the broken PDF links, really this time!
Fred Drake [Wed, 15 Apr 1998 17:50:01 +0000 (17:50 +0000)]
Fix the broken PDF links, really this time!

"." cannot be part of the target names either.

Appending a junk char to the end doesn't quite do it, or doesn't seem to at
any rate.  Instead, pad the page numbers to always be 3 charaters wide, with
leading zeros.

26 years agoChange the form of the name given to each page of the PDF from "page.%d" to
Fred Drake [Wed, 15 Apr 1998 14:53:28 +0000 (14:53 +0000)]
Change the form of the name given to each page of the PDF from "page.%d" to
"page.%dx"; this works around an acroread bug that causes targets not to be
recognized if their name is a prefix of another target in the file.

26 years agoAdded dependency on the tools/toc2bkm.py script for the PDF files.
Fred Drake [Wed, 15 Apr 1998 14:50:56 +0000 (14:50 +0000)]
Added dependency on the tools/toc2bkm.py script for the PDF files.

26 years agoTabnanny fixes
Jack Jansen [Wed, 15 Apr 1998 14:35:16 +0000 (14:35 +0000)]
Tabnanny fixes

26 years agoAdded declarations for mac{set,get}filetype
Jack Jansen [Wed, 15 Apr 1998 14:12:45 +0000 (14:12 +0000)]
Added declarations for mac{set,get}filetype

26 years agoAdded Sndihooks
Jack Jansen [Wed, 15 Apr 1998 14:09:19 +0000 (14:09 +0000)]
Added Sndihooks

26 years agoModule with hooks for sound input
Jack Jansen [Wed, 15 Apr 1998 14:08:51 +0000 (14:08 +0000)]
Module with hooks for sound input

26 years agoReindented some of the C code
Jack Jansen [Wed, 15 Apr 1998 14:08:28 +0000 (14:08 +0000)]
Reindented some of the C code

26 years agoLast projects before 1.5.1
Jack Jansen [Wed, 15 Apr 1998 14:07:13 +0000 (14:07 +0000)]
Last projects before 1.5.1

26 years agoAdded Sndihooks module
Jack Jansen [Wed, 15 Apr 1998 14:06:17 +0000 (14:06 +0000)]
Added Sndihooks module

26 years agoSome patches by Drew Csillag; plus a few of my own uncommitted changes.
Guido van Rossum [Tue, 14 Apr 1998 20:21:10 +0000 (20:21 +0000)]
Some patches by Drew Csillag; plus a few of my own uncommitted changes.

26 years agoUse shorter labels; using long labels creates problems on the Macintosh.
Fred Drake [Tue, 14 Apr 1998 17:19:54 +0000 (17:19 +0000)]
Use shorter labels; using long labels creates problems on the Macintosh.

(Thanks, Just!)

26 years agoAdded entry for Tkdnd.py.
Fred Drake [Tue, 14 Apr 1998 04:55:43 +0000 (04:55 +0000)]
Added entry for Tkdnd.py.

26 years agoThis commit was manufactured by cvs2svn to create tag 'r151'. v1.5.1
cvs2svn [Tue, 14 Apr 1998 02:16:23 +0000 (02:16 +0000)]
This commit was manufactured by cvs2svn to create tag 'r151'.

26 years agoOops -- Lib/Test should be Lib/test, of course!
Guido van Rossum [Tue, 14 Apr 1998 02:16:23 +0000 (02:16 +0000)]
Oops -- Lib/Test should be Lib/test, of course!

26 years agoAdd connect_ex to list of methods.
Guido van Rossum [Tue, 14 Apr 1998 01:30:45 +0000 (01:30 +0000)]
Add connect_ex to list of methods.

26 years agoMissing symbols reported by Andrew Loewenstern.
Guido van Rossum [Mon, 13 Apr 1998 22:30:08 +0000 (22:30 +0000)]
Missing symbols reported by Andrew Loewenstern.

26 years agoUpdate version.
Guido van Rossum [Mon, 13 Apr 1998 22:22:32 +0000 (22:22 +0000)]
Update version.

26 years agoUpdate to use the new release number. Will generalize in the next round.
Fred Drake [Mon, 13 Apr 1998 21:55:56 +0000 (21:55 +0000)]
Update to use the new release number.  Will generalize in the next round.

26 years agoAdd RELEASE make variable; this gets the entire release # ("1.5.1").
Fred Drake [Mon, 13 Apr 1998 21:02:49 +0000 (21:02 +0000)]
Add RELEASE make variable; this gets the entire release # ("1.5.1").

26 years agoSome more new stuff.
Guido van Rossum [Mon, 13 Apr 1998 21:00:54 +0000 (21:00 +0000)]
Some more new stuff.

26 years agoAdded item in Misc. for getpass module.
Fred Drake [Mon, 13 Apr 1998 20:31:31 +0000 (20:31 +0000)]
Added item in Misc. for getpass module.

26 years agoFix version number.
Fred Drake [Mon, 13 Apr 1998 20:29:45 +0000 (20:29 +0000)]
Fix version number.

26 years agoTypo in usage message.
Guido van Rossum [Mon, 13 Apr 1998 20:28:18 +0000 (20:28 +0000)]
Typo in usage message.

26 years agoMove 'dict' struct member to end of struct. This ensures binary
Guido van Rossum [Mon, 13 Apr 1998 20:24:05 +0000 (20:24 +0000)]
Move 'dict' struct member to end of struct.  This ensures binary
compatibility for shared libraries.

*** WARNING -- IF YOU BUILT 1.5.1BETA1, DO A "MAKE CLEAN" ***

26 years agoBe nicer to systems that have neither termios nor msvcrt.
Guido van Rossum [Mon, 13 Apr 1998 20:22:21 +0000 (20:22 +0000)]
Be nicer to systems that have neither termios nor msvcrt.

26 years agoThe usual edits... Updated some stuff about the mailing list. Ready
Guido van Rossum [Mon, 13 Apr 1998 20:14:05 +0000 (20:14 +0000)]
The usual edits...  Updated some stuff about the mailing list.  Ready
for 1.5.1 I'd say.

26 years agoNo more threats, just list the new methods under "AST Objects".
Fred Drake [Mon, 13 Apr 1998 18:46:16 +0000 (18:46 +0000)]
No more threats, just list the new methods under "AST Objects".

26 years agoThe documentation threatened it would happen -- the functions that should
Fred Drake [Mon, 13 Apr 1998 18:45:18 +0000 (18:45 +0000)]
The documentation threatened it would happen -- the functions that should
have been methods now are!  Still available as functions for compatibility.

26 years agoTwo more, for beta testers who reported real bugs.
Guido van Rossum [Mon, 13 Apr 1998 18:14:22 +0000 (18:14 +0000)]
Two more, for beta testers who reported real bugs.

26 years agoDon't allow unescaped newlines in doc strings.
Guido van Rossum [Mon, 13 Apr 1998 18:11:55 +0000 (18:11 +0000)]
Don't allow unescaped newlines in doc strings.

26 years agoWhoops! Add a missing 'instantiated = 1' to load_inst(); otherwise it
Guido van Rossum [Mon, 13 Apr 1998 18:08:45 +0000 (18:08 +0000)]
Whoops!  Add a missing 'instantiated = 1' to load_inst(); otherwise it
would still try to call the class...

26 years agoAdd a note that pickling is supported.
Fred Drake [Mon, 13 Apr 1998 16:27:27 +0000 (16:27 +0000)]
Add a note that pickling is supported.

26 years agoAdded support for pickling ast objects.
Fred Drake [Mon, 13 Apr 1998 16:25:46 +0000 (16:25 +0000)]
Added support for pickling ast objects.

26 years agoRevert markup around list of display fields from the disassembler; it doesn't
Fred Drake [Mon, 13 Apr 1998 16:15:02 +0000 (16:15 +0000)]
Revert markup around list of display fields from the disassembler; it doesn't
look at good in print, but doesn't break the HTML.

26 years agoSupport for OpenBSD :-(
Guido van Rossum [Mon, 13 Apr 1998 15:27:21 +0000 (15:27 +0000)]
Support for OpenBSD :-(

26 years agoFix bug in little-used markup: don't forget to pass the source text along!
Fred Drake [Mon, 13 Apr 1998 14:18:57 +0000 (14:18 +0000)]
Fix bug in little-used markup:  don't forget to pass the source text along!

26 years agoFixed example to load the startup file from a script (didn't test for the
Fred Drake [Mon, 13 Apr 1998 01:31:10 +0000 (01:31 +0000)]
Fixed example to load the startup file from a script (didn't test for the
file's existance).

Removed some XXX comments about extension modules which support pickling.

Added text from AMK about the readline and rlcompleter modules.

Thanks, AMK!

26 years agoTypo: (and often severly limited) -- severely
Fred Drake [Mon, 13 Apr 1998 00:53:42 +0000 (00:53 +0000)]
Typo: (and often severly limited) -- severely
Typo: (but not to the tuple or list into which the item it put!) -- is put

Thanks, AMK!

26 years ago"ZeroDevisionError" --> "ZeroDivisionError"
Fred Drake [Mon, 13 Apr 1998 00:50:04 +0000 (00:50 +0000)]
"ZeroDevisionError" --> "ZeroDivisionError"

Thanks, AMK!

26 years agoFix typo. (What I get for trying to fix bugs at home and running conversions
Fred Drake [Sun, 12 Apr 1998 03:58:13 +0000 (03:58 +0000)]
Fix typo.  (What I get for trying to fix bugs at home and running conversions
at work....)

26 years agoDon't append () to the name of an object attribute in the index.
Fred Drake [Sun, 12 Apr 1998 03:49:46 +0000 (03:49 +0000)]
Don't append () to the name of an object attribute in the index.

26 years agoUse {methoddesc} instead of {funcdesc} for object methods.
Fred Drake [Sun, 12 Apr 1998 03:31:31 +0000 (03:31 +0000)]
Use {methoddesc} instead of {funcdesc} for object methods.