| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
the support for containers and iteration.
|
| |
|
|
|
|
|
|
|
| |
objects but instead assume that they use the requested encoding.
This is needed on Windows to enable opening files by passing in
Unicode file names.
|
|
|
|
| |
interactive examples. Error noted by Dinu Gherman.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patch for sharing single character Unicode objects.
Martin's patch had to be reworked in a number of ways to take Unicode
resizing into consideration as well. Here's what the updated patch
implements:
* Single character Unicode strings in the Latin-1 range are shared
(not only ASCII chars as in Martin's original patch).
* The ASCII and Latin-1 codecs make use of this optimization,
providing a noticable speedup for single character strings. Most
Unicode methods can use the optimization as well (by virtue
of using PyUnicode_FromUnicode()).
* Some code cleanup was done (replacing memcpy with Py_UNICODE_COPY)
* The PyUnicode_Resize() can now also handle the case of resizing
unicode_empty which previously resulted in an error.
* Modified the internal API _PyUnicode_Resize() and
the public PyUnicode_Resize() API to handle references to
shared objects correctly. The _PyUnicode_Resize() signature
changed due to this.
* Callers of PyUnicode_FromUnicode() may now only modify the Unicode
object contents of the returned object in case they called the API
with NULL as content template.
Note that even though this patch passes the regression tests, there
may still be subtle bugs in the sharing code.
|
|
|
|
| |
in dict' after has_key(), with a \versionadded{2.2} note.
|
|
|
|
|
| |
branch is the head (development) branch or a maintenance brach, and use
the appropriate target directory for each.
|
|
|
|
| |
This closes SF bug #417943.
|
| |
|
|
|
|
|
|
| |
Update <versionadded/> to recent addition of optional explanatory text;
make the explanation text take the same attribute name for both
<versionadded/> and <versionchanged/>.
|
| |
|
|
|
|
| |
support for it here.
|
|
|
|
|
|
|
|
|
| |
I know some people don't like this -- if it's really controversial,
I'll take it out again. (If it's only Alex Martelli who doesn't like
it, that doesn't count as "real controversial" though. :-)
That's why this is a separate checkin from the iterators stuff I'm
about to check in next.
|
|
|
|
|
| |
used to be omitted (meaning use the current time) as of Python 2.1.
Users who need cross-version portability need to know things like this.
|
|
|
|
| |
*DE*compression objects, not compression objects!
|
|
|
|
| |
introducing a new term ("regex") without defining it.
|
|
|
|
|
|
| |
(Note that the docs are also being maintained on the 2.1.1 maintenance
branch, so users interested only in corrections and clarifications
can get that.)
|
|
|
|
|
|
| |
\versionadded macro.
Note: this should not be merged into the 2.1 maintenance branch.
|
|
|
|
| |
all reported by Bruce Smith.
|
|
|
|
|
|
| |
(Note that the docs are also being maintained on the 2.1.1 maintenance
branch, so users interested only in corrections and clarifications
can get that.)
|
|
|
|
| |
bite people interested in 1.5.2 compatibility.
|
|
|
|
|
|
|
|
| |
macro.
Refactored do_cmd_versionadded() and do_cmd_versionchanged() to do most
of the work in a helper function, with the do_cmd_*() wrappers just supplying
a portion of the replacement text.
|
|
|
|
| |
the versioning information, similar to \versionchanged.
|
| |
|
| |
|
|
|
|
| |
versions.
|
|
|
|
|
|
|
| |
Update docs for PyDict_Next() based on the most recent changes to the
dictionary code.
This closes SF patch #409864.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Wrap some long lines and fix some markup nits.
|
| |
|
|
|
|
| |
Turn reference to the cmd module into a hyperlink.
|
|
|
|
|
| |
this version avoids having to build a separate authenticated connection
to push the update-docs.sh script to SF.
|
| |
|
|
|
|
| |
something out of this documentation release as well. ;-)
|
| |
|
|
|
|
|
|
|
|
| |
basic authentication is needed.
Added documentation for FancyURLopener.prompt_user_passwd(), explaining
that subclasses should provide more appropriate behavior for the hosting
environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added documentation for TestCase.assertRaises().
Added text for "Mapping concepts to classes", and merged it into the
front matter instead of separating it into a new section.
Removed use of "assert" in examples.
Update the descriptions to reflect further changes from discussions on
the pyunit-interest list.
Added documentation for the defaultTestLoader object and the
TestLoader methods.
Added the assert*() names for the TestCase helper methods.
|
|
|
|
|
| |
These format somewhat better and include more semantic information in the
source.
|
|
|
|
| |
Ping on the Doc-SIG mailing list.
|
|
|
|
|
|
| |
Updated reference material substantially based on discussions on the
pyunit-interest mailing list (not all changes are in the code in CVS
yet).
|
| |
|
|
|
|
| |
only documentation file that appears to be affected by the change!
|
| |
|
|
|
|
|
|
| |
HTML markup from the string used as the title in the TITLE attribute.
This fixes formatting in the "What's New in Python 2.1" document.
|
|
|
|
|
|
| |
Add Unixware 7 port
Ready for RC1
Minor rewrites
|
|
|
|
|
|
| |
This closes SF bug #415522.
Also fix markup error in text following the example.
|
|
|
|
|
|
| |
actually works (it returns a message containing the visible headers,
not the original headers). Doc change approved by Fred; closes SF bug
#412230.
|