- 20 Apr, 2002 13 commits
-
-
Tim Peters authored
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.
-
Tim Peters authored
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.
-
Neal Norwitz authored
-
Martin v. Löwis authored
allocating the target buffer.
-
Tim Peters authored
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).
-
Martin v. Löwis authored
Fixes #494762.
-
Jeremy Hylton authored
Related to SF bug #505315
-
Jeremy Hylton authored
PyFrame_FastToLocals() and PyFrame_LocalsToFast() had a return if f_nlocals was 0. I think this was a holdover from the pre 2.1 days when regular locals were the only kind of local variables. The change makes it possible to use a free variable in eval or exec if it the variable is also used elsewhere in the same block, which is what the documentation says.
-
Tim Peters authored
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.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
- 19 Apr, 2002 15 commits
-
-
Jeremy Hylton authored
SF bug #522264 reported by Evelyn Mitchell. The code included a comment about "STAR STAR" which was translated into the code as the bogus attribute token.STARSTAR. This name never caused an attribute error because it was never retrieved. The code was based on an old version of the grammar that specified kwargs as two tokens ('*' '*'). I checked as far back as 2.1 and didn't find this production. The fix is simple, because token.DOUBLESTAR is the only token allowed. Also update the grammar fragment in com_arglist(). XXX I'll bet lots of other grammar fragments in comments are out of date, probably in this module and in compile.c.
-
Martin v. Löwis authored
Will backport to 2.2.
-
Tim Peters authored
populate the "stop_list" triple-quoted string with your favorite handful of stop words.
-
Tim Peters authored
-
Tim Peters authored
+ 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.
-
Tim Peters authored
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>.
-
Tim Peters authored
-
Neal Norwitz authored
-
Jeremy Hylton authored
Bug fix by mhammond. Bug fix candidate for 2.2, not present in 2.1.
-
Jack Jansen authored
pymalloc, apparently. Fixed, but this means all bgen-generated modules will have to be re-generated. I hope (and expect) that the pymalloc fixes aren't bugfix candidates, because if they are this is one too.
-
Martin v. Löwis authored
-
Skip Montanaro authored
revealed itself when i added index generating lines to doc/doc.tex)
-
Skip Montanaro authored
add index turds
-
Fred Drake authored
version number, and explain what it is at the top of the chapter. This closes SF bug #225003.
-
Mark Hammond authored
Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate.
-
- 18 Apr, 2002 12 commits
-
-
Tim Peters authored
consistency checks, enabled only in a debug (Py_DEBUG) build. Note that this never gets called automatically unless PYMALLOC_DEBUG is #define'd too, and the envar PYTHONMALLOCSTATS exists.
-
Tim Peters authored
doesn't return NULL. PyObject_Realloc: better comment for why we don't call PyObject_Malloc(0).
-
Tim Peters authored
-
Tim Peters authored
a str subclass. test_descr.py/string_exceptions(): New sub-test. For 2.3 only. Guido doesn't want this backported.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
as reported by Eric C. Newton.
-
Martin v. Löwis authored
Will backport to 2.1 and 2.2.
-
Tim Peters authored
Close a file before trying to unlink it, and apparently Cygwin needs writes to an mmap'ed file to get flushed before they're visible. Bugfix candidate, but I think only for the 2.2 line (it's testing features that I think were new in 2.2).
-
Tim Peters authored
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
Change type_get_doc (the get function for __doc__) to look in tp_dict more often, and if it finds a descriptor in tp_dict, to call it (with a NULL instance). This means you can add a __doc__ descriptor to a new-style class that returns instance docs when called on an instance, and class docs when called on a class -- or the same docs in either case, but lazily computed. I'll also check this into the 2.2 maintenance branch.
-
Guido van Rossum authored
Change type_get_doc (the get function for __doc__) to look in tp_dict more often, and if it finds a descriptor in tp_dict, to call it (with a NULL instance). This means you can add a __doc__ descriptor to a new-style class that returns instance docs when called on an instance, and class docs when called on a class -- or the same docs in either case, but lazily computed. I'll also check this into the 2.2 maintenance branch.
-