]>
granicus.if.org Git - python/log
Guido van Rossum [Tue, 28 Apr 1998 16:04:12 +0000 (16:04 +0000)]
class ByAddressType, a simple Type but passed by address even on
input.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:03:34 +0000 (16:03 +0000)]
On the Mac, create the Temporary Items folder if it does not exist yet.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:03:03 +0000 (16:03 +0000)]
Put quotes around the filename, so spaces in filenames work.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:02:29 +0000 (16:02 +0000)]
Mac CodeWarrior has faulty declaration for hypot, which we hide with a
#define.
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 16:01:13 +0000 (16:01 +0000)]
typo in error message (fname vs. file).
(Jack)
Guido van Rossum [Tue, 28 Apr 1998 15:41:03 +0000 (15:41 +0000)]
Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer.
Guido van Rossum [Tue, 28 Apr 1998 15:29:26 +0000 (15:29 +0000)]
Document changed semantics -- open() now guesses the db type and error
is now a tuple of various and sundry exceptions.
Guido van Rossum [Tue, 28 Apr 1998 15:23:09 +0000 (15:23 +0000)]
Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment
that wonders what the difference is and explain them properly.
Guido van Rossum [Tue, 28 Apr 1998 15:19:34 +0000 (15:19 +0000)]
Inspired by Ben Sayer, rewritten the code and some of the comments to
be more intelligent when the database already exists (use the module
for the existing file, according to whichdb). Noted in the doc
strings that there doesn't seem to be a different between 'c' and 'n'.
Fred Drake [Tue, 28 Apr 1998 14:29:27 +0000 (14:29 +0000)]
Hook in the calendar and popen2 sections.
Fred Drake [Tue, 28 Apr 1998 14:28:57 +0000 (14:28 +0000)]
calendar module section for the library reference, by Drew Csillag.
Fred Drake [Tue, 28 Apr 1998 14:28:15 +0000 (14:28 +0000)]
popen2 section for the library reference, contributed by Drew Csillag, with
some reorganization.
Fred Drake [Tue, 28 Apr 1998 13:38:54 +0000 (13:38 +0000)]
Use of \key and \kbd were isolated to one instance each in this file;
normalize to \kbd to allow removal of \key from the document class.
Guido van Rossum [Tue, 28 Apr 1998 13:17:56 +0000 (13:17 +0000)]
Quicksort retuned by Tim Peters.
Guido van Rossum [Mon, 27 Apr 1998 19:35:15 +0000 (19:35 +0000)]
Use a try-except so that the pickle file is written even when we die
because of an unexpected exception.
Guido van Rossum [Mon, 27 Apr 1998 19:32:59 +0000 (19:32 +0000)]
When setting the event structure fields, don't die when the widget
name is not registered; simply use the string. This happens for
tear-off widgets (e.g. if you've registered enter/leave events for the
menu).
Guido van Rossum [Mon, 27 Apr 1998 19:04:26 +0000 (19:04 +0000)]
Instead of calling mktime(), which has all sorts of unwanted side
effects, simply zero out the struct tm buffer before using it; this
should take care of the BSD folks' concern just as well.
Guido van Rossum [Mon, 27 Apr 1998 19:01:08 +0000 (19:01 +0000)]
Clear the error condition set by ftell().
Guido van Rossum [Mon, 27 Apr 1998 15:19:17 +0000 (15:19 +0000)]
Feeble attempt at making urlopen more robust -- don't call splituser()
when splithost() returned no useable host, to avoid calling
splituser() on None.
Jack Jansen [Mon, 27 Apr 1998 15:14:36 +0000 (15:14 +0000)]
Updated for 1.5.1
Jack Jansen [Mon, 27 Apr 1998 15:12:13 +0000 (15:12 +0000)]
Use dialog auto-placement whenever appropriate.
Jack Jansen [Mon, 27 Apr 1998 15:10:43 +0000 (15:10 +0000)]
Fixes by Just:
- Upped version number in about dialog
- Use auto-positioning of dialogs (a sys7 feature I had never heard
of, _very_ useful).
Jack Jansen [Mon, 27 Apr 1998 15:09:36 +0000 (15:09 +0000)]
Argument type for SetPort was wrong (WindowPtr in stead of GrafPtr).
Jack Jansen [Mon, 27 Apr 1998 15:09:02 +0000 (15:09 +0000)]
Added FOUR_CHAR_CODE define
Jack Jansen [Mon, 27 Apr 1998 15:08:39 +0000 (15:08 +0000)]
New versions from Just.
Jack Jansen [Mon, 27 Apr 1998 15:07:43 +0000 (15:07 +0000)]
Regenerated with FOUR_CHAR_CODE defined
Jack Jansen [Mon, 27 Apr 1998 15:07:20 +0000 (15:07 +0000)]
Mention the Mac:Contrib folder
Jack Jansen [Mon, 27 Apr 1998 15:06:50 +0000 (15:06 +0000)]
Added Just's printing demo code.
Fred Drake [Mon, 27 Apr 1998 14:54:06 +0000 (14:54 +0000)]
Document transfercmd(), ntransfercmd(), delete(), rmd(), size().
Thanks to Timothy Wild <twild@clear.net.nz> for catching the omission of
delete().
Fred Drake [Mon, 27 Apr 1998 14:39:44 +0000 (14:39 +0000)]
parse150(): Simplify RE used to parse the message a little, taking advantage
of using re instead of regex.
Guido van Rossum [Mon, 27 Apr 1998 14:14:41 +0000 (14:14 +0000)]
Add link to Anthony Baxter's enhanced version.
Fred Drake [Sat, 25 Apr 1998 04:15:56 +0000 (04:15 +0000)]
clean target: Remove intermediate files from creation of outline in PDF.
Fred Drake [Sat, 25 Apr 1998 04:12:17 +0000 (04:12 +0000)]
Load the options from the pypaper.sty file before setting up the "base class"
for the manual documents.
Fred Drake [Sat, 25 Apr 1998 04:11:27 +0000 (04:11 +0000)]
Paper size / font size configuration file.
This is separated so I can build A4 and US Letter sizes without having to
edit files.
Anyone who downloads the source package can also simply edit this file,
which is a lot shorter than the manual.cls file, and easier to find the
appropriate line.
Fred Drake [Fri, 24 Apr 1998 21:57:12 +0000 (21:57 +0000)]
Simplify how some options get propogated.
Fred Drake [Fri, 24 Apr 1998 21:07:22 +0000 (21:07 +0000)]
Added libpoplib.tex to dependencies for the library reference.
Some mods to allow PS to be generated when the current dir is *not* Doc;
to help out with generating A4 versions.
Fred Drake [Fri, 24 Apr 1998 20:49:02 +0000 (20:49 +0000)]
Added a section for the poplib module, contributed by Drew Csillag.
Fred Drake [Fri, 24 Apr 1998 20:08:28 +0000 (20:08 +0000)]
Add entry for poplib.
Guido van Rossum [Fri, 24 Apr 1998 18:31:28 +0000 (18:31 +0000)]
Use hex() when outputting the various checksums so the test output is the
same on 32 and 64 bit machines.
Guido van Rossum [Fri, 24 Apr 1998 18:22:02 +0000 (18:22 +0000)]
Fred's right -- we need PyList_SET_ITEM().
Jack Jansen [Fri, 24 Apr 1998 10:42:01 +0000 (10:42 +0000)]
Added new folder types
Jack Jansen [Fri, 24 Apr 1998 10:41:38 +0000 (10:41 +0000)]
Added FOUR_CHAR_CODE define
Jack Jansen [Fri, 24 Apr 1998 10:28:20 +0000 (10:28 +0000)]
Grmpf, a lot more routines have gotten a "Mac" prefix for their
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
Barry Warsaw [Thu, 23 Apr 1998 22:59:33 +0000 (22:59 +0000)]
Use the (new) standard script #! line
Convert to re module; remove all references to regexp and regsub
Added support for the new texinfo @url{} and @email{} commands
Barry Warsaw [Thu, 23 Apr 1998 22:57:16 +0000 (22:57 +0000)]
This script appears to no longer be in the toolchain for Python
documentation, so it has been moved to ../../Tools/scripts
Fred, please verify.
Guido van Rossum [Thu, 23 Apr 1998 21:46:19 +0000 (21:46 +0000)]
In-line the code in range() to set the list items; there's really no
need to call PyList_SetItem(v,i,w) when PyList_GET_ITEM(v,i)=w {sic}
will do.
Guido van Rossum [Thu, 23 Apr 1998 21:40:02 +0000 (21:40 +0000)]
Small corrections to comments that were cloned from aifc; moreover
the description of setparams() was wrong.
wave.py: Include the tag of an unknown format in the exception.
Guido van Rossum [Thu, 23 Apr 1998 21:37:22 +0000 (21:37 +0000)]
New test sample -- "Nobody expects the Spanish Inquisition!"
Guido van Rossum [Thu, 23 Apr 1998 20:23:00 +0000 (20:23 +0000)]
Purported fixes for 64-bit platforms with help from John Jorgensen
Guido van Rossum [Thu, 23 Apr 1998 20:22:11 +0000 (20:22 +0000)]
Tiny patch for zlib 1.1.2
Guido van Rossum [Thu, 23 Apr 1998 20:13:30 +0000 (20:13 +0000)]
Move unified findfile() into test_support.py
Fred Drake [Thu, 23 Apr 1998 20:07:55 +0000 (20:07 +0000)]
Don't override the default $ADDRESS.
Fred Drake [Thu, 23 Apr 1998 20:06:24 +0000 (20:06 +0000)]
Change the default $ADDRESS.
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.
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)
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)
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)
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-
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.
Guido van Rossum [Thu, 23 Apr 1998 13:33:56 +0000 (13:33 +0000)]
Add test for MimeWriter module
Guido van Rossum [Thu, 23 Apr 1998 13:33:21 +0000 (13:33 +0000)]
Add writelines() method to Compare class.
Jack Jansen [Thu, 23 Apr 1998 13:23:12 +0000 (13:23 +0000)]
Regenerated with FOUR_CHAR_CODE defined
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).
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.
Jack Jansen [Thu, 23 Apr 1998 13:20:17 +0000 (13:20 +0000)]
Incorrect argument for PyMacBuildwide()
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.
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().
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.
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.
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.
Jack Jansen [Tue, 21 Apr 1998 15:26:26 +0000 (15:26 +0000)]
Removed unused import of addpack
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).
Jack Jansen [Tue, 21 Apr 1998 15:25:12 +0000 (15:25 +0000)]
Updated for Python 1.5.1: version number, preference filename, etc
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.
Jack Jansen [Tue, 21 Apr 1998 15:23:55 +0000 (15:23 +0000)]
Re-generated from new (3.1) universal headers
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.
Jack Jansen [Tue, 21 Apr 1998 15:21:52 +0000 (15:21 +0000)]
Regenerated from new (3.1) universal headers
Jack Jansen [Tue, 21 Apr 1998 15:21:21 +0000 (15:21 +0000)]
Re-generated with slightly more intelligent script
Jack Jansen [Tue, 21 Apr 1998 15:20:50 +0000 (15:20 +0000)]
Add (temporary) PyMac_{Build,Get}wide
Jack Jansen [Tue, 21 Apr 1998 15:20:20 +0000 (15:20 +0000)]
Add HAVE_MKTIME
Guido van Rossum [Mon, 20 Apr 1998 18:51:54 +0000 (18:51 +0000)]
Remove bogus CCSHARED for cc on IRIX 6.x.
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.
Guido van Rossum [Mon, 20 Apr 1998 17:53:19 +0000 (17:53 +0000)]
Shouldn't import addpack!
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.
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?)
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.
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.
Fred Drake [Fri, 17 Apr 1998 20:25:55 +0000 (20:25 +0000)]
cleanup(): Get rid of module index turds.
Fred Drake [Fri, 17 Apr 1998 20:08:36 +0000 (20:08 +0000)]
Ignore the mac/ directory where latex2html spits out HTML.
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.
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.
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!
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!
Fred Drake [Fri, 17 Apr 1998 14:51:04 +0000 (14:51 +0000)]
Mark TMPDIR correctly.
Jack Jansen [Fri, 17 Apr 1998 14:07:56 +0000 (14:07 +0000)]
Replaced addpack by handcrafted code to find the bgen stuff.
Jack Jansen [Fri, 17 Apr 1998 14:06:47 +0000 (14:06 +0000)]
Removed reop
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.
Fred Drake [Fri, 17 Apr 1998 13:24:55 +0000 (13:24 +0000)]
Remove commented-out Mac chapter.
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.
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.