]> granicus.if.org Git - python/log
python
26 years agoPass paper size to dvips explicitly.
Fred Drake [Wed, 29 Jul 1998 05:07:41 +0000 (05:07 +0000)]
Pass paper size to dvips explicitly.

26 years agoUpdate.
Fred Drake [Wed, 29 Jul 1998 04:45:53 +0000 (04:45 +0000)]
Update.

26 years agotohtml(): Use a table instead of a definition list for module synopses.
Fred Drake [Wed, 29 Jul 1998 04:45:23 +0000 (04:45 +0000)]
tohtml():  Use a table instead of a definition list for module synopses.

26 years agoFix two remaining references to all-pdf and all-ps to only use pdf and ps.
Fred Drake [Wed, 29 Jul 1998 03:49:44 +0000 (03:49 +0000)]
Fix two remaining references to all-pdf and all-ps to only use pdf and ps.

26 years agoUpdate to use a separate page for front matter.
Fred Drake [Tue, 28 Jul 1998 21:55:19 +0000 (21:55 +0000)]
Update to use a separate page for front matter.

26 years agoUpdate the HOWTO template to use a separate page for front matter, with
Fred Drake [Tue, 28 Jul 1998 21:53:34 +0000 (21:53 +0000)]
Update the HOWTO template to use a separate page for front matter, with
comments.

26 years agodo_cmd_maketitle(): No <hr> at the end of the "title page".
Fred Drake [Tue, 28 Jul 1998 21:52:57 +0000 (21:52 +0000)]
do_cmd_maketitle():  No <hr> at the end of the "title page".

26 years agoDefine stuff to allow simple HTML-only selection using TeX's \if<foo>...\fi
Fred Drake [Tue, 28 Jul 1998 21:52:17 +0000 (21:52 +0000)]
Define stuff to allow simple HTML-only selection using TeX's \if<foo>...\fi
stuff.  \ifhtml ...\fi for HTML only.

26 years agoAdded ref/ref.tex to REFFILES.
Fred Drake [Tue, 28 Jul 1998 21:05:16 +0000 (21:05 +0000)]
Added ref/ref.tex to REFFILES.

Fixed up some comments.

Removed info-related targets from the really big combined targets.

26 years agoMake sure all chapters, sections, and subsections have a \label to give them
Fred Drake [Tue, 28 Jul 1998 19:34:22 +0000 (19:34 +0000)]
Make sure all chapters, sections, and subsections have a \label to give them
semantic file names in the HTML.  No more node#.html files!

26 years agoMake sure chapters, sections, and subsections all have a \label to give them
Fred Drake [Tue, 28 Jul 1998 19:32:59 +0000 (19:32 +0000)]
Make sure chapters, sections, and subsections all have a \label to give them
semantic file names in the HTML version; no more node#.html files.

Fix one section heading.

26 years agoDon't use raw_input() to ask for the password; this puts the password
Guido van Rossum [Tue, 28 Jul 1998 19:28:43 +0000 (19:28 +0000)]
Don't use raw_input() to ask for the password; this puts the password
in the GNU readline history buffer which is not such a great idea.

26 years agofix __str__ method of EnvironmentError (base class of IOError): was
Jeremy Hylton [Tue, 28 Jul 1998 17:30:06 +0000 (17:30 +0000)]
fix __str__ method of EnvironmentError (base class of IOError): was
using "%d" % errno to print out IOError exceptions -- but urllib.py
raises exceptions where the errno slot in the exception tuple is a
string.

26 years agoFixed the gzip synopsis.
Fred Drake [Mon, 27 Jul 1998 22:30:15 +0000 (22:30 +0000)]
Fixed the gzip synopsis.

26 years agoAdded the popen2 synopsis.
Fred Drake [Mon, 27 Jul 1998 22:20:02 +0000 (22:20 +0000)]
Added the popen2 synopsis.

26 years agoAdded the calendar synopsis.
Fred Drake [Mon, 27 Jul 1998 22:18:24 +0000 (22:18 +0000)]
Added the calendar synopsis.

26 years agoAdded the bisect synopsis.
Fred Drake [Mon, 27 Jul 1998 22:16:46 +0000 (22:16 +0000)]
Added the bisect synopsis.

26 years agoAdded the dumbdbm synopsis.
Fred Drake [Mon, 27 Jul 1998 22:12:26 +0000 (22:12 +0000)]
Added the dumbdbm synopsis.

26 years agoAdded a synopsis.
Fred Drake [Mon, 27 Jul 1998 22:08:49 +0000 (22:08 +0000)]
Added a synopsis.

26 years agoFix the synopsis.
Fred Drake [Mon, 27 Jul 1998 22:06:12 +0000 (22:06 +0000)]
Fix the synopsis.

Change one \code{} to \samp{}.

26 years agoMark the new & changed items.
Fred Drake [Mon, 27 Jul 1998 21:11:42 +0000 (21:11 +0000)]
Mark the new & changed items.

26 years agoUpdate the release date.
Fred Drake [Mon, 27 Jul 1998 21:10:54 +0000 (21:10 +0000)]
Update the release date.

26 years agodo_cmd_localmoduletable(): Cause the child links table to be dropped when
Fred Drake [Mon, 27 Jul 1998 20:48:26 +0000 (20:48 +0000)]
do_cmd_localmoduletable():  Cause the child links table to be dropped when
there's a local module list.

26 years agodo_cmd_versionadded(),
Fred Drake [Mon, 27 Jul 1998 20:33:17 +0000 (20:33 +0000)]
do_cmd_versionadded(),
do_cmd_versionchanged():  Support for new macros.

26 years ago\versionadded,
Fred Drake [Mon, 27 Jul 1998 20:32:33 +0000 (20:32 +0000)]
\versionadded,
\versionchanged:  New macros.

26 years agoConvert operator precedence table to the new style markup.
Fred Drake [Mon, 27 Jul 1998 20:27:53 +0000 (20:27 +0000)]
Convert operator precedence table to the new style markup.
Added lambda to the table.
Call "**" exponentiation instead of power.

{\em ...} --> \emph{...}

26 years agoMinor tidy.
Fred Drake [Mon, 27 Jul 1998 19:12:58 +0000 (19:12 +0000)]
Minor tidy.

26 years agoUse Py_GetPythonHome() instead of getenv("PYTHONHOME").
Guido van Rossum [Mon, 27 Jul 1998 13:49:04 +0000 (13:49 +0000)]
Use Py_GetPythonHome() instead of getenv("PYTHONHOME").

26 years agoTwo changes:
Guido van Rossum [Mon, 27 Jul 1998 13:48:07 +0000 (13:48 +0000)]
Two changes:

(1) Use Py_GetPythonHome() instead of getenv("PYTHONHOME");

(2) Mark Hammond's patch to search for .pyc/.pyo landmark as well.

26 years agoMake sure that at least one digit has been consumed in atoi().
Guido van Rossum [Sat, 25 Jul 1998 04:14:37 +0000 (04:14 +0000)]
Make sure that at least one digit has been consumed in atoi().

26 years agoFix up the synopsis table stuff so it gets things right at each chapter,
Fred Drake [Sat, 25 Jul 1998 03:31:46 +0000 (03:31 +0000)]
Fix up the synopsis table stuff so it gets things right at each chapter,
instead of stringing it all together.

Yay!

26 years agoUpdate @INC so we can 'require' modules in Doc/perl/.
Fred Drake [Fri, 24 Jul 1998 22:17:34 +0000 (22:17 +0000)]
Update @INC so we can 'require' modules in Doc/perl/.

Call the localmoduletable handling once the document is complete & synopses
have been collected.

26 years agoAdded module synopsis support with one (big) caveat: All the modules are
Fred Drake [Fri, 24 Jul 1998 22:16:04 +0000 (22:16 +0000)]
Added module synopsis support with one (big) caveat:  All the modules are
listed in each chapter that has a \localmoduletable.  This will be fixed,
and everything else seems to be working fine.

26 years agotohtml(): Make module names anchors.
Fred Drake [Fri, 24 Jul 1998 22:13:37 +0000 (22:13 +0000)]
tohtml():  Make module names anchors.

26 years agoConverted some {tabular}s to use {tablei*} environments.
Fred Drake [Fri, 24 Jul 1998 22:12:32 +0000 (22:12 +0000)]
Converted some {tabular}s to use {tablei*} environments.

26 years ago{tableiv} environment: Four-column table.
Fred Drake [Fri, 24 Jul 1998 22:11:29 +0000 (22:11 +0000)]
{tableiv} environment:  Four-column table.

\lineiv:  Row for {tableiv}.

26 years agoRemoving all references to FrameMaker
Guido van Rossum [Fri, 24 Jul 1998 20:58:52 +0000 (20:58 +0000)]
Removing all references to FrameMaker

26 years agocheckpoint before I throw this away
Guido van Rossum [Fri, 24 Jul 1998 20:55:06 +0000 (20:55 +0000)]
checkpoint before I throw this away

26 years agoChecking in uninteresting changes (mostly window resizes :-)
Guido van Rossum [Fri, 24 Jul 1998 20:54:00 +0000 (20:54 +0000)]
Checking in uninteresting changes (mostly window resizes :-)
before I remove all this cruft.

26 years agoDocument getsize(), getmtime(), getatime().
Guido van Rossum [Fri, 24 Jul 1998 20:49:39 +0000 (20:49 +0000)]
Document getsize(), getmtime(), getatime().

26 years agoAdded getsize(), getmtime(), getatime()
Guido van Rossum [Fri, 24 Jul 1998 20:49:26 +0000 (20:49 +0000)]
Added getsize(), getmtime(), getatime()

26 years agoDocument makedirs(), removedirs(), renames() -- ESR-inspired super-versions
Guido van Rossum [Fri, 24 Jul 1998 20:48:20 +0000 (20:48 +0000)]
Document makedirs(), removedirs(), renames() -- ESR-inspired super-versions
of mkdir(), rmdir() and rename() that make or remove intermediate
directories as well.

26 years agoAdd makedirs(), removedirs(), renames() -- ESR-inspired super-versions
Guido van Rossum [Fri, 24 Jul 1998 20:48:03 +0000 (20:48 +0000)]
Add makedirs(), removedirs(), renames() -- ESR-inspired super-versions
of mkdir(), rmdir() and rename() that make or remove intermediate
directories as well.

26 years agoMy first Perl object. ;-)
Fred Drake [Fri, 24 Jul 1998 20:34:59 +0000 (20:34 +0000)]
My first Perl object.  ;-)

SynopsisTable objects are used to store the table of module synopses for
a single chapter it the manual.

26 years agoFix markup of an \indexiii --> only two parameters were given.
Fred Drake [Fri, 24 Jul 1998 20:28:22 +0000 (20:28 +0000)]
Fix markup of an \indexiii --> only two parameters were given.

26 years agoUse 'S' format character for the optional constructor argument, so we
Guido van Rossum [Fri, 24 Jul 1998 19:53:54 +0000 (19:53 +0000)]
Use 'S' format character for the optional constructor argument, so we
get a decent error message when it's not a string (instead of
confusing errors when trying to use the thing).

26 years agoChanges copied from the FrameMaker version. Hardly anything (but then
Guido van Rossum [Fri, 24 Jul 1998 18:56:17 +0000 (18:56 +0000)]
Changes copied from the FrameMaker version.  Hardly anything (but then
this is the shortest chapter.)

Hurray, I'm done with this!

26 years agoChanges copied from the FrameMaker version. Not too much.
Guido van Rossum [Fri, 24 Jul 1998 18:51:11 +0000 (18:51 +0000)]
Changes copied from the FrameMaker version.  Not too much.

26 years agoChanges copied from the FrameMaker version. Also documented some
Guido van Rossum [Fri, 24 Jul 1998 18:25:38 +0000 (18:25 +0000)]
Changes copied from the FrameMaker version.  Also documented some
previously undocumented features.

Packages and the import mechanism in general are still left
undocumented.

26 years agoRemove all-<format> targets in favor of just <format>.
Fred Drake [Fri, 24 Jul 1998 15:42:12 +0000 (15:42 +0000)]
Remove all-<format> targets in favor of just <format>.

Fix some comments.

For lib.pdf, run tools/toc2bkm.py to get "bookmarks" in acroread.

26 years agoe.g. -> e.g.,
Guido van Rossum [Fri, 24 Jul 1998 15:36:43 +0000 (15:36 +0000)]
e.g. -> e.g.,

26 years agoRemove use of the avant package; Helvetica isn't as pretty, but works for
Fred Drake [Fri, 24 Jul 1998 15:19:38 +0000 (15:19 +0000)]
Remove use of the avant package; Helvetica isn't as pretty, but works for
acroread.  The problem this solves is likely dependent on font availability,
so keeping things simple is a good solution.

26 years agoDocument Ellipsis (not much of a documentation snippet, but at least
Guido van Rossum [Fri, 24 Jul 1998 15:02:02 +0000 (15:02 +0000)]
Document Ellipsis (not much of a documentation snippet, but at least
it's mentioned.

26 years agoAdded 3 missing types: ComplexType, SliceType, EllipsisType.
Guido van Rossum [Fri, 24 Jul 1998 15:01:05 +0000 (15:01 +0000)]
Added 3 missing types: ComplexType, SliceType, EllipsisType.

26 years agoMove files around in a different way, so CVS picks up all the changes. ;-)
Fred Drake [Fri, 24 Jul 1998 14:27:22 +0000 (14:27 +0000)]
Move files around in a different way, so CVS picks up all the changes.  ;-)

26 years agoReflect file renamings for the Python Library Reference.
Fred Drake [Fri, 24 Jul 1998 13:58:27 +0000 (13:58 +0000)]
Reflect file renamings for the Python Library Reference.

Fix style dependencies for HOWTO documents.

26 years agoMove files around to get the names to match the module names except for
Fred Drake [Fri, 24 Jul 1998 13:56:11 +0000 (13:56 +0000)]
Move files around to get the names to match the module names except for
case.  Two modules (SocketServer, BaseHTTPServer) still don't match; those
names are just too long!

26 years agoReduce the number of levels in the Table of Contents by one, mostly for the
Fred Drake [Fri, 24 Jul 1998 13:54:29 +0000 (13:54 +0000)]
Reduce the number of levels in the Table of Contents by one, mostly for the
Python Library Reference.  The other manuals do not suffer.

This does not affect HOWTO documents.

26 years agoRemove item about one section === one module; done.
Fred Drake [Fri, 24 Jul 1998 13:02:17 +0000 (13:02 +0000)]
Remove item about one section === one module; done.

Add item about howto docs that use \localmoduletable problem for howto
documents.

26 years agoChanges copied from the FrameMaker version, and some new stuff
Guido van Rossum [Thu, 23 Jul 1998 21:57:42 +0000 (21:57 +0000)]
Changes copied from the FrameMaker version, and some new stuff
(complex numbers, power operator).

26 years ago\textunderscore: Re-define with a width that's more appropriate for the
Fred Drake [Thu, 23 Jul 1998 21:41:02 +0000 (21:41 +0000)]
\textunderscore:  Re-define with a width that's more appropriate for the
courier font used in Python code.  This still isn't *good*, but
makes the width about right in most cases.  (Exception: it's now
a little wide in \var words.)

26 years agoDocument the 'p' format character.
Fred Drake [Thu, 23 Jul 1998 21:18:25 +0000 (21:18 +0000)]
Document the 'p' format character.

Clean up some of the markup.

26 years agoFix up Barry's markup, which didn't pass the latex test. ;-)
Fred Drake [Thu, 23 Jul 1998 20:31:53 +0000 (20:31 +0000)]
Fix up Barry's markup, which didn't pass the latex test.  ;-)

26 years agoAdded descriptions of EnvironmentError and OSError; updated IOError to
Barry Warsaw [Thu, 23 Jul 1998 19:57:35 +0000 (19:57 +0000)]
Added descriptions of EnvironmentError and OSError; updated IOError to
reflect its new place in the exception hierarchy; fixed typos, etc.

26 years agoUpdated the description of os.error to reflect the fact that it is now
Barry Warsaw [Thu, 23 Jul 1998 19:50:09 +0000 (19:50 +0000)]
Updated the description of os.error to reflect the fact that it is now
equivalent to exceptions.OSError.

26 years agoLogical markup.
Fred Drake [Thu, 23 Jul 1998 19:47:41 +0000 (19:47 +0000)]
Logical markup.

26 years agoChanges copied from the FrameMaker version (hardly anything original).
Guido van Rossum [Thu, 23 Jul 1998 19:36:00 +0000 (19:36 +0000)]
Changes copied from the FrameMaker version (hardly anything original).

26 years agoUse the new module synopsis syntax, even though we don't need a synopsis table
Fred Drake [Thu, 23 Jul 1998 19:33:08 +0000 (19:33 +0000)]
Use the new module synopsis syntax, even though we don't need a synopsis table
for this chapter.  This protects against backend changes for \declaremodule.

26 years agouse_latex(): Hack to pass .syn files though uniq, so that the last module
Fred Drake [Thu, 23 Jul 1998 19:13:52 +0000 (19:13 +0000)]
use_latex():  Hack to pass .syn files though uniq, so that the last module
in a HOWTO document isn't listed in the synopsis table twice.  This
will do until the real bug is found (low priority!).

26 years agoAdded targets dvi, pdf, and ps, to make all of the documents in those formats.
Fred Drake [Thu, 23 Jul 1998 18:10:51 +0000 (18:10 +0000)]
Added targets dvi, pdf, and ps, to make all of the documents in those formats.

26 years agoAdjusted to use the new module synopsis support macros.
Fred Drake [Thu, 23 Jul 1998 17:59:49 +0000 (17:59 +0000)]
Adjusted to use the new module synopsis support macros.

26 years agoAdjusted to use the new \declaremodule \modulesynopsis \localmoduletable
Fred Drake [Thu, 23 Jul 1998 17:55:31 +0000 (17:55 +0000)]
Adjusted to use the new \declaremodule \modulesynopsis \localmoduletable
macros.

26 years ago'name space' -> 'namespace'
Guido van Rossum [Thu, 23 Jul 1998 17:54:36 +0000 (17:54 +0000)]
'name space' -> 'namespace'

26 years agoLots of new stuff for "module synopsis support." Public interface consists
Fred Drake [Thu, 23 Jul 1998 17:50:45 +0000 (17:50 +0000)]
Lots of new stuff for "module synopsis support."  Public interface consists
of three macros, one which replaces some of the current conventions used in
the module sections:

  \declaremodule:  Requires two parameters: module type (standard, builtin,
extension), and the module name.  An optional parameter should be
given as the basis for the module's "key" used for linking to or
referencing the section.  The "key" should only be given if the
module's name contains underscores, and should be the name with the
underscore's stripped.  This should be the first thing after the
\section used to introduce the module.

  \modulesynopsis:  Requires a single parameter: a short, one-liner
description of the module that can be used as part of the chapter
introduction.  This should probably be placed just after the
\declaremodule, but may be placed anywhere in the same section.

  \localmoduletable:  No parameters.  If a .syn file exists for the current
chapter (or for the entire document in howto docs), a synopsistable
is created with the contents loaded from the .syn file.

Some re-organization due to module synopsis support.

Some \def's changed to \newcommand's.

26 years ago\py@ModSynopsisFilename: New macro; gives names of the .syn file.
Fred Drake [Thu, 23 Jul 1998 17:36:46 +0000 (17:36 +0000)]
\py@ModSynopsisFilename:  New macro; gives names of the .syn file.

26 years ago\py@ModSynopsisFilename: New macro; gives names of the "current" .syn file.
Fred Drake [Thu, 23 Jul 1998 17:36:14 +0000 (17:36 +0000)]
\py@ModSynopsisFilename:  New macro; gives names of the "current" .syn file.

\chapter:  Extended, ensures that a pending module synopsis is written out
and then closes the .syn file for the preceeding chapter.

26 years agoIgnore the new ".syn" files used to handle module synopses.
Fred Drake [Thu, 23 Jul 1998 17:33:10 +0000 (17:33 +0000)]
Ignore the new ".syn" files used to handle module synopses.

26 years agoLots of changes copied from the FrameMaker version. Also documented
Guido van Rossum [Thu, 23 Jul 1998 17:12:46 +0000 (17:12 +0000)]
Lots of changes copied from the FrameMaker version.  Also documented
some previously undocumented features.

26 years agoSeveral changes to support inclusion of filename in relevent
Barry Warsaw [Thu, 23 Jul 1998 16:14:40 +0000 (16:14 +0000)]
Several changes to support inclusion of filename in relevent
exceptions:

posix_error_with_filename(): New function which calls
PyErr_SetFromErrnoWithFilename()

The following methods have been changed to call
posix_error_with_filename():

    posix_1str()
    posix_strint()
    posix_strintint()
    posix_do_stat()
    posix_mkdir()
    posix_utime()
    posix_readlink()
    posix_open()

INITFUNC(): os.error (nee PosixError) is PyExc_OSError

26 years agoPyFile_FromString(): If an exception occurs, pass in the filename that
Barry Warsaw [Thu, 23 Jul 1998 16:07:02 +0000 (16:07 +0000)]
PyFile_FromString(): If an exception occurs, pass in the filename that
was used so it's reflected in the IOError.  Call
PyErr_SetFromErrnoWithFilename().

26 years agoPyErr_SetFromErrnoWithFilename(): New function which supports setting
Barry Warsaw [Thu, 23 Jul 1998 16:05:56 +0000 (16:05 +0000)]
PyErr_SetFromErrnoWithFilename(): New function which supports setting
an exception from errno, with a supplied filename (primarily used by
IOError and OSError).  If class exceptions are used then the exception
is instantiated with a 3-tuple: (errno, strerror, filename).  For
backwards compatibility reasons, if string exceptions are used,
filename is ignored.

PyErr_SetFromErrno(): Implement in terms of
PyErr_SetFromErrnoWithFilename().

26 years agoAdded support for including the filename in IOErrors and OSErrors that
Barry Warsaw [Thu, 23 Jul 1998 16:03:46 +0000 (16:03 +0000)]
Added support for including the filename in IOErrors and OSErrors that
involve a filesystem path.  To that end:

- Changed IOError to EnvironmentError and added a hack which checks
  for arg of len 3.  When constructed with a 3-tuple, the third item
  is the filename and this is squirreled away in the `filename'
  attribute.   However, for in-place unpacking backwards
  compatibility, self.args still only gets the first two items.  Added
  a __str__() which prints the filename if it is given.

- IOError now inherits from EnvironmentError

- New class OSError which also inherits from EnvironmentError and is
  used by the posix module.

26 years agoAdded support for two new standard errors: EnvironmentError and
Barry Warsaw [Thu, 23 Jul 1998 15:59:57 +0000 (15:59 +0000)]
Added support for two new standard errors: EnvironmentError and
OSError.  The EnvironmentError serves primarily as the (common
implementation) base class for IOError and OSError.  OSError is used
by posixmodule.c

Also added tuple definition of EnvironmentError when using string
based exceptions.

26 years agoNew global variables: PyExc_EnvironmentError and PyExc_OSError
Barry Warsaw [Thu, 23 Jul 1998 15:57:34 +0000 (15:57 +0000)]
New global variables: PyExc_EnvironmentError and PyExc_OSError

New function: PyErr_SetFromErrnoWithFilename(PyObject* char*)

26 years ago# Oops, correct Latex errors.
Guido van Rossum [Wed, 22 Jul 1998 21:51:41 +0000 (21:51 +0000)]
# Oops, correct Latex errors.

26 years agoDocument how to make a POST request with urlopen().
Guido van Rossum [Wed, 22 Jul 1998 21:34:21 +0000 (21:34 +0000)]
Document how to make a POST request with urlopen().

Change the argument name for quote() and quote_plus() to safe (which
matches the implementation).

Add doc for the *new* function urlencode().

26 years agoSpeed up the implementation of quote().
Guido van Rossum [Wed, 22 Jul 1998 21:33:23 +0000 (21:33 +0000)]
Speed up the implementation of quote().

Fix the implementation of quote_plus().  (It wouldn't treat '+' in the
original data right.)

Add urlencode(dict) which is handy to create the data for sending a
POST request with urlopen().

26 years ago- Added a function MoviesTask, which is the same as the method but
Jack Jansen [Wed, 22 Jul 1998 13:37:37 +0000 (13:37 +0000)]
- Added a function MoviesTask, which is the same as the method but
with a null movie (giving time to all active movies)
- Made the graphics world parameter to SetMovieGWorld optional.

26 years agoRemove the MOOV filetype from the StandardGetFile call, so we can also
Jack Jansen [Wed, 22 Jul 1998 13:35:31 +0000 (13:35 +0000)]
Remove the MOOV filetype from the StandardGetFile call, so we can also
open MPEG files, etc.

26 years agoFeature added by Harri Pasanen (at my suggestion): .py suffix on
Guido van Rossum [Wed, 22 Jul 1998 13:35:21 +0000 (13:35 +0000)]
Feature added by Harri Pasanen (at my suggestion): .py suffix on
filename may be omitted.

26 years ago(pause_doc): Sun CC complains about newline in string literal
Barry Warsaw [Tue, 21 Jul 1998 22:41:18 +0000 (22:41 +0000)]
(pause_doc): Sun CC complains about newline in string literal

26 years agoWhen comparing objects, always check that tp_compare is not NULL
Guido van Rossum [Tue, 21 Jul 1998 21:56:41 +0000 (21:56 +0000)]
When comparing objects, always check that tp_compare is not NULL
before calling it.  This check was there when the objects were of the
same type *before* coercion, but not if they initially differed but
became the same *after* coercion.

26 years agoDon't use calculations on values gotten from tell(). Also use a
Guido van Rossum [Tue, 21 Jul 1998 14:24:04 +0000 (14:24 +0000)]
Don't use calculations on values gotten from tell().  Also use a
slightly different way to test for the existence of unread.

26 years agoAdd new syntax for specifying filenames on break and clear commands.
Guido van Rossum [Mon, 20 Jul 1998 23:29:10 +0000 (23:29 +0000)]
Add new syntax for specifying filenames on break and clear commands.

26 years agoUntabified.
Guido van Rossum [Mon, 20 Jul 1998 23:22:51 +0000 (23:22 +0000)]
Untabified.

26 years agoUpdate the documentation. Get rid of the section "how it works"
Guido van Rossum [Mon, 20 Jul 1998 23:21:21 +0000 (23:21 +0000)]
Update the documentation.  Get rid of the section "how it works"
(which is not very relevant when you're in the debugger :-).

26 years agoAdded support for specifying a filename for a breakpoint, roughly
Guido van Rossum [Mon, 20 Jul 1998 23:13:54 +0000 (23:13 +0000)]
Added support for specifying a filename for a breakpoint, roughly
according to an idea by Harri Pasanen (but with different syntax).
This affects the 'break' and 'clear' commands and their help
functions.  Also added a helper method lookupmodule().

Also:

- Try to import readline (important when pdb is used from/as a script).
- Get rid of reference to ancient __privileged__ magic variable.
- Moved all import out of functions to the top.
- When used as a script, check that the script file exists.

26 years agoFix another bug in ESR's changes. In order to work properly,
Guido van Rossum [Mon, 20 Jul 1998 21:22:08 +0000 (21:22 +0000)]
Fix another bug in ESR's changes.  In order to work properly,
onecmd(line) must return the value returned by emptyline() or
default(line).

26 years agoComplete the addition of libthreading.tex. (Isn't it annoying that
Guido van Rossum [Mon, 20 Jul 1998 17:34:50 +0000 (17:34 +0000)]
Complete the addition of libthreading.tex.  (Isn't it annoying that
you need to edit four files in order to add one section to the manual?)

26 years agoAdd missing initializer for self._backupfilename. Due to Ralph Butler.
Guido van Rossum [Mon, 20 Jul 1998 15:49:28 +0000 (15:49 +0000)]
Add missing initializer for self._backupfilename.  Due to Ralph Butler.