- 22 Nis, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Steven M. Gava yazdı
Patch #540583: Open MS Help Docs if available.
-
- 21 Nis, 2002 11 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
tried to catch some possible arithmetic overflows in the debug build.
-
Neal Norwitz yazdı
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
+ Continued looping until n bytes in the buffer have been filled, not just when n bytes have been read from the file. This repairs the bug that f.readlines() only sucked up the first 8192 bytes of the file on Windows when universal newlines was enabled and f was opened in U mode (see Python-Dev -- this was the ultimate cause of the test_inspect.py failure). + Changed prototye to take a char* buffer (void* doesn't make much sense). + Squashed size_t vs int mismatches (in particular, besides the unsigned vs signed distinction, size_t may be larger than int). + Gets out under all error conditions now (it's possible for fread() to suffer an error even if it returns a number larger than 0 -- any "short read" is an error or EOF condition). + Rearranged and simplified declarations.
-
Tim Peters yazdı
test data: this test fails on WIndows now if universal newlines are enabled (which they aren't yet, by default). I don't know whether the test will also fail on Linux now.
-
Tim Peters yazdı
displays a recognizable section title (there are extra blanks at the end of it now, due to the nested anchor, but that's fine).
-
Tim Peters yazdı
pointers is a signed type. Changing "allocated" to a signed int makes undetected overflow more likely, but there was no overflow detection before either.
-
Tim Peters yazdı
but is documented by others on the web, and the defn of the magic flag needed appears in MS's htmlhelp.h header file.
-
- 20 Nis, 2002 13 kayıt (commit)
-
-
Tim Peters yazdı
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 yazdı
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 yazdı
-
Martin v. Löwis yazdı
allocating the target buffer.
-
Tim Peters yazdı
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 yazdı
Fixes #494762.
-
Jeremy Hylton yazdı
Related to SF bug #505315
-
Jeremy Hylton yazdı
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 yazdı
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 yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
- 19 Nis, 2002 14 kayıt (commit)
-
-
Jeremy Hylton yazdı
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 yazdı
Will backport to 2.2.
-
Tim Peters yazdı
populate the "stop_list" triple-quoted string with your favorite handful of stop words.
-
Tim Peters yazdı
-
Tim Peters yazdı
+ 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 yazdı
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 yazdı
-
Neal Norwitz yazdı
-
Jeremy Hylton yazdı
Bug fix by mhammond. Bug fix candidate for 2.2, not present in 2.1.
-
Jack Jansen yazdı
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 yazdı
-
Skip Montanaro yazdı
revealed itself when i added index generating lines to doc/doc.tex)
-
Skip Montanaro yazdı
add index turds
-
Fred Drake yazdı
version number, and explain what it is at the top of the chapter. This closes SF bug #225003.
-