| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
the Modules/ directory. Most of the remaining undocumented modules
seem to be living there.
|
|
|
|
|
|
| |
always lowercasing the option name, call a method optionxform() which
can be overridden. Also make the regexps SECTRE and OPTRE non-private
variables so they can also be overridden.
|
|
|
|
|
| |
Edited several of the descriptions for English usage and more
consistent style.
|
|
|
|
| |
side-effect of cmpcache.cmp() using statcache.stat() internally.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
may raise an exception (when there are no children). Reported by
Andy Dustman.
|
|
|
|
| |
next Python release.
|
|
|
|
|
|
|
|
| |
mode attribute of the file object (if it has one), otherwise
use 'rb'.
The documentation should still show this as required until
there's a new release.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ExtensionClasses in isinstance() and issubclass().
- abstract instance and class protocols are used *only* in those
cases that would generate errors before the patch. That is, there's
no penalty for the normal case.
- instance protocol: an object smells like an instance if it
has a __class__ attribute that smells like a class.
- class protocol: an object smells like a class if it has a
__bases__ attribute that is a tuple with elements that
smell like classes (although not all elements may actually get
sniffed ;).
|
|
|
|
| |
confusing to end users of IDEs.
|
|
|
|
|
|
|
| |
Added support for unseekable files.
(I use unqualified excepts since we don't know why the seek/tell might
fail. In my case it was because of an AttributeError.)
|
|
|
|
|
| |
and suggests putting a try/except around the get_request() call in
handle_request(). (All in class TCPServer.)
|
|
|
|
|
|
| |
only by the interpreter core and is not overridable by objects.
Based on comment from David Ascher on the list.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: rfc822.py in 1.5.2 final loses the quotes around
quoted local-part names.
The fix is to preserve the quotes around a local-part
name in an address.
Test:
import rfc822
a = rfc822.AddrlistClass('(Comment stuff) "Quoted
name"@somewhere.com')
a.getaddrlist()
The correct result is:
[('Comment stuff', '"Quoted name"@somewhere.com')]
|
|
|
|
| |
Noted that name=value is allowed in addition to name: value.
|
|
|
|
|
| |
Also added a short circuit for the regression test suite since CVS
insisted on putting this file in the main branch. :(
|
|
|
|
|
|
|
|
| |
- Don't call Py_FatalError() when initialization fails.
- Fix bogus use of return value from PyRun_String().
- Fix misc. compiler errors on some platforms.
|
| |
|
| |
|
| |
|
|
|
|
| |
These document CGIHTTPServer, SimpleHTTPServer, and linecache.
|
| |
|
|
|
|
| |
empty list instead of None. (Guido's request.)
|
| |
|
|
|
|
| |
<mzadka@geocities.com>.
|
|
|
|
| |
Make references to the posix module hyperlinks.
|
|
|
|
|
| |
*missing* content-type at the outer level of a POST defaults to
urlencoded. In all other circumstances, the default is read_singe().
|
| |
|
|
|
|
|
|
| |
in the string module.
Add a bunch of new tests for extended startswith/endswith arguments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EditorWindow.py:
+ Added get_tabwidth & set_tabwidth "virtual text" methods, that get/set the
widget's view of what a tab means.
+ Moved TK_TABWIDTH_DEFAULT here from AutoIndent.
+ Renamed Mark's get_selection_index to get_selection_indices (sorry, Mark,
but the name was plain wrong <wink>).
FormatParagraph.py: renamed use of get_selection_index.
AutoIndent.py:
+ Moved TK_TABWIDTH_DEFAULT to EditorWindow.
+ Rewrote set_indentation_params to use new VTW get/set_tabwidth methods.
+ Changed smart_backspace_event to delete whitespace back to closest
preceding virtual tab stop or real character (note that this may require
inserting characters if backspacing over a tab!).
+ Nuked almost references to the selection tag, in favor of using
get_selection_indices. The sole exception is in set_region, for which no
"set_selection" abstraction has yet been agreed upon.
+ Had too much fun using the spiffy new features of the format-paragraph
cmd.
|
|
|
|
|
|
|
| |
- Revise abstract based on Guido's comments from way back.
- Point out that LaTeX is a structured system & we're using it that
way.
- Add a small section on marking up code examples.
|
| |
|
| |
|
| |
|
|
|
|
| |
from Gerry Weiner <gerry@ucar.edu>.
|
|
|
|
| |
<sfranke@cdc-group.com>.
|
|
|
|
| |
Franke <sfranke@cdc-group.com>.
|
|
|
|
| |
<gerrit.holl@pobox.com>.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Read the comments (which I reformatted using the new feature :-)
for some limitations.
|
|
|
|
|
| |
reformatted some comment blocks to show off a cool feature I'm about
to check in next.
|
|
|
|
| |
<BennettBenson@mn.mediaone.net>.
|