| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Add reference to the documentation for the Python documentation markup.
Fixed up a couple of descriptions.
This closes SF bug #430627.
|
|
|
|
| |
Suggested by the comments in SF bug #430627.
|
| |
|
|
|
|
| |
the availability of nested scoping in Python 2.1 and 2.2.
|
| |
|
|
|
|
|
|
|
| |
In particular, the affect on existing list content was not sufficiently
explained.
This closes SF bug #429554.
|
|
|
|
| |
This closes SF bug #429059.
|
|
|
|
|
|
| |
fixing the reference to Thread.getDeamon() (should be isDaemon()).
This closes SF bug #429070.
|
| |
|
|
|
|
| |
Documentation for the HTMLParser module, with small changes by FLD.
|
|
|
|
|
| |
Allow colons in the labels used for internal references, but do not
expose them when generating filename.
|
|
|
|
|
|
|
| |
PySequence_Size(), not PyObject_Size(): the later considers the mapping
methods as well as the sequence methods, which is not needed here. Either
should be equally fast in this case, but PySequence_Size() offers a better
conceptual match.
|
|
|
|
|
|
|
|
|
|
| |
absolute or relative.
remove(), rename() descriptions: Give more information about the cross-
platform behavior of these functions, so single-platform developers
can be aware of the potential issues when writing portable code.
This closes SF patch #426598.
|
|
|
|
|
| |
was not available in Python 1.5.1. (Yes, a user actually tried to use this
with that version of Python!)
|
|
|
|
|
|
|
| |
__hash__() up to date (re: use of objects which define these methods
as dictionary keys).
This closes SF bug #427698.
|
| |
|
|
|
|
|
|
| |
optional in the documentation.
This closes SF bug #427985.
|
|
|
|
|
|
| |
Added information on PyIter_Check(), PyIter_Next(),
PyObject_Unicode(), PyString_AsDecodedObject(),
PyString_AsEncodedObject(), and PyThreadState_GetDict().
|
|
|
|
| |
error.
|
|
|
|
|
|
|
|
| |
state *which* other function the current one is like, even if the
descriptions are adjacent.
Revise the _PyTuple_Resize() description to reflect the removal of the
third parameter.
|
|
|
|
| |
to end up with the information, it is better recorded than lost.
|
|
|
|
|
|
| |
in the table of mapping object operations. Re-numbered the list of
notes to reflect the move of the "Added in version 2.2." note to the list
of notes instead of being inserted into the last column of the table.
|
|
|
|
| |
Message object.
|
|
|
|
|
| |
add a list of the mapping methods which are not supported (per Barry's
comments).
|
|
|
|
| |
rfc822.Message objects, based on comments from Barry.
|
|
|
|
|
|
|
|
| |
numbers that display nicely after repr(). From much doctest experience
with the same trick, I believe people find examples with simple fractions
easier to understand too: they can usually check the results in their
head, and so feel confident about what they're seeing. Not even I get a
warm feeling from a result that looks like 70330.345024097141 ...
|
|
|
|
|
| |
pointers to information about the other mailbox formats; if anyone can
provide the information needed, please let me know!
|
|
|
|
|
|
|
|
|
|
| |
floating point numbers in an interactive example.
Added comment to help explain control flow in the example code showing
how to check if a number is prime.
This closes SF bugs 419434 and 424552.
|
| |
|
|
|
|
| |
This closes SF bug #425320.
|
|
|
|
|
|
|
| |
but doing so raised EOFError. This makes it work as advertised and
converts to string methods where reasonable.
This closes SF bug #424776.
|
| |
|
| |
|
|
|
|
| |
"What's New in Python ..." documents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and introduces a new method .decode().
The major change is that strg.encode() will no longer try to convert
Unicode returns from the codec into a string, but instead pass along
the Unicode object as-is. The same is now true for all other codec
return types. The underlying C APIs were changed accordingly.
Note that even though this does have the potential of breaking
existing code, the chances are low since conversion from Unicode
previously took place using the default encoding which is normally
set to ASCII rendering this auto-conversion mechanism useless for
most Unicode encodings.
The good news is that you can now use .encode() and .decode() with
much greater ease and that the door was opened for better accessibility
of the builtin codecs.
As demonstration of the new feature, the patch includes a few new
codecs which allow string to string encoding and decoding (rot13,
hex, zip, uu, base64).
Written by Marc-Andre Lemburg. Copyright assigned to the PSF.
|
|
|
|
|
|
| |
description, so that the introduction of complex is not a surprise.
This closes SF bug #423429.
|
|
|
|
| |
some stuff around.
|
|
|
|
|
| |
Finish the last set of changes to these files so the conversion does not
break.
|
| |
|
|
|
|
|
| |
"\begin{classdesc*}{SomeClass}" -- the rendering of \unspecified was
identical to \moreargs, so this helps clarify things just a little.
|
|
|
|
| |
excclassdesc environment.
|
|
|
|
|
|
| |
class without providing any information about the constructor. This
should be used for classes which only exist to act as containers rather
than as factories for instances.
|
|
|
|
| |
useful documentation on the Scrap Manager.
|
| |
|
|
|
|
| |
This closes SF bug #423087.
|
| |
|
| |
|
|
|
|
|
|
| |
(The string "strop" is found in the rexec documentation, but that should
not be changed until strop is actually removed or rexec no longer allows
it.)
|
| |
|