- 08 Apr, 2001 6 commits
-
-
Tim Peters authored
where sizeof(long)==8. This *was* broken on boxes where signed right shifts didn't sign-extend, but not elsewhere. Unfortunately, apart from the Cray T3E I don't know of such a box, and Guido has so far refused to buy me any Cray machines for home Python testing <wink>. More immediately interesting would be if someone could please test this on *any* sizeof(long)==8 box, to make sure I didn't break it.
-
Guido van Rossum authored
This was found by Neal Norwitz's PyChecker.
-
Tim Peters authored
-
Tim Peters authored
http://groups.yahoo.com/group/medusa/message/333 It's clear that Medusa should not be checking for an empty buffer via "buf is ''". The patch merely changes "is" to "==". However, there's a mystery here all the same: Python attempts to store null strings uniquely, so it's unclear why "buf is ''" ever returned false when buf actually was empty. *Some* string operations produce non-unique null strings, e.g. >>> "abc"*0 is "abc"*0 0 >>> but they're rare, and I don't see any such operations in asynchat.
-
Tim Peters authored
-
Tim Peters authored
on c.l.py.
-
- 07 Apr, 2001 6 commits
-
-
Tim Peters authored
Jeffery Collins pointed out that filterstring decrefs a character object before it's done using it. This works by accident today because another module always happens to have an active reference too at the time. The accident doesn't work after his Pippy modifications, and since it *is* an accident even in the mainline Python, it should work by design there too. The patch accomplishes that.
-
Greg Stein authored
Fixes bug #233308 from Travis Oliphant.
-
Greg Stein authored
This is the accepted portion of patch #402498.
-
Jack Jansen authored
-
Fred Drake authored
-
Fred Drake authored
Steve Purcell's documentation, and a lot of it is written based on using PyUnit and reading the implementation. There is more to come, but I want to get this check in before I have a disk crash or anything else bad happens.
-
- 06 Apr, 2001 8 commits
-
-
Tim Peters authored
have the std test suite exercise the Cookie doctests too.
-
Guido van Rossum authored
add a self-test using doctest. Results: - The docstring needs to be a raw string because it uses \"...\". - The oreo example was broken: the Set-Cookie output doesn't add quotes around "doublestuff". - I had to change the example that prints the class of a Cookie.Cookie instance to avoid incorporating an arbitrary object address in the test output. Pretty good score for both doctest and the doc string, I'd say!
-
Tim Peters authored
-
Guido van Rossum authored
- Use push() instead of send(), and make these calls in main(). - Sleep a second to give the server thread time to initialize itself.
-
Guido van Rossum authored
-
Guido van Rossum authored
(How many opre of these will we need? :-( )
-
Jack Jansen authored
-
Jack Jansen authored
-
- 05 Apr, 2001 10 commits
-
-
Tim Peters authored
-
Tim Peters authored
got the order backwards in a line (for .find()).
-
Fred Drake authored
documentation.
-
Fred Drake authored
.internalSubset attribute based on a clarification from the www-dom list.
-
Fred Drake authored
comment it out with an explanation. This makes it easier for someone who wants the additional symbols to try re-enabling it for their platform.
-
Fred Drake authored
McCafferty <christopher.mccafferty@csg.ch>, and a bit of experimentation with Navigator 4.7. HTML-as-deployed is evil!
-
Andrew M. Kuchling authored
define COLORS or COLOR_PAIRS until after start_color() is called, but they were never added to the curses module. Fixed by adding a wrapper around start_color(), similar to the wrapper around initscr().
-
Andrew M. Kuchling authored
in order to support Objective-C.
-
Andrew M. Kuchling authored
-
Fred Drake authored
on a clarification sent to the www-dom list.
-
- 04 Apr, 2001 7 commits
-
-
Fred Drake authored
in the previous patch. This closes (again!) SF patch #410267.
-
Tim Peters authored
This applies the patch Fred Drake created to fix it. I'm checking it in since I had to apply the patch anyway in order to test its behavior on Windows.
-
Tim Peters authored
-
Fred Drake authored
<christopher.mccafferty@csg.ch>: Add javascript: and telnet: to the types of URLs we ignore. Add support for several additional URL-valued attributes on the BODY, FRAME, IFRAME, LINK, OBJECT, and SCRIPT elements.
-
Fred Drake authored
the __getattr__() handler. Text.splitText(): Update the length and nodeValue attributes.
-
Fred Drake authored
-
Fred Drake authored
alternate name for the same function.
-
- 03 Apr, 2001 3 commits
-
-
Jack Jansen authored
Disable fused-add-mul instructions. They give a nonstandard result for some things that test_coercion complains about. The added performance is probably minimal for Python anyway.
-
Fred Drake authored
hyperlink. Fix two English usage errors caught by Jan Wells: Changed "subsequence" to "sub-sequence" in two places, and avoid improper use of "hopefully" in the first paragraph of the "What Now?" chapter.
-
Jack Jansen authored
If the frontmost window is not a Tk window exit the event handling code early. This fixes that using Tk once used to disable cmd-. processing. It may also influence Tk/IDE interaction, I'm not sure.
-