- 23 Aug, 2004 10 commits
-
-
Raymond Hettinger authored
(Patch contributed by Nick Coghlan.) Now joining string subtypes will always return a string. Formerly, if there were only one item, it was returned unchanged.
-
Tim Peters authored
is_private in its tests failed if doctest.py was run directly. Now it works.
-
Tim Peters authored
directly, due to assuming a filename specific to running tests "the normal way". +ELLIPSIS to the rescue!
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
NamedTemporaryFile (which can't work for this function's purposes on Windows). Leaving temp files behind wasn't a great idea either, though, so try to clean up. At least the test suite no longer leaves any of these guys behind now.
-
Martin v. Löwis authored
-
Dave Cole authored
default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET.
-
Dave Cole authored
in initsigs() inside pythonrun.c.
-
Tim Peters authored
in this section is new in 2.4, and that's all mentioned already in versionadded{} thingies at the end of the section. It hurts readability to have them after every line <wink>.
-
- 22 Aug, 2004 17 commits
-
-
Neal Norwitz authored
-
Martin v. Löwis authored
Will backport to 2.3.
-
Martin v. Löwis authored
-
Tim Peters authored
docstrings toward being a lot shorter, and telling the whole truth in the manual instead. This change is an example: the manual has detailed explanations of the option names now, so it's Bad to repeat them in the docstring (two detailed descriptions are certain to get out of synch). Just listing the names has memory-jogging benefits, though, so that's still helpful in the docstring.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
final newline. Anything to get rid of "l" as a variable name <0.5 wink>.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Will backport to 2.3.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
Fit a nit.
-
Jim Fulton authored
- Test filenames sometimes had trailing .pyc or .pyo sufixes (when module __file__ did). - Trailing spaces spaces in expected output were dropped. New default failure format: - Separation of examples from file info makes examples easier to see - More vertical separation, improving readability - Emacs-recognized file info (also closer to Python exception format)
-
Martin v. Löwis authored
-
Kurt B. Kaiser authored
a new file, don't raise a dialog. IDLEfork 954928. 2. Refactor EditorWindow.wakeup() to WindowList.ListedToplevel.wakeup() and clarify that the Toplevel of an EditorWindow is a WindowList.ListedToplevel. 3. Make a number of improvements to keyboard focus binding. Improve window raising, especially in the debugger. IDLEfork Bug 763524 (GvR list). 4. Bump idlever to 1.1a3 M Debugger.py M EditorWindow.py M FileList.py M NEWS.txt M PyShell.py M WindowList.py M idlever.py
-
Tim Peters authored
are non-obvious either way because the newline character "is invisible", but it's still there all the same, and it's easier to explain/predict if that reality is left alone.
-
- 21 Aug, 2004 4 commits
-
-
Neal Norwitz authored
I couldn't test this, but it didn't break anything and the patch reported fixed the problem. Bugfix candidate.
-
Johannes Gijsbers authored
'\037\014\n' (see http://quimby.gnus.org/notes/BABYL) so look for that as well, so that applications won't get '\037' as the last line of the last message.
-
Johannes Gijsbers authored
href attribute in list_directory(). This fixes the links for legal Unix filenames such as 'a"b'.
-
Tim Peters authored
truncate() left the stream position unchanged, which meant the "truncated" data didn't go away: >>> io.write('abc') >>> io.truncate(0) >>> io.write('xyz') >>> io.getvalue() 'abcxyz' Patch by Dima Dorfman.
-
- 20 Aug, 2004 9 commits
-
-
Neal Norwitz authored
-
Johannes Gijsbers authored
argument is optional on both (the format string is "ss|O!").
-
Johannes Gijsbers authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
-
Tim Peters authored
test_queue has failed occasionally for years, and there's more than one cause. The primary cause in the SF report appears to be that the test driver really needs entirely different code for thread tests that expect to raise exceptions than for thread tests that are testing non-exceptional blocking semantics. So gave them entirely different code, and added a ton of explanation. Another cause is that the blocking thread tests relied in several places on the difference between sleep(.1) and sleep(.2) being long enough for the trigger thread to do its stuff sot that the blocking thread could make progress. That's just not reliable on a loaded machine. Boosted the 0.2's to 10.0's instead, which should be long enough under any non-catastrophic system conditions. That doesn't make the test take longer to run, the 10.0 is just how long the blocking thread is *willing* to wait for the trigger thread to do something. But if the Queue module is plain broken, such tests will indeed take 10 seconds to fail now. For similar (heavy load) reasons, changed threaded-test termination to be willing to wait 10 seconds for the signal thread to end too.
-