- 23 Tem, 1998 14 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
macros.
-
Guido van Rossum yazdı
-
Fred Drake yazdı
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.
-
Fred Drake yazdı
-
Fred Drake yazdı
\chapter: Extended, ensures that a pending module synopsis is written out and then closes the .syn file for the preceeding chapter.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
some previously undocumented features.
-
Barry Warsaw yazdı
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
-
Barry Warsaw yazdı
was used so it's reflected in the IOError. Call PyErr_SetFromErrnoWithFilename().
-
Barry Warsaw yazdı
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().
-
Barry Warsaw yazdı
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.
-
Barry Warsaw yazdı
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.
-
Barry Warsaw yazdı
New function: PyErr_SetFromErrnoWithFilename(PyObject* char*)
-
- 22 Tem, 1998 6 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Change the argument name for quote() and quote_plus() to safe (which matches the implementation). Add doc for the *new* function urlencode().
-
Guido van Rossum yazdı
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().
-
Jack Jansen yazdı
with a null movie (giving time to all active movies) - Made the graphics world parameter to SetMovieGWorld optional.
-
Jack Jansen yazdı
open MPEG files, etc.
-
Guido van Rossum yazdı
filename may be omitted.
-
- 21 Tem, 1998 3 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
slightly different way to test for the existence of unread.
-
- 20 Tem, 1998 11 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
(which is not very relevant when you're in the debugger :-).
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
onecmd(line) must return the value returned by emptyline() or default(line).
-
Guido van Rossum yazdı
you need to edit four files in order to add one section to the manual?)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
fp.tell() -- that won't work on Windows. (A patch for rfc822 is still needed for one case where it finds a bad header line and wants to back up.)
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
with LaTeX markup added, and some small rewrites to improve the prose.
-
- 17 Tem, 1998 6 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
to core dump if the first argument did not have a "group" attribute.
-
Guido van Rossum yazdı
not calling self.search(); instead, call self.code.match() directly and interpret the list of registers it returns directly. This saves the overhead of instantiating a MatchObject for each hit, basically inlining search() as well as group(). When a MatchObject is still needed, one is allocated and reused for the duration of the scan.
-
Guido van Rossum yazdı
Added test for m.groups() with default. Added a few prints announcing various tests in verbose mode.
-
Guido van Rossum yazdı
-
Fred Drake yazdı
O_getattr(): Added read-only access to the closed attribute, based on comment from Michael Scharf <Michael.Scharf@Rhein-Neckar.de>.
-