| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Point to PEP 100 for MAL's Unicode proposal
Fix URL for XML HOWTO
Bump version number
|
| |
|
| |
|
|
|
|
|
| |
and xrange objects.
This closes SF bug #550555.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This still does not work well since ctags does not do a good job with the
Python headers, appearantly due to the DL_IMPORT macro. ;-(
|
|
|
|
| |
This closes SF bug #550409. Applying to release21-maint & release22-maint.
|
| |
|
|
|
|
| |
removed it from there and added it here)
|
| |
|
|
|
|
|
|
|
| |
(reported by François Pinard).
Added some missing "_" characters in the same cluster of productions.
Added missing floor division operator in m_expr production, and mention
floor division in the relevant portion of the text.
|
|
|
|
| |
Bugfix candidate? Don't know how this is handled in the docs.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This now does a dynamic analysis of which elements are so frequently
repeated as to constitute noise. The primary benefit is an enormous
speedup in find_longest_match, as the innermost loop can have factors
of 100s less potential matches to worry about, in cases where the
sequences have many duplicate elements. In effect, this zooms in on
sequences of non-ubiquitous elements now.
While I like what I've seen of the effects so far, I still consider
this experimental. Please give it a try!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't understand how this function works, also beefed up the docs. The
most common usage error is of this form (often spread out across gotos):
if (_PyString_Resize(&s, n) < 0) {
Py_DECREF(s);
s = NULL;
goto outtahere;
}
The error is that if _PyString_Resize runs out of memory, it automatically
decrefs the input string object s (which also deallocates it, since its
refcount must be 1 upon entry), and sets s to NULL. So if the "if"
branch ever triggers, it's an error to call Py_DECREF(s): s is already
NULL! A correct way to write the above is the simpler (and intended)
if (_PyString_Resize(&s, n) < 0)
goto outtahere;
Bugfix candidate.
|
|
|
|
|
| |
getpgrp(), and setpgid().
This closes SF bug #547939.
|
|
|
|
| |
This closes SF bug #547953.
|
|
|
|
| |
This closes SF patch #547162.
|
|
|
|
| |
SF Patch #547813.
|
|
|
|
| |
variables. This closes SF bug #543148.
|
| |
|
| |
|
|
|
|
|
| |
isatty(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(): Changed to return
bools instead of ints.
|
|
|
|
|
|
|
|
|
|
|
|
| |
closes SF #514433
can now pass 'None' as the filename for the bsddb.*open functions,
and you'll get an in-memory temporary store.
docs are ripped out of the bsddb dbopen man page. Fred may want to
clean them up.
Considering this for 2.2, but not 2.1.
|
|
|
|
|
|
|
|
|
| |
http://www.python.org/sf/444708
This adds the optional argument for str.strip
to unicode.strip too and makes it possible
to call str.strip with a unicode argument
and unicode.strip with a str argument.
|
|
|
|
|
| |
displays a recognizable section title (there are extra blanks at the
end of it now, due to the nested anchor, but that's fine).
|
|
|
|
|
| |
but is documented by others on the web, and the defn of the magic flag
needed appears in MS's htmlhelp.h header file.
|
|
|
|
|
|
|
| |
distinct top-level node. Before they were all nested under an artificial
top-level node, uselessly chewing up horizontal space, and ensuring that
the only thing the user saw in the TOC upon opening the file was a single
collapsed top-level folder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HTML (or, at least, proper in its view). The TOC file is now identical
to what the HTML compiler itself generates, except for whitespace and
a glitch identified below. The pretty-printing done by prechm.py is
pretty much destroyed for now; if you need it pretty-printed, just make
the Help Compiler save the files (it's got its own idea of pretty-
printing anyway).
Glitch: The title of Ref Man "2.1.6 Blank lines" shows up as a blank
for now. This is because the relevant entry in ref/index.html contains
nested anchors, and pychm really has no idea what to do with that. I
hacked it for now to avoid any error messages or worse insanity, and
filed a bug report against the docs.
|
|
|
|
|
|
|
| |
methods to squash code duplication. Simplified several overly complex
chunks of logic. Built output strings more with string interpolation
instead of infix '+'. Added comments. Exploited recent Python features
(chiefly bool and augmented assignment).
|
|
|
|
|
|
| |
to reference fields via names instead of meaningless little integers.
This turned up one case where the wrong little integer was being used,
in informative progress output. Fixed that too.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
populate the "stop_list" triple-quoted string with your favorite handful
of stop words.
|
| |
|
|
|
|
|
|
|
| |
+ Increased size of the window the user sees the first time.
+ Arranged for the display to remember its last size and position.
+ Added a Favorites (bookmarks) tab.
+ Added the "Advanced Search" decorations.
|
|
|
|
|
|
|
| |
HTML help files (.chm). Obtained from Robin Dunn's packaging of the
2.2 docs at <http://alldunn.com/python/>, obtained in turn from
Hernán Martínez Foffani's original work at
<http://www.orgmf.com.ar/condor/pytstuff.html>.
|
| |
|
|
|
|
| |
revealed itself when i added index generating lines to doc/doc.tex)
|
|
|
|
| |
add index turds
|
|
|
|
|
| |
version number, and explain what it is at the top of the chapter.
This closes SF bug #225003.
|
| |
|
| |
|