Jeremy Hylton
def9d2a17c
Fix for SF bug 988120 via patch 1061941.
...
If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
2004-11-07 16:13:49 +00:00
Johannes Gijsbers
f164322fe8
Patch #1061924 : add documentation for BaseRotatingHandler and correct
...
reference to non-existent function 'setRollover()'.
2004-11-07 16:11:35 +00:00
Johannes Gijsbers
eaaa771816
Clarify that it's not necessary to subclass from TestCase to create a
...
test case. As Jeremy put it: "subclassing is an implementation
technique, not a type declaration".
2004-11-07 16:02:07 +00:00
Johannes Gijsbers
d7b6ad4b60
Patch #1061904 / bug #878275 : give a nicer error message when someone
...
accidentally derives from TestSuite instead of TestCase.
2004-11-07 15:46:25 +00:00
Peter Astrand
c1d6536d60
When using shell=True on Windows, don't display a shell window by default. Fixes #1057061 .
2004-11-07 14:30:34 +00:00
Jeremy Hylton
80961f3ca9
Fix apparently trivial buffer overflow (SF bug 1060396).
...
memset() wrote one past the end of the buffer, which was likely to be unused padding or a yet-to-be-initialized local variable. This routine is already tested by test_socket.
2004-11-07 14:24:25 +00:00
Peter Astrand
f8e74b12b0
If close() fails in file_dealloc, then print an error message to
...
stderr. close() can fail if the user is out-of-quota, for example.
Fixes #959379 .
2004-11-07 14:15:28 +00:00
Johannes Gijsbers
4f802ac2b6
Patch #1061857 : add documentation for previously undocumented
...
TimedRotatingFileHandler class. Thanks Jeroen Vloothuis!
2004-11-07 14:14:27 +00:00
Jeremy Hylton
16b047904c
SF patch 1025636: Check for NULL returns in compile.c:com_import_stmt
...
There is no test for this change, because there is no way to provoke memory errors on demand. Test suite passes, though.
2004-11-07 14:04:00 +00:00
Johannes Gijsbers
84a6c205e3
Bug #1055168 : calling pdb.set_trace() calls Bdb.set_trace, which made
...
the debugger enter inside pdb.set_trace.
Patch #1061767 : make pdb.set_trace enter enter at the stack frame
calling pdb.set_trace().
2004-11-07 11:35:30 +00:00
Martin v. Löwis
e174ae9a1d
Bump version for 2.4c1
2004-11-07 10:08:29 +00:00
Raymond Hettinger
72f0801bec
SF bug #1061457 : spelling error in win installer
2004-11-07 07:08:25 +00:00
Raymond Hettinger
700d9b9b63
SF patch #1061780 : use a new -m option in pdb and profile invocations
...
Doc patch submitted by Ilya Sandler.
2004-11-07 06:18:37 +00:00
Tim Peters
00afb07490
Whitespace normalization.
2004-11-07 04:52:29 +00:00
Brett Cannon
c601e0fa0b
Move the AC_MSG_RESULT function call for checking for pthread options up into
...
the 'if' statement that performed the test. Not all platforms run the test and
on those tests configure outputted a rogue 'no' line.
2004-11-07 01:24:12 +00:00
Brett Cannon
7d28e96a41
Add comment about removal of CoreServices/CoreFoundation compilation against
...
the core on OS X (also specifically mention removal of
PyMac_GetAppletScriptFile() ).
2004-11-07 01:19:00 +00:00
Tim Peters
90cf212cef
Essentially SF patch 1061679: add missing __all__ to pickletools.py.
...
Harmless.
2004-11-06 23:45:48 +00:00
Brett Cannon
b12efd3f8a
Comment cleanup.
2004-11-06 19:56:45 +00:00
Anthony Baxter
eef2d3b2c5
regenerated configure from configure.in
2004-11-06 04:45:33 +00:00
Raymond Hettinger
8a92dd5866
Don't choke on modes like rb or wb.
2004-11-06 00:31:51 +00:00
Barry Warsaw
93d9d5fb37
get_boundary(): Fix for SF bug #1060941 . RFC 2046 says boundaries may begin
...
-- but not end -- with whitespace.
I will backport to Python 2.3.
2004-11-06 00:04:52 +00:00
Barry Warsaw
932874df39
test_boundary_with_leading_space(): Test case for SF bug #1060941 . RFC 2046
...
says boundaries may begin -- but not end -- with whitespace.
I will backport to Python 2.3.
2004-11-06 00:04:20 +00:00
Raymond Hettinger
bb4e859ecf
SF bug #1060825 : Error in difflib docs
2004-11-05 16:38:08 +00:00
Raymond Hettinger
ec6eb369d5
SF patch #1035255 : Remove CoreServices / CoreFoundation dependencies in core
...
(Contributed by Bob Ippolito.)
This patch trims down the Python core on Darwin by making it
independent of CoreFoundation and CoreServices. It does this by:
Changed linker flags in configure/configure.in
Removed the unused PyMac_GetAppletScriptFile
Moved the implementation of PyMac_StrError to the MacOS module
Moved the implementation of PyMac_GetFullPathname to the
Carbon.File module
2004-11-05 07:02:59 +00:00
Fred Drake
e0bdaefaf4
- remove some bogus <meta> tags from the document head
...
- clean up some of the generated markup
2004-11-05 06:42:22 +00:00
Fred Drake
0384be3b07
generate the "type" attribute on the favicon link
2004-11-05 05:06:08 +00:00
Fred Drake
6e2e90d160
switch remaining icon references to the PNG icons
2004-11-05 04:51:05 +00:00
Fred Drake
8aebe19e35
add encouragement to contribute without learning LaTeX
...
(closes SF bug #948517 )
2004-11-05 04:23:25 +00:00
Fred Drake
5c0ebdcb64
- make the default image type PNG, to match mkhowto
...
- add a command-line option to control the image type
2004-11-05 04:05:06 +00:00
Tim Peters
2cf5e1920b
Point out some platform vagaries in stat() and utime().
...
Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to
backport this.
2004-11-04 21:27:48 +00:00
Armin Rigo
80adba6873
Mistakes in the "sequence types" page:
...
* explanation for example with lists of lists made confusing use of
the word "contains" to mean "is built out of".
* wrong formula for slices with step. Is it ok to use LaTeX formulas
(which become images in the html document)? This version needs one
because it's based on a fraction. Just writing "\code{(j-i)/k}" here would
be ambiguous because it looks like a rounding-down-to-the-previous-integer
division, which is not what we need here. Of course we could write
"\code{float(j-i)/k}" but it just looks confusing.
2004-11-04 11:29:09 +00:00
Fred Drake
99e5ce5cf4
markup nit
2004-11-04 05:45:44 +00:00
Anthony Baxter
b0c6630794
post-release
2004-11-04 05:23:17 +00:00
Skip Montanaro
599bd5e1e1
Fix bug 1052242. Also includes rewrite of test case using unittest and
...
avoiding use of popen.
2004-11-04 04:31:30 +00:00
Fred Drake
ed306292d6
fix markup in "title" attribute for \citetitle{}
...
(closes SF patch #1054715 ; backporting to release23-maint branch)
2004-11-04 03:23:04 +00:00
cvs2svn
7348bad5b5
This commit was manufactured by cvs2svn to create tag 'r24b2'.
2004-11-03 06:21:37 +00:00
Anthony Baxter
9f41f3a192
release shenanigans
2004-11-03 06:21:37 +00:00
Martin v. Löwis
7b2563bc80
Exclude badsyntax from compileall; adjust options to what Makefile.pre.in does.
...
Fixes #1049003 .
2004-11-02 22:59:56 +00:00
Martin v. Löwis
645019068d
Bump buildno for 2.4b2.
2004-11-02 22:28:07 +00:00
Fred Drake
eac00edd20
fix accidental commit
2004-11-02 19:20:43 +00:00
Fred Drake
7fabaf8375
clarify discussion of iteration in the section on the "for" statement
...
(SF bug #829073 )
2004-11-02 19:18:20 +00:00
Fred Drake
303e30ef9f
clarify discussion of iteration in the section on the "for" statement
...
(SF bug #829073 )
2004-11-02 19:18:20 +00:00
Fred Drake
9a40851569
clarify trailing comma in function argument list
...
(SF bug #798652 )
2004-11-02 18:57:33 +00:00
Fred Drake
e808c2341b
- show how to use file.write() with a non-string value
...
(closes SF bug #621057 )
- add missing whitespace around assignment operator
2004-11-02 18:24:26 +00:00
Anthony Baxter
22b3b47e23
release bit
2004-11-02 13:03:54 +00:00
Raymond Hettinger
5dec096e6a
Maintain peepholer's cumlc invariant by updating the running total
...
everytime a LOAD_CONSTANT is encountered, created, or overwritten.
Added two tests to cover cases affected by the patch.
2004-11-02 04:20:10 +00:00
Raymond Hettinger
7d112df94f
Bump-up block size.
2004-11-02 02:11:35 +00:00
Raymond Hettinger
f7010bed89
* Bumped up the sleep() delay to four seconds so this test will run
...
reliably on WinME with FAT32.
* Native speaker rewrite of the comment block.
* Removed unnecessary backslashes from the multi-line function defintions.
2004-11-01 22:27:14 +00:00
Walter Dörwald
bb9c739806
Add error checks for the bz2, cStringIO and operator modules.
...
Add function names to various PyArg_ParseTuple calls in bz2module.c.
2004-11-01 17:10:19 +00:00
Tim Peters
bc1d1b80d1
gc_list_move(): Make this truly equivalent to remove+append. While
...
nothing in gc currently cares, the original coding could screw up if,
e.g., you tried to move a node to the list it's already in, and the node
was already the last in its list.
2004-11-01 16:39:57 +00:00