summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* _OutputRedirectingPdb.trace_dispatch(): Return the base class'sTim Peters2004-11-081-4/+5
| | | | trace_dispatch() result in a more obvious, and more robust way.
* test_doctest.py test_pdb_set_trace_nested(): A new test from Jim FultonTim Peters2004-11-083-7/+96
| | | | | | | | | showing that doctest's pdb.set_trace() support was dramatically broken. doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace function instead of (implicitly) None. Else interaction with pdb was bizarre, noticing only 'call' events. Amazingly, the existing set_trace() tests didn't care.
* test for fixedness of bug #1057835.Michael W. Hudson2004-11-081-0/+2
| | | | (thanks to Raymond for the prod).
* Fix bugMichael W. Hudson2004-11-081-2/+2
| | | | [ 1057835 ] compiler.transformer, "from module import *"
* SF #1062190. Removed an assertion that rendered trace.py unnecessarilyRaymond Hettinger2004-11-081-1/+0
| | | | inflexibile.
* SF bug 1061968: threads: segfault or Py_FatalError at exitTim Peters2004-11-082-14/+16
| | | | | | | | | | | | | | | | | PyGILState_Ensure(): The fix in 2.4a3 for bug 1010677 reintroduced thread shutdown race bug 225673. Repaired by (once again) ensuring the GIL is held whenever deleting a thread state. Alas, there's no useful test case for this shy bug. Four years ago, only Guido could provoke it, on his box, and today only Armin can provoke it on his box. I've never been able to provoke it (but not for lack of trying!). This is a critical fix for 2.3.5 too, since the fix for 1010677 got backported there already and so also reintroduced 225673. I don't intend to backport this fix. For whoever (if anyone) does, there are other thread fixes in 2.4 that need backporting too, and I bet they need to happen first for this patch to apply cleanly.
* Stop printing listdir bytestring output, as the precise list of stringsMartin v. Löwis2004-11-072-3/+2
| | | | returned depends on the filesystem encoding.
* Try a different filename if the Latin-1 file name cannotMartin v. Löwis2004-11-071-0/+17
| | | | be represented in the file system. Fixes #989338.
* Patch #1062033 / bug #1027771: clarify what happens when callingJohannes Gijsbers2004-11-071-1/+3
| | | | insertBefore() with refChild=None.
* Patch #1062018 / bug #1038693: comment out dead link in tkinter docs.Johannes Gijsbers2004-11-071-2/+2
|
* Patch #1061931 / bug #971872: factor out part of spillproperties, soJohannes Gijsbers2004-11-071-30/+55
| | | | | properties are also documented if help(Class.<property>) is called instead of help(Class).
* Added more documentation about the executable argument.Peter Astrand2004-11-071-0/+7
| | | | Fixes #1056441.
* Fix for SF bug 988120 via patch 1061941.Jeremy Hylton2004-11-072-2/+5
| | | | If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
* Patch #1061924: add documentation for BaseRotatingHandler and correctJohannes Gijsbers2004-11-071-2/+5
| | | | reference to non-existent function 'setRollover()'.
* Clarify that it's not necessary to subclass from TestCase to create aJohannes Gijsbers2004-11-071-1/+2
| | | | | test case. As Jeremy put it: "subclassing is an implementation technique, not a type declaration".
* Patch #1061904 / bug #878275: give a nicer error message when someoneJohannes Gijsbers2004-11-071-0/+2
| | | | accidentally derives from TestSuite instead of TestCase.
* When using shell=True on Windows, don't display a shell window by default. ↵Peter Astrand2004-11-072-11/+17
| | | | Fixes #1057061.
* Fix apparently trivial buffer overflow (SF bug 1060396).Jeremy Hylton2004-11-071-1/+1
| | | | 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.
* If close() fails in file_dealloc, then print an error message toPeter Astrand2004-11-071-1/+8
| | | | | stderr. close() can fail if the user is out-of-quota, for example. Fixes #959379.
* Patch #1061857: add documentation for previously undocumentedJohannes Gijsbers2004-11-071-0/+49
| | | | TimedRotatingFileHandler class. Thanks Jeroen Vloothuis!
* SF patch 1025636: Check for NULL returns in compile.c:com_import_stmtJeremy Hylton2004-11-071-4/+14
| | | | There is no test for this change, because there is no way to provoke memory errors on demand. Test suite passes, though.
* Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which madeJohannes Gijsbers2004-11-072-4/+8
| | | | | | | the debugger enter inside pdb.set_trace. Patch #1061767: make pdb.set_trace enter enter at the stack frame calling pdb.set_trace().
* Bump version for 2.4c1Martin v. Löwis2004-11-072-4/+6
|
* SF bug #1061457: spelling error in win installerRaymond Hettinger2004-11-072-2/+2
|
* SF patch #1061780: use a new -m option in pdb and profile invocationsRaymond Hettinger2004-11-072-2/+2
| | | | Doc patch submitted by Ilya Sandler.
* Whitespace normalization.Tim Peters2004-11-071-1/+1
|
* Move the AC_MSG_RESULT function call for checking for pthread options up intoBrett Cannon2004-11-072-3/+3
| | | | | the 'if' statement that performed the test. Not all platforms run the test and on those tests configure outputted a rogue 'no' line.
* Add comment about removal of CoreServices/CoreFoundation compilation againstBrett Cannon2004-11-071-1/+3
| | | | | the core on OS X (also specifically mention removal of PyMac_GetAppletScriptFile() ).
* Essentially SF patch 1061679: add missing __all__ to pickletools.py.Tim Peters2004-11-063-0/+7
| | | | Harmless.
* Comment cleanup.Brett Cannon2004-11-061-11/+11
|
* regenerated configure from configure.inAnthony Baxter2004-11-061-13/+8
|
* Don't choke on modes like rb or wb.Raymond Hettinger2004-11-061-1/+1
|
* get_boundary(): Fix for SF bug #1060941. RFC 2046 says boundaries may beginBarry Warsaw2004-11-061-1/+2
| | | | | | -- but not end -- with whitespace. I will backport to Python 2.3.
* test_boundary_with_leading_space(): Test case for SF bug #1060941. RFC 2046Barry Warsaw2004-11-061-0/+19
| | | | | | says boundaries may begin -- but not end -- with whitespace. I will backport to Python 2.3.
* SF bug #1060825: Error in difflib docsRaymond Hettinger2004-11-051-1/+1
|
* SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in coreRaymond Hettinger2004-11-055-187/+188
| | | | | | | | | | | | | (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
* - remove some bogus <meta> tags from the document headFred Drake2004-11-051-11/+4
| | | | - clean up some of the generated markup
* generate the "type" attribute on the favicon linkFred Drake2004-11-051-3/+13
|
* switch remaining icon references to the PNG iconsFred Drake2004-11-053-17/+17
|
* add encouragement to contribute without learning LaTeXFred Drake2004-11-053-0/+24
| | | | (closes SF bug #948517)
* - make the default image type PNG, to match mkhowtoFred Drake2004-11-051-2/+6
| | | | - add a command-line option to control the image type
* Point out some platform vagaries in stat() and utime().Tim Peters2004-11-041-5/+19
| | | | | Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to backport this.
* Mistakes in the "sequence types" page:Armin Rigo2004-11-041-6/+9
| | | | | | | | | | | | * 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.
* markup nitFred Drake2004-11-041-5/+4
|
* post-releaseAnthony Baxter2004-11-042-39/+60
|
* Fix bug 1052242. Also includes rewrite of test case using unittest andSkip Montanaro2004-11-044-54/+117
| | | | avoiding use of popen.
* fix markup in "title" attribute for \citetitle{}Fred Drake2004-11-041-1/+2
| | | | (closes SF patch #1054715; backporting to release23-maint branch)
* This commit was manufactured by cvs2svn to create tag 'r24b2'.v2.4b2cvs2svn2004-11-031-0/+1
|
* release shenanigansAnthony Baxter2004-11-034-4/+4
|
* Exclude badsyntax from compileall; adjust options to what Makefile.pre.in does.Martin v. Löwis2004-11-021-2/+3
| | | | Fixes #1049003.