- 06 Jun, 2001 5 commits
-
-
Fred Drake authored
Add reference to the documentation for the Python documentation markup. Fixed up a couple of descriptions. This closes SF bug #430627.
-
Fred Drake authored
Suggested by the comments in SF bug #430627.
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 05 Jun, 2001 5 commits
-
-
Martin v. Löwis authored
Also protect against multiple inclusion.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
(Just a change to a comment)
-
Fred Drake authored
the availability of nested scoping in Python 2.1 and 2.2.
-
- 04 Jun, 2001 5 commits
-
-
Guido van Rossum authored
config.txt). *** This is a bugfix-release candidate (for 2.1.1 and 2.0.1)! ***
-
Tim Peters authored
frequently used, and in particular this allows to drop the last remaining obvious time-waster in the crucial lookdict() and lookdict_string() functions. Other changes consist mostly of changing "i < ma_size" to "i <= ma_mask" everywhere.
-
Skip Montanaro authored
-
Fred Drake authored
-
Mark Hammond authored
-
- 03 Jun, 2001 5 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
- actually return a result - Compare with tag.localName in getElementsByTagNameNSHelper
-
Tim Peters authored
be possible to provoke unbounded recursion now, but leaving that to someone else to provoke and repair. Bugfix candidate -- although this is getting harder to backstitch, and the cases it's protecting against are mondo contrived.
-
Tim Peters authored
This code is likely to get even hairier to squash core dumps due to mutating comparisons, and it's hard enough to follow without that.
-
Fred Drake authored
In particular, the affect on existing list content was not sufficiently explained. This closes SF bug #429554.
-
- 02 Jun, 2001 6 commits
-
-
Tim Peters authored
Bugfix candidate.
-
Tim Peters authored
-
Tim Peters authored
converting to string. Critical bugfix candidate -- if you take this seriously <wink>.
-
Neil Schemenauer authored
directives, which is the role of CPPFLAGS. Closes SF patch #414991.
-
Tim Peters authored
true reason for allocating the tuple before checking the dict size.
-
Tim Peters authored
code, less memory. Tests have uncovered no drawbacks. Christian and Vladimir are the other two people who have burned many brain cells on the dict code in recent years, and they like the approach too, so I'm checking it in without further ado.
-
- 01 Jun, 2001 1 commit
-
-
Skip Montanaro authored
-
- 31 May, 2001 2 commits
-
-
Fred Drake authored
This closes SF bug #429059.
-
Fred Drake authored
fixing the reference to Thread.getDeamon() (should be isDaemon()). This closes SF bug #429070.
-
- 30 May, 2001 3 commits
-
-
Tim Peters authored
in release builds. Suggested by Martin v. Loewis. I'm half tempted to macroize PyErr_Occurred too, as the whole thing could collapse to just _PyThreadState_Current->curexc_type
-
Fred Drake authored
-
Fred Drake authored
Documentation for the HTMLParser module, with small changes by FLD.
-
- 29 May, 2001 8 commits
-
-
Tim Peters authored
random inputs: if you ran the test 100 times, you could expect it to report a bogus failure. So loosened its expectations. Also changed the way failing tests are printed, so that when run under regrtest.py we get enough info to reproduce the failure.
-
Tim Peters authored
exactly once. But the test code can't know that, as the number of times __cmp__ is called depends on internal details of the dict implementation. This is especially nasty because the __hash__ method returns the address of the class object, so the hash codes seen by the dict can vary across runs, causing the dict to use a different probe order across runs. I just happened to see this test fail about 1 run in 7 today, but only under a release build and when passing -O to Python. So, changed the test to be predictable across runs.
-
Fred Drake authored
Allow colons in the labels used for internal references, but do not expose them when generating filename.
-
Fred Drake authored
PySequence_Size(), not PyObject_Size(): the later considers the mapping methods as well as the sequence methods, which is not needed here. Either should be equally fast in this case, but PySequence_Size() offers a better conceptual match.
-
Fred Drake authored
absolute or relative. remove(), rename() descriptions: Give more information about the cross- platform behavior of these functions, so single-platform developers can be aware of the potential issues when writing portable code. This closes SF patch #426598.
-
Jeremy Hylton authored
In the default branch, keep three ifs that are used if level == 0, the most common case. Note that first if here is a slight optimization for the 'O' format. Second part of SF patch 426072.
-
Jeremy Hylton authored
Note that lots of code was re-indented. Replace two-step of convertsimple() and convertsimple1() with convertsimple() and helper converterr(), which is called to format error messages when convertsimple() fails. The old code did all the real work in convertsimple1(), but deferred error message formatting to conversimple(). The result was paying the price of a second function call on every call just to format error messages in the failure cases. Factor out of the buffer-handling code in convertsimple() and package it as convertbuffer(). Add two macros to ease readability of Unicode coversions, UNICODE_DEFAULT_ENCODING() and CONV_UNICODE, an error string. The convertsimple() routine had awful indentation problems, primarily because there were two tabs between the case line and the body of the case statements. This patch reformats the entire function to have a single tab between case line and case body, which makes the code easier to read (and consistent with ceval). The introduction of converterr() exacerbated the problem and prompted this fix. Also, eliminate non-standard whitespace after opening paren and before closing paren in a few if statements. (This checkin is part of SF patch 426072.)
-
Jeremy Hylton authored
-