| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
the output
|
|
|
|
|
|
|
| |
(Contributed by Dima Dorfman.)
* Support pickling of dictionaries in instances of deque subclasses.
* Support pickling of recursive deques.
|
|
|
|
| |
Support automatic pickling of dictionaries in instance of set subclasses.
|
|
|
|
|
| |
Add doctest section
Wordsmithing
|
| |
|
|
|
|
| |
trace_dispatch() result in a more obvious, and more robust way.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(thanks to Raymond for the prod).
|
|
|
|
| |
[ 1057835 ] compiler.transformer, "from module import *"
|
|
|
|
| |
inflexibile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
returned depends on the filesystem encoding.
|
|
|
|
| |
be represented in the file system. Fixes #989338.
|
|
|
|
| |
insertBefore() with refChild=None.
|
| |
|
|
|
|
|
| |
properties are also documented if help(Class.<property>) is called
instead of help(Class).
|
|
|
|
| |
Fixes #1056441.
|
|
|
|
| |
If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
|
|
|
|
| |
reference to non-existent function 'setRollover()'.
|
|
|
|
|
| |
test case. As Jeremy put it: "subclassing is an implementation
technique, not a type declaration".
|
|
|
|
| |
accidentally derives from TestSuite instead of TestCase.
|
|
|
|
| |
Fixes #1057061.
|
|
|
|
| |
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.
|
|
|
|
|
| |
stderr. close() can fail if the user is out-of-quota, for example.
Fixes #959379.
|
|
|
|
| |
TimedRotatingFileHandler class. Thanks Jeroen Vloothuis!
|
|
|
|
| |
There is no test for this change, because there is no way to provoke memory errors on demand. Test suite passes, though.
|
|
|
|
|
|
|
| |
the debugger enter inside pdb.set_trace.
Patch #1061767: make pdb.set_trace enter enter at the stack frame
calling pdb.set_trace().
|
| |
|
| |
|
|
|
|
| |
Doc patch submitted by Ilya Sandler.
|
| |
|
|
|
|
|
| |
the 'if' statement that performed the test. Not all platforms run the test and
on those tests configure outputted a rogue 'no' line.
|
|
|
|
|
| |
the core on OS X (also specifically mention removal of
PyMac_GetAppletScriptFile() ).
|
|
|
|
| |
Harmless.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
-- but not end -- with whitespace.
I will backport to Python 2.3.
|
|
|
|
|
|
| |
says boundaries may begin -- but not end -- with whitespace.
I will backport to Python 2.3.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
- clean up some of the generated markup
|
| |
|
| |
|
|
|
|
| |
(closes SF bug #948517)
|
|
|
|
| |
- add a command-line option to control the image type
|
|
|
|
|
| |
Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to
backport this.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|