- 22 Ock, 1998 2 kayıt (commit)
-
-
Fred Drake yazdı
constructs should be used.
-
Fred Drake yazdı
semantic concepts. Added two new ones (not discussed with Guido: \constant{}: Markup for constants defined in Python modules. \cfunction{}: Markup for C functions; these should probably be distinguished by font, but are not at this time (since they're typically \code{} at this point).
-
- 21 Ock, 1998 9 kayıt (commit)
-
-
Barry Warsaw yazdı
continuation lines. This fixes this bug report, reported by Frank Stajano. # But if I split the "raise" line and reindent, the else WRONGLY goes up a # level (?!?) while condition1: if condition2: raise error3, \ moreInfo4 else: # meant to close "if condition2" action5()
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
a religious issue: RMS decrees that the Enter (RET) key should just do a newline and a LFD (C-j) should do a newline and indent (i.e. the python-mode version of this). Almost everyone I know disagrees and finds that RET should do newline and indent. Almost everyone hacks their modes to do this, if they know how. Because it's hard for newbies to figure out how to do this, and because most DOS keyboards lack a LFD (leaving users to the more obscure C-j), I think it makes better sense to add this default binding.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Guido, you should probably look at this. The pickle documentation is out of date; I don't see anything about the __reduce__() stuff or the __safe_for_unpickling__ attribute.
-
Fred Drake yazdı
index references the appropriate RFCs. Consistency: Always use trailing "()" on function names in running text.
-
- 20 Ock, 1998 13 kayıt (commit)
-
-
Barry Warsaw yazdı
is based on the line above, watch out for landing inside a triple quoted string. In this case, use iterative search + parse-partial-sexp backwards to find the beginning of the string. Note this does affect performance, but very little in the common cases (I hope). It could be made *much* faster by adding Emacs and XEmacs dependent code -- different code naturally. :-( Fixes the following reported bug: if len(sys.argv) >= 6: # More lines here fptr = open('/etc/hosts', 'w') fptr.write("""# /etc/hosts -- autocreated by /etc/ppp/ip-up # # Address from pppd %-15s %s # For loopbacking 127.0.0.1 localhost 255.255.255.255 broadcast """ % (ipaddr, ipname) ) os.chmod('/etc/hosts', 0644)
-
Barry Warsaw yazdı
file local variable section of a file. When set, and the user hits C-c C-c, this file gets executed instead of the buffer's file. Idea given by Roy Dragseth <royd@math.uit.no>, but implemented differently. (py-execute-buffer): Support py-master-file variable. If this names a relative path, default-directory is prepended via expand-file-name.
-
Fred Drake yazdı
Use trailing "()" on function names in running text.
-
Fred Drake yazdı
normal modules portion of the manual, but that's the basic effect of this section with the 1.5 change in exception support.
-
Fred Drake yazdı
tables: \var{} Add a couple of index entries to the File Objects section.
-
Fred Drake yazdı
Marked title of the Python Reference Manual as \emph{}, like other Python manual titles.
-
Fred Drake yazdı
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.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
"--" ==> "---"
-
Fred Drake yazdı
-
Fred Drake yazdı
it already got it right.
-
Fred Drake yazdı
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.
-
- 19 Ock, 1998 16 kayıt (commit)
-
-
Guido van Rossum yazdı
standard Python API function so it should not have a Py prefix.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Also documented that groups() now always returns a tuple.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
- added docstrings - support option to specify a different purported directory name - reindented with 4 spaces
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
would set the transfer to text mode instead of the specified mode.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
HTTP/1.x 200 instead of HTTP/1.x 200 OK
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
the error was about a bad format string :-).
-
Guido van Rossum yazdı
contains the type of the object and name of the attribute.
-
Guido van Rossum yazdı
'\377' for EOF.
-
Guido van Rossum yazdı
executable files, and directories. When expecting a module, we also look for the .pyc or .pyo file.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-