- 25 Sep, 2004 8 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Tim Peters authored
get rid of the itemize structure.
-
Tim Peters authored
ELLIPSIS can be used to deal with examples that embed object addresses.
-
Johannes Gijsbers authored
part of my previous last changes.
-
Tim Peters authored
reStructuredText format. Remove words describing the return value of testmod() and testfile() in the intro sections, since it's never useful in such simple cases.
-
Tim Peters authored
-
Tim Peters authored
-
- 24 Sep, 2004 13 commits
-
-
Johannes Gijsbers authored
- Add more ulink's to modules (this should probably become a standard macro).
-
Tim Peters authored
-
Johannes Gijsbers authored
-
Neil Schemenauer authored
-
Neil Schemenauer authored
buffers, compute the new buffer size based on the old buffer size. Fixes SF bug #1034242.
-
Neil Schemenauer authored
'base'). Fixes SF bug #1033720. Move offset sanity checking to buffer_from_memory().
-
Neil Schemenauer authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Tim Peters authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
its documentation. * Documented that the compiled re methods are supposed to be more full featured than their simpilified function counterparts. * Documented the existing start and stop position arguments for the findall() and finditer() methods of compiled regular expression objects. * Added an optional flags argument to the re.findall() and re.finditer() functions. This aligns their API with that for re.search() and re.match().
-
- 23 Sep, 2004 11 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
platforms where that macro works, NaN compared to an int or long works the same as NaN compared to a finite float.
-
Tim Peters authored
today. pyconfig.h can override it if not, and can also override Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now for Microsoft compilers, using efficient MS-specific spellings.
-
Tim Peters authored
When an integer is compared to a float now, the int isn't coerced to float. This avoids spurious overflow exceptions and insane results. This should compute correct results, without raising spurious exceptions, in all cases now -- although I expect that what happens when an int/long is compared to a NaN is still a platform accident. Note that we had potential problems here even with "short" ints, on boxes where sizeof(long)==8. There's #ifdef'ed code here to handle that, but I can't test it as intended. I tested it by changing the #ifdef to trigger on my 32-bit box instead. I suppose this is a bugfix candidate, but I won't backport it. It's long-winded (for speed) and messy (because the problem is messy). Note that this also depends on a previous 2.4 patch that introduced _Py_SwappedOp[] as an extern.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Makes it easier on the eyes and a bit more snappy.
-
Phillip J. Eby authored
-
Tim Peters authored
I need to define it again. Bite the bullet and define it once as an extern, _Py_SwappedOp[].
-
Tim Peters authored
-
- 22 Sep, 2004 5 commits
-
-
Raymond Hettinger authored
Example: >>> import dis >>> dis.dis(compile('1,2,3', '', 'eval')) 0 0 LOAD_CONST 3 ((1, 2, 3)) 3 RETURN_VALUE
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Add iteration support to the Message class.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
- 21 Sep, 2004 3 commits
-
-
Edward Loper authored
- Simplified code to find names for file-based tests.
-
Edward Loper authored
more thouroughly.
-
Edward Loper authored
- Reorganized the documentation - Shifted focus a little more towards "literate testing" - Documented new functions and classes: - testfile() - Example, DocTest - DocTestParser, DocTestFinder, DocTestRunner, OutputChecker - DocFileSuite - DebugRunner, DocTestFailure, UnexpectedException - register_optionflag()
-