]> granicus.if.org Git - python/log
python
26 years agoAdded support for AMK's {definitions} environment; thanks for the reminder!
Fred Drake [Wed, 20 May 1998 21:32:09 +0000 (21:32 +0000)]
Added support for AMK's {definitions} environment; thanks for the reminder!

26 years agoAdded {definitions} environment, which has \term to define indivual terms.
Fred Drake [Wed, 20 May 1998 17:42:17 +0000 (17:42 +0000)]
Added {definitions} environment, which has \term to define indivual terms.
Similar to {description}.

26 years agowhrandom -> random
Guido van Rossum [Wed, 20 May 1998 17:13:01 +0000 (17:13 +0000)]
whrandom -> random

26 years agoUse random instead of whrandom.
Guido van Rossum [Wed, 20 May 1998 17:05:52 +0000 (17:05 +0000)]
Use random instead of whrandom.

26 years agoAdd Interfaces to replace remaining needs for importing whrandom.
Guido van Rossum [Wed, 20 May 1998 16:28:24 +0000 (16:28 +0000)]
Add Interfaces to replace remaining needs for importing whrandom.
# XXX TO DO: make the distribution functions below into methods.

26 years agoAdd LDLAST to the list of variables processed by the sed script.
Guido van Rossum [Wed, 20 May 1998 15:53:22 +0000 (15:53 +0000)]
Add LDLAST to the list of variables processed by the sed script.

26 years agoCorrect bug doc string (discovered by Berthold Hoellmann):
Guido van Rossum [Wed, 20 May 1998 15:50:56 +0000 (15:50 +0000)]
Correct bug doc string (discovered by Berthold Hoellmann):
get_line_buffer() does not take an optional argument.

26 years agoGet rid of nearly all clals to self._do -- turns out self.tk.call can
Guido van Rossum [Tue, 19 May 1998 21:18:13 +0000 (21:18 +0000)]
Get rid of nearly all clals to self._do -- turns out self.tk.call can
be used just as well, so this saves one Python call in many cases!

26 years agoUse whrandom instead of rand.
Guido van Rossum [Tue, 19 May 1998 21:16:10 +0000 (21:16 +0000)]
Use whrandom instead of rand.

Run 500 steps instead of forever.

26 years agoProtection agains non-existing subdirectories for clean and clobber
Guido van Rossum [Tue, 19 May 1998 21:15:03 +0000 (21:15 +0000)]
Protection agains non-existing subdirectories for clean and clobber
targets.  On some platforms this would cause an infinite Make
recursion.  Also remove "Doc" from the SUBDIRSTOO variable, since it
no longer exists in the standard distribution.

26 years agoAdditions for Mark Hammond's Win32 specific hacks.
Guido van Rossum [Tue, 19 May 1998 20:18:37 +0000 (20:18 +0000)]
Additions for Mark Hammond's Win32 specific hacks.

26 years agoDon't use a separate node for footnotes; see if people scream. ;-)
Fred Drake [Tue, 19 May 1998 19:38:49 +0000 (19:38 +0000)]
Don't use a separate node for footnotes; see if people scream.  ;-)

26 years agoFix definition of release_version (global).
Fred Drake [Tue, 19 May 1998 19:37:55 +0000 (19:37 +0000)]
Fix definition of release_version (global).

26 years agoAdded entry for mimetypes.
Fred Drake [Tue, 19 May 1998 19:13:01 +0000 (19:13 +0000)]
Added entry for mimetypes.

26 years agowebcheck target in this Makefile wasn't used.
Fred Drake [Tue, 19 May 1998 18:04:44 +0000 (18:04 +0000)]
webcheck target in this Makefile wasn't used.

26 years agoFix the webcheck target so it checks the right files....
Fred Drake [Tue, 19 May 1998 18:04:13 +0000 (18:04 +0000)]
Fix the webcheck target so it checks the right files....

26 years ago(py-ask-about-save): New variable used in
Barry Warsaw [Tue, 19 May 1998 16:25:04 +0000 (16:25 +0000)]
(py-ask-about-save): New variable used in
py-execute-import-or-reload.  Same semantics as
compilation-ask-about-save.

26 years ago(py-execute-string): Bind to C-c C-s, and put on menu
Barry Warsaw [Tue, 19 May 1998 16:15:26 +0000 (16:15 +0000)]
(py-execute-string): Bind to C-c C-s, and put on menu

26 years ago(py-stringlit-re): Another ME patch to recognize SQTQs and DQTQs
Barry Warsaw [Tue, 19 May 1998 16:06:21 +0000 (16:06 +0000)]
(py-stringlit-re): Another ME patch to recognize SQTQs and DQTQs
(single and double quoted triple quoted strings :-) with embedded
single like-quotes.  Also recognizes raw prefix.

26 years agoMore ME patches:
Barry Warsaw [Tue, 19 May 1998 15:54:45 +0000 (15:54 +0000)]
More ME patches:

(py-execute-import-or-reload): Cool new command that imports or
reloads the current file as a module, so as not to clutter the global
namespace.  Bound to C-c C-m.

(py-execute-def-or-class): New command that sends the current def or
class to the interpreter.  Bound to C-M-x.

(py-execute-string): New command that sends arbitrary string to the
interpreter.  Not bound by default.

(py-describe-mode): Doco updates.

26 years ago(beginning-of-python-def-or-class): Renamed to
Barry Warsaw [Tue, 19 May 1998 15:31:46 +0000 (15:31 +0000)]
(beginning-of-python-def-or-class): Renamed to
py-beginning-of-def-or-class, and defaliased for backwards
compatibility.  ME patch to add optional second argument, count.

(end-of-python-def-or-class): Renamed to py-end-of-def-or-class, and
defaliased for backwards compatibility.  ME patch to add optional
second argument, count.

26 years agoguess_extension(): Revise documentation string to be more clear. If not
Fred Drake [Tue, 19 May 1998 15:15:59 +0000 (15:15 +0000)]
guess_extension():  Revise documentation string to be more clear.  If not
inited, call init().

26 years agoTest that "import sys.imp" fails as it should.
Guido van Rossum [Tue, 19 May 1998 15:09:42 +0000 (15:09 +0000)]
Test that "import sys.imp" fails as it should.

26 years agoFix a curious bug: statements like "import sys.time" would succeed,
Guido van Rossum [Tue, 19 May 1998 15:09:05 +0000 (15:09 +0000)]
Fix a curious bug: statements like "import sys.time" would succeed,
because the path through the code would notice that sys.__path__ did
not exist and it would fall back to the default path (builtins +
sys.path) instead of failing).  No longer.

26 years agoAdd mimetypes documentation to library reference dependencies.
Fred Drake [Tue, 19 May 1998 15:04:21 +0000 (15:04 +0000)]
Add mimetypes documentation to library reference dependencies.

26 years agoAdd section documenting mimetypes module.
Fred Drake [Tue, 19 May 1998 15:03:45 +0000 (15:03 +0000)]
Add section documenting mimetypes module.

26 years agoMore ME patches:
Barry Warsaw [Tue, 19 May 1998 15:01:06 +0000 (15:01 +0000)]
More ME patches:

(py-shell): Recognize the Python debugger prompt

(py-jump-to-exception): Force into python-mode any buffer that gets
jumped to on exception.  Cope with py-exception-buffer possibly a
cons.

26 years ago#Documentation and comment typos patch given by Michael Ernst. More
Barry Warsaw [Tue, 19 May 1998 14:49:49 +0000 (14:49 +0000)]
#Documentation and comment typos patch given by Michael Ernst.  More
#of his patches to follow.

26 years agoAdd a feature to support specifying an additional search directory for
Guido van Rossum [Mon, 18 May 1998 20:25:54 +0000 (20:25 +0000)]
Add a feature to support specifying an additional search directory for
packages.  (Mark Hammond)

Folded some long lines.

26 years agoRemove Emacs cruft.
Guido van Rossum [Mon, 18 May 1998 20:22:31 +0000 (20:22 +0000)]
Remove Emacs cruft.

26 years agoAdd a feature to support specifying an additional search directory for
Guido van Rossum [Mon, 18 May 1998 20:21:56 +0000 (20:21 +0000)]
Add a feature to support specifying an additional search directory for
packages.  (Mark Hammond)

Remove Emacs cruft.

26 years agoguess_extension(): New function. Performs a reverse mapping from MIME type
Fred Drake [Mon, 18 May 1998 16:27:20 +0000 (16:27 +0000)]
guess_extension():  New function.  Performs a reverse mapping from MIME type
to filename extension.

26 years agoNeatify the _timezones table and remove a misleading comment about
Guido van Rossum [Mon, 18 May 1998 16:09:10 +0000 (16:09 +0000)]
Neatify the _timezones table and remove a misleading comment about
inaccuracies in mktime_tz().

26 years agoFixed typo in docstring: suffixes_map --> suffix_map.
Fred Drake [Mon, 18 May 1998 16:05:24 +0000 (16:05 +0000)]
Fixed typo in docstring:  suffixes_map --> suffix_map.

26 years agoSubject: bug fixes for imaplib.py
Guido van Rossum [Mon, 18 May 1998 14:39:42 +0000 (14:39 +0000)]
Subject: bug fixes for imaplib.py
From: Piers Lauder <piers@staff.cs.usyd.edu.au>
To: Python List <python-list@cwi.nl>
Date: Mon, 18 May 1998 09:51:53 +1000

Following is a context diff for imaplib.py in the Python1.5.1 distribution.
It fixes 2 bugs. One to do with argument quoting, and the other to do with
caching of un-tagged responses. Apologies for its size.

26 years agoAdd file extension .xml, mapping it to text/xml.
Guido van Rossum [Mon, 18 May 1998 14:25:08 +0000 (14:25 +0000)]
Add file extension .xml, mapping it to text/xml.

26 years agoRemove use of RTLD_GLOBAL.
Guido van Rossum [Mon, 18 May 1998 13:42:45 +0000 (13:42 +0000)]
Remove use of RTLD_GLOBAL.

26 years agoFix another oldie (item (b) only):
Guido van Rossum [Sat, 16 May 1998 02:11:10 +0000 (02:11 +0000)]
Fix another oldie (item (b) only):

Date:    Fri, 20 Dec 1996 14:47:50 +0100
From:    Lele Gaifax <lele@nautilus.eclipse.it>
To:      Python List <python-list@cwi.nl>
Subject: Typos in ref manual

Hi all,
browsing the reference manual I noticed what seem two small errors:
  a) in the list of keywords (section 2.3.1) 'exec' is missing
  b) in the Operator Precedence table (5.12) the comparison operators
     include '=', but probably '==' was intended.
Hope this help,
lele.

26 years agoInstall config.h.
Guido van Rossum [Sat, 16 May 1998 01:51:49 +0000 (01:51 +0000)]
Install config.h.
Adapt to new build conventions (get rid of Release directory).

26 years agoAnother veeeeeery old patch...
Guido van Rossum [Fri, 15 May 1998 22:04:07 +0000 (22:04 +0000)]
Another veeeeeery old patch...

Date:    Thu, 14 Sep 1995 12:18:20 -0400
From:    Alan Morse <alan@dvcorp.com>
To:      python-list@cwi.nl
Subject: getargs bug in 1.2 and 1.3 BETA

We have found a bug in the part of the getargs code that we added
and submitted, and which was incorporated into 1.1.

The parsing of "O?" format specifiers is not handled correctly;
there is no "else" for the "if" and therefore it can never fail.
What's worse, the advancing of the varargs pointer is not
handled properly, so from then on it is out of sync, wreaking
all sorts of havoc. (If it had failed properly, then the out-of-sync
varargs would not have been an issue.)

Below is the context diff for the change.

Note that I have made a few stylistic changes beyond adding the
else case, namely:

1) Making the "O" case follow the convention established by the other
format specifiers of getting all their vararg arguments before
performing the test, rather than getting some before and some after
the test passes.

2) Making the logic of the tests parallel, so the "if" part indicates
that the format is accepted and the "else" part indicates that the
format has failed. They were inconsistent with each other and with the
the other format specifiers.

-Alan Morse (amorse@dvcorp.com)

26 years agoChange the output names. Do away with the Release and Debug
Guido van Rossum [Fri, 15 May 1998 20:26:31 +0000 (20:26 +0000)]
Change the output names.  Do away with the Release and Debug
subdirectories.

All final products go into the current directory (i.e., PCbuild).

Object files go into temp-release and temp-debug.

Debug versions of DLLs have _d appended to their basename, e.g. the
debug version of python15.dll is python15_d.dll, the debug version of
python.exe is python_d.exe, and the debug version of parser.pyd is
parser_d.pyd.  (See corresponding patch to importdl.c.)  Uniformly
changed all extension modules to use .pyd, not .dll.

26 years agoIn debug mode on MS Windows, DLLs are called foo_d.pyd or foo_d.dll.
Guido van Rossum [Fri, 15 May 1998 20:22:08 +0000 (20:22 +0000)]
In debug mode on MS Windows, DLLs are called foo_d.pyd or foo_d.dll.

26 years agoAdd some symbols. Remove the LIBRARY statement at the top (and the
Guido van Rossum [Fri, 15 May 1998 20:04:21 +0000 (20:04 +0000)]
Add some symbols.  Remove the LIBRARY statement at the top (and the
commented-out CODE/DATA statements).

26 years agoSmall change to the l2h target allowing the output dir, $(HTMLDIR), to be
Fred Drake [Fri, 15 May 1998 17:50:32 +0000 (17:50 +0000)]
Small change to the l2h target allowing the output dir, $(HTMLDIR), to be
a sibling of the html/ directory in the distribution.

26 years agoUpdate to use latex2html 98.1p5.
Fred Drake [Fri, 15 May 1998 17:14:17 +0000 (17:14 +0000)]
Update to use latex2html 98.1p5.

26 years agoUpdate to use latex2html 98.1p5.
Fred Drake [Fri, 15 May 1998 17:13:08 +0000 (17:13 +0000)]
Update to use latex2html 98.1p5.

Cleanup temporary files produced by latex2html in the output directory.

26 years agoUpdate note about latex2html version required.
Fred Drake [Fri, 15 May 1998 17:03:00 +0000 (17:03 +0000)]
Update note about latex2html version required.

26 years agoAdd support for the Macintosh Library Modules document.
Fred Drake [Fri, 15 May 1998 17:02:10 +0000 (17:02 +0000)]
Add support for the Macintosh Library Modules document.

26 years agoRevise comment about \let support a little to more accurately reflect the
Fred Drake [Fri, 15 May 1998 16:59:38 +0000 (16:59 +0000)]
Revise comment about \let support a little to more accurately reflect the
support that's offered.

26 years agoIgnore the mac/ directory....
Fred Drake [Fri, 15 May 1998 16:56:44 +0000 (16:56 +0000)]
Ignore the mac/ directory....

26 years agoUpdate to use the output names used by latex2html for the Python Reference
Fred Drake [Fri, 15 May 1998 16:18:21 +0000 (16:18 +0000)]
Update to use the output names used by latex2html for the Python Reference
Manual; the old FrameMaker names no longer apply.

26 years agoExtend handling for \let a bit, to also allow \let\something=<character>. We
Fred Drake [Fri, 15 May 1998 13:45:54 +0000 (13:45 +0000)]
Extend handling for \let a bit, to also allow \let\something=<character>.  We
still don't support things like \let^^M=\something, where ^^M could actually be
any active character.  Print a decent warning if we find one we can't handle.

26 years agoRemove debugging echo.
Fred Drake [Fri, 15 May 1998 13:38:21 +0000 (13:38 +0000)]
Remove debugging echo.

26 years agodo_cmd_let(): Simple implementation to allow \let to be used to establish
Fred Drake [Fri, 15 May 1998 04:28:37 +0000 (04:28 +0000)]
do_cmd_let():  Simple implementation to allow \let to be used to establish
synonyms for macros.  This supports:

\let\newname = \oldname
\let\newname\oldname

This is useful sometimes, and can at least avoid real errors at other times.

26 years agoImproved version of patch for HPUX from David Arnold.
Guido van Rossum [Thu, 14 May 1998 21:01:27 +0000 (21:01 +0000)]
Improved version of patch for HPUX from David Arnold.

26 years agoAdded support for \developer, \developers, \developersaddress.
Fred Drake [Thu, 14 May 1998 21:00:28 +0000 (21:00 +0000)]
Added support for \developer, \developers, \developersaddress.

26 years agoAdded definitions for \developer, \developers, \developersaddress.
Fred Drake [Thu, 14 May 1998 20:56:31 +0000 (20:56 +0000)]
Added definitions for \developer, \developers, \developersaddress.

Ask Guido if you really want to know why.  ;-)

26 years agoFix the fix to allow the .tex document sources not live in ".".
Fred Drake [Thu, 14 May 1998 20:36:49 +0000 (20:36 +0000)]
Fix the fix to allow the .tex document sources not live in ".".

26 years agoMostly spurious change to ensure that everyone's version of this picks up the
Fred Drake [Thu, 14 May 1998 20:07:10 +0000 (20:07 +0000)]
Mostly spurious change to ensure that everyone's version of this picks up the
execute bit.... problem discovered by Guido.

26 years agoDon't run tools/toc2bkm.py unless we're building PDF.
Fred Drake [Thu, 14 May 1998 20:03:14 +0000 (20:03 +0000)]
Don't run tools/toc2bkm.py unless we're building PDF.

Change the way TEXINPUTS gets defined to ensure that the directory containing
the main document file comes before any other dir, to allow documents to have
files that "override" like-named files elsewhere on the search path.  Guido
discovered we needed this.

26 years agoUpdated markup style (got rid of \verb@...@, mostly).
Fred Drake [Thu, 14 May 1998 19:37:06 +0000 (19:37 +0000)]
Updated markup style (got rid of \verb@...@, mostly).

26 years agoAdd pointer to Misc/HPUX-NOTES.
Guido van Rossum [Thu, 14 May 1998 15:47:35 +0000 (15:47 +0000)]
Add pointer to Misc/HPUX-NOTES.

26 years agoAdd an index entry.
Fred Drake [Thu, 14 May 1998 15:16:12 +0000 (15:16 +0000)]
Add an index entry.

Bow to font lock.

26 years agoWhen a .o file is an absolute pathname, assume it's a file for which
Guido van Rossum [Thu, 14 May 1998 02:37:45 +0000 (02:37 +0000)]
When a .o file is an absolute pathname, assume it's a file for which
we have no .c source.

26 years agostrop_replace(): balk if the pattern string is empty.
Guido van Rossum [Thu, 14 May 1998 02:36:29 +0000 (02:36 +0000)]
strop_replace(): balk if the pattern string is empty.

26 years agowhichmodule(): remove redundant PyErr_Clear(); add explicit setting
Guido van Rossum [Thu, 14 May 1998 02:34:46 +0000 (02:34 +0000)]
whichmodule(): remove redundant PyErr_Clear(); add explicit setting
of error when sys.modules isn't there.

26 years agoDon't delete glmodule.c on 'make clobber' (it's a checked in file!).
Guido van Rossum [Thu, 14 May 1998 02:33:57 +0000 (02:33 +0000)]
Don't delete glmodule.c on 'make clobber' (it's a checked in file!).

26 years agoNew APIs for embedding applications that want to add their own entries
Guido van Rossum [Thu, 14 May 1998 02:32:54 +0000 (02:32 +0000)]
New APIs for embedding applications that want to add their own entries
to the table of built-in modules.  This should normally be called
*before* Py_Initialize().  When the malloc() or realloc() call fails,
-1 is returned and the existing table is unchanged.

After a similar function by Just van Rossum.

int PyImport_ExtendInittab(struct _inittab *newtab);
int PyImport_AppendInittab(char *name, void (*initfunc)());

26 years agoRemove unnecessary PyErr_Clear().
Guido van Rossum [Thu, 14 May 1998 02:31:26 +0000 (02:31 +0000)]
Remove unnecessary PyErr_Clear().

26 years agoSince PyDict_GetItem() can't raise an exception any more, there's no
Guido van Rossum [Thu, 14 May 1998 02:16:20 +0000 (02:16 +0000)]
Since PyDict_GetItem() can't raise an exception any more, there's no
need to call PyErr_Clear() when it returns NULL.

26 years agoSince PyDict_GetItem() can't raise an exception any more, there's no
Guido van Rossum [Thu, 14 May 1998 01:49:48 +0000 (01:49 +0000)]
Since PyDict_GetItem() can't raise an exception any more, there's no
need to cxall PyErr_Clear() when it returns NULL.

26 years agoMake sure that PyDict_GetItem[String]() *never* raises an exception.
Guido van Rossum [Thu, 14 May 1998 01:00:51 +0000 (01:00 +0000)]
Make sure that PyDict_GetItem[String]() *never* raises an exception.
If the argument is not a dictionary, simply return NULL.  If the
hash() on the key fails, clear the error.

26 years agoRemove a redundant statement from halfbinop().
Guido van Rossum [Wed, 13 May 1998 22:02:16 +0000 (22:02 +0000)]
Remove a redundant statement from halfbinop().

26 years agoFix bug reported by Harri Pasanen: gzip + cPickle doesn't work. The
Jeremy Hylton [Wed, 13 May 1998 21:49:58 +0000 (21:49 +0000)]
Fix bug reported by Harri Pasanen: gzip + cPickle doesn't work.  The
problem was a couple of bugs in the readline implementation.

1. Include the '\n' in the string returned by readline
2. Bug calculating new buffer size in _unread

Also remove unncessary import of StringIO

26 years agoTim's quicksort on May 13.
Guido van Rossum [Wed, 13 May 1998 21:21:24 +0000 (21:21 +0000)]
Tim's quicksort on May 13.

26 years agoTim's quicksort on May 10.
Guido van Rossum [Wed, 13 May 1998 21:20:49 +0000 (21:20 +0000)]
Tim's quicksort on May 10.

26 years agoFrom: conrad@cgl.ucsf.edu (Conrad Huang %CGL)
Guido van Rossum [Wed, 13 May 1998 20:13:24 +0000 (20:13 +0000)]
From: conrad@cgl.ucsf.edu (Conrad Huang %CGL)
To: python-list@cwi.nl
Date: 13 May 98 18:33:11 GMT

I think I found a bug in CGIHTTPServer.py.  (Does anyone care? :-)
I was trying to use it as the web server for uploading files.
Python CGI scripts (using the CGI module) that worked for other
servers (e.g., Netscape Enterprise server) hang when run from
CGIHTTPServer.  The problem is that the content type parameters,
in particular the boundary parameter, were not passed through to
the CGI scripts, thus making the MIME parsing code choke.

My simple-minded fix is:

% diff CGIHTTPServer.py /usr/local/lib/python1.5/CGIHTTPServer.py
137,140c136
<           if self.headers.typeheader is None:
<               env['CONTENT_TYPE'] = self.headers.type
<           else:
<               env['CONTENT_TYPE'] = self.headers.typeheader
---
>           env['CONTENT_TYPE'] = self.headers.type

Conrad

26 years agoOK, here's a different way to implement the same thing -- this version
Guido van Rossum [Tue, 12 May 1998 22:45:43 +0000 (22:45 +0000)]
OK, here's a different way to implement the same thing -- this version
also supports filenames with multiple spaces in their name :-)

26 years agoSupport filenames with spaces in their names (for non-Mac ftp servers).
Guido van Rossum [Tue, 12 May 1998 22:36:11 +0000 (22:36 +0000)]
Support filenames with spaces in their names (for non-Mac ftp servers).

This patch must hold the world record for living in my inbox:

  From: John Ehresman <jehresma@dsg.harvard.edu>
  Date: Wed, 23 Aug 1995 16:07:11 -0400

He provided a fix for the version that comes with Python 1.3:
ftpmirror.py revision 1.1...  And it was still relevant!

26 years agoDELETE_FAST should issue an exception when the local variable is undefined.
Guido van Rossum [Tue, 12 May 1998 20:27:36 +0000 (20:27 +0000)]
DELETE_FAST should issue an exception when the local variable is undefined.

26 years agoAdd comments about release status.
Fred Drake [Tue, 12 May 1998 16:50:32 +0000 (16:50 +0000)]
Add comments about release status.

26 years agoAdd Bill Janssen's notes on configuring threads.
Guido van Rossum [Tue, 12 May 1998 15:29:18 +0000 (15:29 +0000)]
Add Bill Janssen's notes on configuring threads.

26 years agoReplace all calls to fprintf(stderr, ...) with calls to PySys_WriteStderr(...).
Guido van Rossum [Tue, 12 May 1998 15:02:41 +0000 (15:02 +0000)]
Replace all calls to fprintf(stderr, ...) with calls to PySys_WriteStderr(...).

26 years agoNew APIs to write to sys.stdout or sys.stderr using a printf-like interface.
Guido van Rossum [Tue, 12 May 1998 14:59:24 +0000 (14:59 +0000)]
New APIs to write to sys.stdout or sys.stderr using a printf-like interface.
Adapted from code submitted by Just van Rossum.

   PySys_WriteStdout(format, ...)
   PySys_WriteStderr(format, ...)

      The first function writes to sys.stdout; the second to sys.stderr.  When
      there is a problem, they write to the real (C level) stdout or stderr;
      no exceptions are raised (but a pending exception may be cleared when a
      new exception is caught).

      Both take a printf-style format string as their first argument followed
      by a variable length argument list determined by the format string.

      *** WARNING ***

      The format should limit the total size of the formatted output string to
      1000 bytes.  In particular, this means that no unrestricted "%s" formats
      should occur; these should be limited using "%.<N>s where <N> is a
      decimal number calculated so that <N> plus the maximum size of other
      formatted text does not exceed 1000 bytes.  Also watch out for "%f",
      which can print hundreds of digits for very large numbers.

26 years agoAdd
Guido van Rossum [Tue, 12 May 1998 14:58:52 +0000 (14:58 +0000)]
Add
   PySys_WriteStdout(format, ...)
   PySys_WriteStderr(format, ...)

26 years agoTrivial little change: timer tokens shouldn't have a Print() function,
Guido van Rossum [Tue, 12 May 1998 14:36:19 +0000 (14:36 +0000)]
Trivial little change: timer tokens shouldn't have a Print() function,
they should have a Repr() function.

26 years agoReduce memory requirements.
Guido van Rossum [Tue, 12 May 1998 13:21:31 +0000 (13:21 +0000)]
Reduce memory requirements.

26 years agoSwitch to .tgz instead of .tar.gz to appease Windows users.
Fred Drake [Mon, 11 May 1998 21:10:15 +0000 (21:10 +0000)]
Switch to .tgz instead of .tar.gz to appease Windows users.

Clean up the clean & clobber targets.

26 years agoUse .tgz instead of .tar.gz for the output file name.
Fred Drake [Mon, 11 May 1998 21:08:39 +0000 (21:08 +0000)]
Use .tgz instead of .tar.gz for the output file name.

26 years agoChange ignored extension .tar.gz to .tgz.
Fred Drake [Mon, 11 May 1998 21:07:52 +0000 (21:07 +0000)]
Change ignored extension .tar.gz to .tgz.

26 years agoIgnore intermediate files.
Fred Drake [Mon, 11 May 1998 21:06:18 +0000 (21:06 +0000)]
Ignore intermediate files.

26 years agoSet the right page size in the PDF output.
Fred Drake [Mon, 11 May 1998 20:42:54 +0000 (20:42 +0000)]
Set the right page size in the PDF output.

26 years agoAdd --letter option, similar to --a4. This is a no-op, but can be used from
Fred Drake [Mon, 11 May 1998 20:40:24 +0000 (20:40 +0000)]
Add --letter option, similar to --a4.  This is a no-op, but can be used from
a Makefile:  mkhowto.sh --$(PAPER).

26 years agoAdd the clean, clobber targets here for this directory.
Fred Drake [Mon, 11 May 1998 19:54:57 +0000 (19:54 +0000)]
Add the clean, clobber targets here for this directory.

26 years agoReverted the last change; the extra cruft is harmless for formatted versions,
Fred Drake [Mon, 11 May 1998 19:51:11 +0000 (19:51 +0000)]
Reverted the last change; the extra cruft is harmless for formatted versions,
and allows the info to work through this section.

26 years agoDon't be so ugly as to use "set -x" to get the executed commands printed.
Fred Drake [Mon, 11 May 1998 19:06:26 +0000 (19:06 +0000)]
Don't be so ugly as to use "set -x" to get the executed commands printed.

26 years agoAdded a section about documentation for the Mac modules.
Fred Drake [Mon, 11 May 1998 19:05:36 +0000 (19:05 +0000)]
Added a section about documentation for the Mac modules.

26 years agoOops, better add it to the usage message!
Fred Drake [Mon, 11 May 1998 19:04:56 +0000 (19:04 +0000)]
Oops, better add it to the usage message!

26 years agoAdd easy-to-use support for A4 paper.
Fred Drake [Mon, 11 May 1998 19:04:06 +0000 (19:04 +0000)]
Add easy-to-use support for A4 paper.

26 years agoRemove the tarhtml target; not useful from the sub-make.
Fred Drake [Mon, 11 May 1998 18:54:02 +0000 (18:54 +0000)]
Remove the tarhtml target; not useful from the sub-make.