Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace -soname with -h for Solaris compatibility. Fixes #1034496. | Martin v. Löwis | 2004-09-26 | 1 | -1/+1 |
| | | | | Backported to 2.3. | ||||
* | Updated doctest doc news. | Tim Peters | 2004-09-26 | 1 | -1/+4 |
| | |||||
* | Added a lot of new stuff to the debugging section. | Tim Peters | 2004-09-26 | 1 | -29/+159 |
| | |||||
* | Removed debug_script from the public API: no docs, not public. I'm in | Tim Peters | 2004-09-26 | 1 | -1/+0 |
| | | | | | the process of writing docs for the other "missing" debug support functions. | ||||
* | register_optionflag(): Moved from the Debugging section to the section | Tim Peters | 2004-09-26 | 1 | -12/+19 |
| | | | | on option flags; added a versionadded decoration. | ||||
* | Document set_unittest_reportflags(). | Tim Peters | 2004-09-26 | 1 | -2/+59 |
| | |||||
* | Add set_unittest_reportflags() to the public API. Docs will follow | Tim Peters | 2004-09-26 | 1 | -0/+1 |
| | | | | "soon", after I repair the LaTeX I somehow damaged. | ||||
* | Removed two undocumented unittest support classes, and one undocumented | Tim Peters | 2004-09-26 | 1 | -3/+0 |
| | | | | | unittest support function, from the public interface. If they're not documented, they shouldn't be public. | ||||
* | Fix double word error. | Raymond Hettinger | 2004-09-25 | 1 | -1/+1 |
| | |||||
* | Assorted minor changes, plus a lot more soap. | Tim Peters | 2004-09-25 | 1 | -33/+39 |
| | |||||
* | Explain the motivation for the unittest functions, and beef up the | Tim Peters | 2004-09-25 | 1 | -51/+49 |
| | | | | example. Squash repeated argument descriptions. Minor rewordings. | ||||
* | Removed most of the module docstring. There's too much to explain now, | Tim Peters | 2004-09-25 | 1 | -124/+2 |
| | | | | and the LaTeX docs are in increasingly good shape. | ||||
* | Repaired mistakes in the descriptions of testmod()/testfile(), and | Tim Peters | 2004-09-25 | 1 | -45/+16 |
| | | | | squashed massive duplication of common argument descriptions. | ||||
* | Add warning notation about using 'bomb' setting. | Brett Cannon | 2004-09-25 | 1 | -1/+3 |
| | |||||
* | Remove 'extern' declaration for _Py_SwappedOp. | Brett Cannon | 2004-09-25 | 1 | -1/+1 |
| | |||||
* | Since the doctest warnings section was reduced to one bullet point, | Tim Peters | 2004-09-25 | 1 | -10/+6 |
| | | | | get rid of the itemize structure. | ||||
* | In the "doctest warnings" section, removed obsolete info, and noted that | Tim Peters | 2004-09-25 | 1 | -32/+16 |
| | | | | ELLIPSIS can be used to deal with examples that embed object addresses. | ||||
* | Raymond observed that sometimes it's better not to link modules, so I reverted | Johannes Gijsbers | 2004-09-25 | 1 | -7/+6 |
| | | | | part of my previous last changes. | ||||
* | Beef up the section on testfile(), giving a complete example in | Tim Peters | 2004-09-25 | 1 | -22/+48 |
| | | | | | | 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. | ||||
* | Typo. | Tim Peters | 2004-09-25 | 1 | -1/+1 |
| | |||||
* | Since the LaTeX isn't doctest'ed, examples are always wrong <wink>. | Tim Peters | 2004-09-25 | 1 | -17/+21 |
| | |||||
* | - Use itemize instead of plain-text '*' for marking up a list. | Johannes Gijsbers | 2004-09-24 | 1 | -29/+27 |
| | | | | - Add more ulink's to modules (this should probably become a standard macro). | ||||
* | Whitespace normalization. | Tim Peters | 2004-09-24 | 1 | -1/+1 |
| | |||||
* | Port test_unpack to doctest (patch #736962). | Johannes Gijsbers | 2004-09-24 | 1 | -144/+131 |
| | |||||
* | Add yet more tests for buffer(). | Neil Schemenauer | 2004-09-24 | 1 | -0/+11 |
| | |||||
* | Ensure negative offsets cannot be passed to buffer(). When composing | Neil Schemenauer | 2004-09-24 | 1 | -2/+15 |
| | | | | | buffers, compute the new buffer size based on the old buffer size. Fixes SF bug #1034242. | ||||
* | Fix buffer offset calculation (need to compute it before changing | Neil Schemenauer | 2004-09-24 | 1 | -11/+7 |
| | | | | | 'base'). Fixes SF bug #1033720. Move offset sanity checking to buffer_from_memory(). | ||||
* | Add a few more tests for the buffer() object. | Neil Schemenauer | 2004-09-24 | 1 | -0/+8 |
| | |||||
* | Added log() function documentation | Vinay Sajip | 2004-09-24 | 1 | -0/+5 |
| | |||||
* | Added log() function | Vinay Sajip | 2004-09-24 | 1 | -0/+8 |
| | |||||
* | Added exception handling during handler initialization in fileConfig() | Vinay Sajip | 2004-09-24 | 1 | -24/+27 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-09-24 | 1 | -1/+1 |
| | |||||
* | Add docstrings for regular expression objects and methods. | Raymond Hettinger | 2004-09-24 | 1 | -8/+51 |
| | |||||
* | Granted Noam Raphael's request for minor improvements to the re module and | Raymond Hettinger | 2004-09-24 | 3 | -10/+21 |
| | | | | | | | | | | | | | | 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(). | ||||
* | Update for beta1 | Andrew M. Kuchling | 2004-09-23 | 1 | -3/+3 |
| | |||||
* | Add various items | Andrew M. Kuchling | 2004-09-23 | 1 | -0/+19 |
| | |||||
* | float_richcompare(): Use the new Py_IS_NAN macro to ensure that, on | Tim Peters | 2004-09-23 | 1 | -11/+9 |
| | | | | | platforms where that macro works, NaN compared to an int or long works the same as NaN compared to a finite float. | ||||
* | Introduced a Py_IS_NAN macro, which probably works on the major platforms | Tim Peters | 2004-09-23 | 3 | -3/+26 |
| | | | | | | 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. | ||||
* | SF bug #513866: Float/long comparison anomaly. | Tim Peters | 2004-09-23 | 3 | -11/+318 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Improve three recipes in the itertools docs. | Raymond Hettinger | 2004-09-23 | 2 | -7/+19 |
| | |||||
* | Arghh, checked in wrong draft. Replacing with correct one. | Raymond Hettinger | 2004-09-23 | 1 | -3/+4 |
| | |||||
* | Use local variables in StringIO.write(). | Raymond Hettinger | 2004-09-23 | 1 | -10/+11 |
| | | | | Makes it easier on the eyes and a bit more snappy. | ||||
* | Fix for SF bug #1029475 : reload() doesn't work with PEP 302 loaders. | Phillip J. Eby | 2004-09-23 | 2 | -6/+26 |
| | |||||
* | A static swapped_op[] array was defined in 3 different C files, & I think | Tim Peters | 2004-09-23 | 4 | -12/+11 |
| | | | | | I need to define it again. Bite the bullet and define it once as an extern, _Py_SwappedOp[]. | ||||
* | Removed redundant declaration of _PyLong_NumBits(). | Tim Peters | 2004-09-23 | 1 | -1/+0 |
| | |||||
* | SF patch #1031667: Fold tuples of constants into a single constant | Raymond Hettinger | 2004-09-22 | 4 | -15/+109 |
| | | | | | | | | Example: >>> import dis >>> dis.dis(compile('1,2,3', '', 'eval')) 0 0 LOAD_CONST 3 ((1, 2, 3)) 3 RETURN_VALUE | ||||
* | Clarify that iteration is over headers, not Mime elements. | Raymond Hettinger | 2004-09-22 | 1 | -1/+2 |
| | |||||
* | Bug #1030125: rfc822 __iter__ problem | Raymond Hettinger | 2004-09-22 | 3 | -0/+15 |
| | | | | Add iteration support to the Message class. | ||||
* | Added getLoggerClass() | Vinay Sajip | 2004-09-22 | 1 | -0/+13 |
| | |||||
* | Added getLoggerClass() | Vinay Sajip | 2004-09-22 | 1 | -12/+15 |
| |