summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added getsize(), getmtime(), getatime()Guido van Rossum1998-07-244-0/+72
|
* Document makedirs(), removedirs(), renames() -- ESR-inspired super-versionsGuido van Rossum1998-07-241-1/+30
| | | | | of mkdir(), rmdir() and rename() that make or remove intermediate directories as well.
* Add makedirs(), removedirs(), renames() -- ESR-inspired super-versionsGuido van Rossum1998-07-241-0/+63
| | | | | of mkdir(), rmdir() and rename() that make or remove intermediate directories as well.
* My first Perl object. ;-)Fred Drake1998-07-241-0/+72
| | | | | SynopsisTable objects are used to store the table of module synopses for a single chapter it the manual.
* Fix markup of an \indexiii --> only two parameters were given.Fred Drake1998-07-241-1/+1
|
* Use 'S' format character for the optional constructor argument, so weGuido van Rossum1998-07-241-1/+1
| | | | | get a decent error message when it's not a string (instead of confusing errors when trying to use the thing).
* Changes copied from the FrameMaker version. Hardly anything (but thenGuido van Rossum1998-07-241-6/+5
| | | | | | this is the shortest chapter.) Hurray, I'm done with this!
* Changes copied from the FrameMaker version. Not too much.Guido van Rossum1998-07-241-108/+112
|
* Changes copied from the FrameMaker version. Also documented someGuido van Rossum1998-07-241-83/+141
| | | | | | | previously undocumented features. Packages and the import mechanism in general are still left undocumented.
* Remove all-<format> targets in favor of just <format>.Fred Drake1998-07-241-11/+13
| | | | | | Fix some comments. For lib.pdf, run tools/toc2bkm.py to get "bookmarks" in acroread.
* e.g. -> e.g.,Guido van Rossum1998-07-245-15/+16
|
* Remove use of the avant package; Helvetica isn't as pretty, but works forFred Drake1998-07-241-1/+0
| | | | | acroread. The problem this solves is likely dependent on font availability, so keeping things simple is a good solution.
* Document Ellipsis (not much of a documentation snippet, but at leastGuido van Rossum1998-07-241-0/+9
| | | | it's mentioned.
* Added 3 missing types: ComplexType, SliceType, EllipsisType.Guido van Rossum1998-07-241-0/+13
|
* Move files around in a different way, so CVS picks up all the changes. ;-)Fred Drake1998-07-241-861/+119
|
* Reflect file renamings for the Python Library Reference.Fred Drake1998-07-241-17/+41
| | | | Fix style dependencies for HOWTO documents.
* Move files around to get the names to match the module names except forFred Drake1998-07-245-133/+875
| | | | | case. Two modules (SocketServer, BaseHTTPServer) still don't match; those names are just too long!
* Reduce the number of levels in the Table of Contents by one, mostly for theFred Drake1998-07-241-0/+1
| | | | | | Python Library Reference. The other manuals do not suffer. This does not affect HOWTO documents.
* Remove item about one section === one module; done.Fred Drake1998-07-241-2/+4
| | | | | Add item about howto docs that use \localmoduletable problem for howto documents.
* Changes copied from the FrameMaker version, and some new stuffGuido van Rossum1998-07-231-160/+292
| | | | (complex numbers, power operator).
* \textunderscore: Re-define with a width that's more appropriate for theFred Drake1998-07-231-0/+6
| | | | | | 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.)
* Document the 'p' format character.Fred Drake1998-07-231-7/+16
| | | | Clean up some of the markup.
* Fix up Barry's markup, which didn't pass the latex test. ;-)Fred Drake1998-07-231-8/+7
|
* Added descriptions of EnvironmentError and OSError; updated IOError toBarry Warsaw1998-07-231-18/+51
| | | | reflect its new place in the exception hierarchy; fixed typos, etc.
* Updated the description of os.error to reflect the fact that it is nowBarry Warsaw1998-07-231-6/+11
| | | | equivalent to exceptions.OSError.
* Logical markup.Fred Drake1998-07-231-42/+42
|
* Changes copied from the FrameMaker version (hardly anything original).Guido van Rossum1998-07-231-88/+99
|
* Use the new module synopsis syntax, even though we don't need a synopsis tableFred Drake1998-07-231-2/+3
| | | | for this chapter. This protects against backend changes for \declaremodule.
* use_latex(): Hack to pass .syn files though uniq, so that the last moduleFred Drake1998-07-231-1/+10
| | | | | in a HOWTO document isn't listed in the synopsis table twice. This will do until the real bug is found (low priority!).
* Added targets dvi, pdf, and ps, to make all of the documents in those formats.Fred Drake1998-07-231-3/+3
|
* Adjusted to use the new module synopsis support macros.Fred Drake1998-07-23139-707/+628
|
* Adjusted to use the new \declaremodule \modulesynopsis \localmoduletableFred Drake1998-07-2313-80/+64
| | | | macros.
* 'name space' -> 'namespace'Guido van Rossum1998-07-231-8/+8
|
* Lots of new stuff for "module synopsis support." Public interface consistsFred Drake1998-07-231-51/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* \py@ModSynopsisFilename: New macro; gives names of the .syn file.Fred Drake1998-07-231-0/+3
|
* \py@ModSynopsisFilename: New macro; gives names of the "current" .syn file.Fred Drake1998-07-231-0/+9
| | | | | \chapter: Extended, ensures that a pending module synopsis is written out and then closes the .syn file for the preceeding chapter.
* Ignore the new ".syn" files used to handle module synopses.Fred Drake1998-07-232-0/+2
|
* Lots of changes copied from the FrameMaker version. Also documentedGuido van Rossum1998-07-231-231/+625
| | | | some previously undocumented features.
* Several changes to support inclusion of filename in releventBarry Warsaw1998-07-231-13/+21
| | | | | | | | | | | | | | | | | | | | | 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
* PyFile_FromString(): If an exception occurs, pass in the filename thatBarry Warsaw1998-07-231-1/+2
| | | | | was used so it's reflected in the IOError. Call PyErr_SetFromErrnoWithFilename().
* PyErr_SetFromErrnoWithFilename(): New function which supports settingBarry Warsaw1998-07-231-2/+14
| | | | | | | | | | | 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().
* Added support for including the filename in IOErrors and OSErrors thatBarry Warsaw1998-07-231-3/+32
| | | | | | | | | | | | | | | | 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.
* Added support for two new standard errors: EnvironmentError andBarry Warsaw1998-07-231-5/+16
| | | | | | | | | 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.
* New global variables: PyExc_EnvironmentError and PyExc_OSErrorBarry Warsaw1998-07-231-0/+3
| | | | New function: PyErr_SetFromErrnoWithFilename(PyObject* char*)
* # Oops, correct Latex errors.Guido van Rossum1998-07-221-2/+2
|
* Document how to make a POST request with urlopen().Guido van Rossum1998-07-221-6/+25
| | | | | | | Change the argument name for quote() and quote_plus() to safe (which matches the implementation). Add doc for the *new* function urlencode().
* Speed up the implementation of quote().Guido van Rossum1998-07-221-8/+17
| | | | | | | | 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().
* - Added a function MoviesTask, which is the same as the method butJack Jansen1998-07-222-3/+29
| | | | | with a null movie (giving time to all active movies) - Made the graphics world parameter to SetMovieGWorld optional.
* Remove the MOOV filetype from the StandardGetFile call, so we can alsoJack Jansen1998-07-221-1/+1
| | | | open MPEG files, etc.
* Feature added by Harri Pasanen (at my suggestion): .py suffix onGuido van Rossum1998-07-221-3/+10
| | | | filename may be omitted.