Fred Drake
cbe50f4829
Removed bogus index entry for the type() built-in.
...
Marked title of the Python Reference Manual as \emph{}, like other Python
manual titles.
1998-01-20 05:12:36 +00:00
Fred Drake
311c19688d
Proposed new macros: see comments. These are not yet used.
...
These are intended to support semantic markup. There are a number
of places in the documentation where the exact meaning of an
indentifier marked \code{} in the running text is ambiguous (could
be a module or a class, a function or a method, etc.). These are
intended to clarify the intent of the identifier for processing
applications and more intelligent style processing.
1998-01-20 05:07:19 +00:00
Fred Drake
cb42f7c295
Consistency: "{\tt ...}" ==> "\code{...}"
1998-01-20 04:55:47 +00:00
Fred Drake
9eb5e5097e
Consistency: "{\it ...}" ==> "\emph{...}"
1998-01-20 04:54:23 +00:00
Fred Drake
c520b695fe
The soundex module is built-in, not standard.
...
"--" ==> "---"
1998-01-20 04:45:44 +00:00
Fred Drake
ca12b9df7b
Consistency: {\it ...} ==> \emph{...}
1998-01-20 04:43:29 +00:00
Fred Drake
dd17d1ce62
ni is a standard module, not a built-in module. The only other reference to
...
it already got it right.
1998-01-20 04:40:41 +00:00
Fred Drake
bac354cd80
Consistency: (Yes, I know this section is not formatted by default, and
...
isn't likely to be of much interest these days....)
{\tt ...} ==> \code{...}
Added \label{module-blat} for the two supporting modules.
Added index entries for referred-to modules.
1998-01-20 04:32:09 +00:00
Guido van Rossum
57d9f2e6ec
Renamed Jim's PyErr_[JF]Format() to cPickle_ErrFormat(). It's not a
...
standard Python API function so it should not have a Py prefix.
1998-01-19 23:18:18 +00:00
Guido van Rossum
79a6a9e882
Removed a confusing note about coercions and __r*__ operators.
1998-01-19 23:16:55 +00:00
Guido van Rossum
46503922a0
Various updates to the effect that the group argument is always optional.
...
Also documented that groups() now always returns a tuple.
1998-01-19 23:14:17 +00:00
Guido van Rossum
7d4ecb8785
Add note about dropping latex 2.09 compatibility.
1998-01-19 23:10:21 +00:00
Guido van Rossum
c567b8176a
Revamped, to match py_compile.py:
...
- added docstrings
- support option to specify a different purported directory name
- reindented with 4 spaces
1998-01-19 23:07:55 +00:00
Guido van Rossum
f7edadbc58
Add Gopher to list of protocols that support query strings.
1998-01-19 22:27:21 +00:00
Guido van Rossum
e7579624ef
Fix bad new bug in ftp code -- the test for existing file using NLST
...
would set the transfer to text mode instead of the specified mode.
1998-01-19 22:26:54 +00:00
Guido van Rossum
ca99c2ce75
Fix to ismount(). Can't remember who told me this.
1998-01-19 22:25:59 +00:00
Guido van Rossum
29c4688659
Patch by Tim O'Malley for servers that send a response looking just like
...
HTTP/1.x 200
instead of
HTTP/1.x 200 OK
1998-01-19 22:25:24 +00:00
Guido van Rossum
42e8e5d164
Protect PyErr_Format format string argument from overflow.
1998-01-19 22:23:08 +00:00
Guido van Rossum
0d6b49eff2
Protect PyErr_Format format string argument from overflow (ironically,
...
the error was about a bad format string :-).
1998-01-19 22:22:44 +00:00
Guido van Rossum
db9351643d
Instead of "attribute-less object", issue an error message that
...
contains the type of the object and name of the attribute.
1998-01-19 22:16:36 +00:00
Guido van Rossum
cf57d8b8c9
tok_nextc() should return unsigned characters, to avoid mistaking
...
'\377' for EOF.
1998-01-19 22:07:46 +00:00
Guido van Rossum
d29806c37e
Instead of a single exists(), differentiate between files, modules,
...
executable files, and directories. When expecting a module, we also
look for the .pyc or .pyo file.
1998-01-19 22:06:22 +00:00
Guido van Rossum
73bacfc3d7
Add unistd.h for isatty().
1998-01-19 22:05:22 +00:00
Guido van Rossum
3dacdc306e
Add LOG_SYSLOG if defined.
1998-01-19 22:05:08 +00:00
Guido van Rossum
15af20a337
Better #ifdefs for NetBSD, taking into account that at least on netBSD
...
1.3, dlopen() etc. are fully implemented, including dlerror().
From Jaromir Dolecek and Ty Sarna.
1998-01-19 22:03:52 +00:00
Guido van Rossum
4cc462e85b
It seems obvious that when Py_Finalize() decides that there's nothing
...
to do, it should not call sys.exitfunc either...
1998-01-19 22:00:38 +00:00
Guido van Rossum
d2dd9a8b7f
Some patches by Lars Marius Garshol:
...
- fix type_to_name(); it never worked
- add path_to_selector()
add path_to_datatype_name()
1998-01-19 21:59:48 +00:00
Guido van Rossum
758eec0172
Rewritten PyImport_Cleanup() and its helper, clear_carefully(). They
...
now implement the following finalization strategy.
1. Whenever this code deletes a module, its directory is cleared
carefully, as follows:
- set all names to None that begin with exactly one underscore
- set all names to None that don't begin with two underscores
- clear the directory
2. Modules are deleted in the following order:
- modules with a reference count of 1, except __builtin__ or __sys__
- repeat until no more are found with a reference count of 1
- __main__ if it's still there
- all remaining modules except __builtin__ or sys
- sys
_ __builtin__
1998-01-19 21:58:26 +00:00
Fred Drake
8095ebfc4a
Consistency: Replaced 4 {\it ...} with \emph{...}.
1998-01-19 04:02:41 +00:00
Guido van Rossum
63566e2ef2
Added docstrings.
...
Added an optional third parameter giving the purported filename for
error messages from the module.
Append a newline to the code string if needed.
1998-01-19 04:01:26 +00:00
Fred Drake
94e8f690dd
Consistency: Replaced one {\tt ...} with \code{...}.
1998-01-19 02:55:11 +00:00
Fred Drake
b6ce6427e8
Consistency: In two places, change {\it ...} to \emph{...}.
1998-01-19 02:51:02 +00:00
Fred Drake
53396f66c1
Consistency: In two \section{} headers, change {\tt ...} to \sectcode{...}.
1998-01-19 02:48:37 +00:00
Fred Drake
9e24309bb5
\funcitem{}, \dataitem{}, \excitem{}: Removed obsolete macros; there are no
...
longer used anywhere. Use the {*desc} environments instead.
\var{}: Ensure that the argument is always set in roman italic, in case an
alternate font is being used for code. These keeps the result of
\var{} consistent.
Some minor changes to allow easier exploration of alternate fonts for code in
the running text. Haven't changed the selected font; I haven't found one that
has everything required! (The best non-monospaced font so far was missing
the <, >, and | characters, or at least had them at the wrong locations. It
also allowed confusion between upper-case I and lower-case L.)
1998-01-18 05:09:54 +00:00
Fred Drake
b660b63edf
Use \emph{} for all references to the other documents, not just some of them.
1998-01-16 16:34:34 +00:00
Jack Jansen
20989e834d
Mods by Bill Bedford
...
- Use internal version of finder class so we don't drag in finder
tools
- error -1704 also ignored during arg unpack
- Use Scriptable Text Editor for example
1998-01-16 14:40:10 +00:00
Jack Jansen
5b0533d9ca
Addition by Bill Bedford: Ordinal and NOrdinal classes so we can
...
implement "every", etc.
1998-01-16 14:38:10 +00:00
Guido van Rossum
48b805c07c
SO_REUSEPORT should be SO_REUSEADDR.
...
I found this in a mail of two and a half years ago from Yusuf Goolamabbas.
1998-01-15 22:36:13 +00:00
Fred Drake
5081b227f1
Ouch: "accounces" ==> "announces"
...
(In description of AbstractWriter class.)
1998-01-15 05:49:00 +00:00
Guido van Rossum
e2c6e203c6
Add trace methods to class Variable
1998-01-14 16:44:34 +00:00
Guido van Rossum
f473cb007b
Added tests for qualified sub and split
1998-01-14 16:42:17 +00:00
Guido van Rossum
8687164426
Seems I've found a way to fix this.
1998-01-14 15:40:30 +00:00
Fred Drake
af8a015c93
Consistency: "{\bf ...}" ==> "\strong{...}"
...
"{\em ...}" ==> "\emph{...}"
Not at all sure what to do with "{\rm ...}".
Leaving it for now.
1998-01-14 14:51:31 +00:00
Fred Drake
b215137224
Added the standard \label{module-*} for the two supporting modules.
1998-01-14 05:47:15 +00:00
Fred Drake
8ac34c2928
Consistency: "Unix" ==> "\UNIX{}"
...
Always include the comma *inside* the \optional{} markup!
1998-01-13 22:41:33 +00:00
Fred Drake
737e73ec3d
Augment \tableofcontents to do the right thing.
1998-01-13 22:40:08 +00:00
Fred Drake
4d4f9e726a
Removed \mytableofcontents; just use \tableofcontents.
1998-01-13 22:25:02 +00:00
Fred Drake
3e9ce54eff
Removed one hack!
1998-01-13 22:23:30 +00:00
Fred Drake
a809064166
Consistency: "Unix" ==> "\UNIX{}"
1998-01-13 19:10:02 +00:00
Fred Drake
6862b46b70
Consistency: "unix" ==> "\UNIX{}"
1998-01-13 19:03:36 +00:00