Commit Graph

8324 Commits

Author SHA1 Message Date
Guido van Rossum a937afd363 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)
1998-04-23 14:39:24 +00:00
Guido van Rossum 1abfb9c0f5 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)
1998-04-23 14:39:05 +00:00
Guido van Rossum df1940717d 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)
1998-04-23 14:38:46 +00:00
Fred Drake f8830d1de5 Convert recent additions to use new, "logical" markup.
I suppose we really do need a markup guide.  -sigh-
1998-04-23 14:06:01 +00:00
Guido van Rossum 5fd90684a9 Run the self-test (test.test_MimeWriter) when invoked as a script. 1998-04-23 13:34:57 +00:00
Guido van Rossum 2ad816f47e Add test for MimeWriter module 1998-04-23 13:33:56 +00:00
Guido van Rossum e87ed5f6d4 Add writelines() method to Compare class. 1998-04-23 13:33:21 +00:00
Jack Jansen 41dc72fa1f Regenerated with FOUR_CHAR_CODE defined 1998-04-23 13:23:12 +00:00
Jack Jansen b2006395b7 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).
1998-04-23 13:22:44 +00:00
Jack Jansen 7f725e4061 SetPort was missing, and the defs file needs the FOUR_CHAR_CODE define. 1998-04-23 13:21:09 +00:00
Jack Jansen bbf4be2c2f Incorrect argument for PyMacBuildwide() 1998-04-23 13:20:17 +00:00
Fred Drake 301b5bea3f In method & function tables, added a cast for the function pointers to keep
compilers happy.

initparser():  Remove unused variable.

gcc -Wall is now happy.
1998-04-21 22:31:45 +00:00
Guido van Rossum 565798d493 Be less naive about null characters in an object's repr(). 1998-04-21 22:25:01 +00:00
Jack Jansen 031a68fe5f CW Pro 3 FC8 projects. Checked in because of ColorPicker and Printing
modules, mainly.
1998-04-21 15:30:36 +00:00
Guido van Rossum 4447513e94 Filled in some more blanks, with the help of Drew Csillag. 1998-04-21 15:30:01 +00:00
Jack Jansen 955a2f5328 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.
1998-04-21 15:27:45 +00:00
Jack Jansen cf89f6fc7d Removed unused import of addpack 1998-04-21 15:26:26 +00:00
Jack Jansen bca57e60c0 Moved some code around: occasionally the SetCreatorFileType didn't
work because the finder got there first (at leats, that's what I think
happened).
1998-04-21 15:25:57 +00:00
Jack Jansen 66691ba748 Updated for Python 1.5.1: version number, preference filename, etc 1998-04-21 15:25:12 +00:00
Jack Jansen d58cd630eb Added PyMac_{Get,Build}wide. These should support python longints at
some point in the future.
1998-04-21 15:24:39 +00:00
Jack Jansen 1c4e614627 Re-generated from new (3.1) universal headers 1998-04-21 15:23:55 +00:00
Jack Jansen 02facaf90a Added ColorPicker and Printing modules, donated by Just. In config.c
they're dependent on the WITH_TOOLBOX define.
1998-04-21 15:23:02 +00:00
Jack Jansen 4e126636a2 Regenerated from new (3.1) universal headers 1998-04-21 15:21:52 +00:00
Jack Jansen 36659fef2a Re-generated with slightly more intelligent script 1998-04-21 15:21:21 +00:00
Jack Jansen 0dca75229b Add (temporary) PyMac_{Build,Get}wide 1998-04-21 15:20:50 +00:00
Jack Jansen 4f2936e368 Add HAVE_MKTIME 1998-04-21 15:20:20 +00:00
Guido van Rossum ee21f418b0 Remove bogus CCSHARED for cc on IRIX 6.x. 1998-04-20 18:51:54 +00:00
Guido van Rossum 2621637835 Add #ifdefs so Tcl_Finalize isn't referenced when it's not defined. 1998-04-20 18:47:52 +00:00
Guido van Rossum 23cff3170e Shouldn't import addpack! 1998-04-20 17:53:19 +00:00
Fred Drake 255284b42a 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.
1998-04-20 16:55:14 +00:00
Fred Drake 42de185a77 Added \label to subsections which didn't have one, since this module has
subsections listed in the documentation index sidebar.  (Why?)
1998-04-20 16:28:44 +00:00
Guido van Rossum a933f6a53d Fix vonmisesvariate() -- it now returns an angle between 0 and *two*
times pi.  Got rid of $math$ here and in one other place.
1998-04-20 14:43:44 +00:00
Guido van Rossum 9a34523e19 As Tim Peters points out, ``from string import *'' should not set re to None.
Also rename safe_env to _safe_env.
1998-04-20 14:01:00 +00:00
Fred Drake 476412a918 cleanup(): Get rid of module index turds. 1998-04-17 20:25:55 +00:00
Fred Drake daf71fca54 Ignore the mac/ directory where latex2html spits out HTML. 1998-04-17 20:08:36 +00:00
Fred Drake a2890b0986 Make the intro section explicit, so that latex2html puts it on a separate
page from the table of contents.
1998-04-17 20:07:21 +00:00
Fred Drake 7984256f4d build_ps(): Fix flags to dvips.
build_html():  Deal with node2label.pl a little better.
1998-04-17 20:06:16 +00:00
Fred Drake 5ccf330e4c 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!
1998-04-17 20:04:09 +00:00
Fred Drake 4f6d6e487c 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!
1998-04-17 15:28:09 +00:00
Fred Drake 4f5155817b Mark TMPDIR correctly. 1998-04-17 14:51:04 +00:00
Jack Jansen 0c4d947eac Replaced addpack by handcrafted code to find the bgen stuff. 1998-04-17 14:07:56 +00:00
Jack Jansen b36b83011a Removed reop 1998-04-17 14:06:47 +00:00
Fred Drake bdbdb80b0b Separate the Mac-related files from the library reference files. The new
variable isn't used yet.
1998-04-17 14:01:44 +00:00
Fred Drake 1d9fb63293 Remove commented-out Mac chapter. 1998-04-17 13:24:55 +00:00
Fred Drake 12f842e33e Adjust to allow both general and module indexes.
PDF output properly supports the outline.
1998-04-17 02:52:12 +00:00
Fred Drake 60961c561d Python HOWTO document that replaces the old Mac section from the reference
manual.
1998-04-17 02:47:13 +00:00
Fred Drake b51429a145 Adjust so that it works as part of a HOWTO-based manual. 1998-04-17 02:46:34 +00:00
Fred Drake d579ed8239 Shift (re-)definition of \theindex to the document classes so that it doesn't
break HOWTO documents.
1998-04-17 02:45:41 +00:00
Fred Drake 300775d222 Hide \varvars from "public" interface. 1998-04-17 02:17:00 +00:00
Fred Drake 08932054e9 New helper functions to help deal with parameter parsing.
Use the helpers in do_cmd_*() and do_env_*(); *much* cleaner!
1998-04-17 02:15:42 +00:00