Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed UNIFIED_DIFF->REPORT_UDIFF; CONTEXT_DIFF->REPORT_CDIFF; and | Edward Loper | 2004-08-26 | 3 | -28/+28 |
| | | | | | | | NDIFF_DIFF->REPORT_NDIFF. This establishes the naming convention that all reporting options should begin with "REPORT_" (since reporting options are a different class from output comparison options; but they are both set in optionflags). | ||||
* | Shortened diff output for unified & context diffs | Edward Loper | 2004-08-26 | 2 | -12/+8 |
| | |||||
* | - Changed the output of report_start() and report_unexpected_exception() | Edward Loper | 2004-08-26 | 2 | -58/+64 |
| | | | | | | | to be more consistent with report_failure() - If `want` or `got` is empty, then print "Expected nothing\n" or "Got nothing\n" rather than "Expected:\n" or "Got:\n" - Got rid of _tag_msg | ||||
* | Restored half of a \versionadded only half of which should have been | Tim Peters | 2004-08-26 | 1 | -0/+3 |
| | | | | deleted. | ||||
* | Patch #1015012. Improve markup and punctuation in libsocket.tex | Dave Cole | 2004-08-26 | 2 | -5/+5 |
| | |||||
* | Patch #1014930. Expose current parse location to XMLParser. | Dave Cole | 2004-08-26 | 4 | -0/+76 |
| | |||||
* | Minor improvements to the template code. | Raymond Hettinger | 2004-08-26 | 1 | -18/+15 |
| | | | | | | | | * Add comment bars segregating this code from the rest. * Improve readability of the re pattern with indentation and comments on the same line. * Replace the groupdict() and get() pair with a direct call to group() which does the same thing. | ||||
* | Added an "exc_msg" attribute to Example (containing the expected | Edward Loper | 2004-08-26 | 2 | -59/+139 |
| | | | | | | | | | exception message, or None if no exception is expected); and moved exception parsing from DocTestRunner to DocTestParser. This is architecturally cleaner, since it moves all parsing work to DocTestParser; and it should make it easier for code outside DocTestRunner (notably debugging code) to properly handle expected exceptions. | ||||
* | Re-generate configure with recent configure.in change (for patch #1016224). | Trent Mick | 2004-08-25 | 1 | -219/+431 |
| | |||||
* | Apply patch #1016224: configure.in change to allow build of _bsddb module on | Trent Mick | 2004-08-25 | 1 | -3/+8 |
| | | | | AIX 5.1. | ||||
* | Only recognize the expected output as an exception if it *starts* with | Edward Loper | 2004-08-25 | 3 | -54/+55 |
| | | | | | | | | a traceback message. I.e., examples that raise exceptions may no longer generate pre-exception output. This restores the behavior of doctest in python 2.3. The ability to check pre-exception output is being removed because it makes the documentation simpler; and because there are very few use cases for it. | ||||
* | Fix docstring typo. | Raymond Hettinger | 2004-08-25 | 1 | -1/+1 |
| | |||||
* | Bypass peepholing of code with lineno tables having intervals >= 255. | Raymond Hettinger | 2004-08-25 | 1 | -4/+8 |
| | | | | | | | | Allows the lineno fixup code to remain simple and not have to deal with multibyte codings. * Add an assertion to that effect. * Remove the XXX comment on the subject. | ||||
* | Fix typo in comment and add clarification. | Raymond Hettinger | 2004-08-25 | 1 | -1/+2 |
| | |||||
* | clean up markup for --executable description | Fred Drake | 2004-08-25 | 1 | -2/+3 |
| | |||||
* | Add various items | Andrew M. Kuchling | 2004-08-25 | 1 | -10/+102 |
| | |||||
* | Patch #970015: Replace - by _ in version and release. | Martin v. Löwis | 2004-08-25 | 2 | -3/+4 |
| | |||||
* | Patch #970019: Include version and release in the BuildRoot. | Martin v. Löwis | 2004-08-25 | 2 | -1/+3 |
| | |||||
* | Patch #736857, #736859: Add -e option to build_scripts. | Martin v. Löwis | 2004-08-25 | 4 | -3/+16 |
| | |||||
* | Patch #798244: More urllib2 examples. | Martin v. Löwis | 2004-08-25 | 1 | -1/+62 |
| | |||||
* | Patch #1014992: Never return more than a line from readline. | Martin v. Löwis | 2004-08-25 | 1 | -3/+1 |
| | | | | Will backport to 2.3. | ||||
* | Patch #1015021: Stop claiming that coerce can return None. | Martin v. Löwis | 2004-08-25 | 2 | -5/+5 |
| | | | | Will backport to 2.3. | ||||
* | Back out 1.289, which breaks platforms needing addrinfo.h, and | Martin v. Löwis | 2004-08-25 | 1 | -31/+0 |
| | | | | | 1.293, 1.298, and 1.300, which have tried to fix this for specific platforms. | ||||
* | Simplify chains of conditional jumps. | Raymond Hettinger | 2004-08-25 | 1 | -2/+25 |
| | | | | (Suggested by Neal Norwitz.) | ||||
* | Ah whoops, we didn't turn string into a package (thanks Neal!) | Barry Warsaw | 2004-08-25 | 1 | -12/+1 |
| | |||||
* | PEP 292 classes Template and SafeTemplate are added to the string module. | Barry Warsaw | 2004-08-25 | 7 | -93/+329 |
| | | | | | | | | This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports. | ||||
* | Stop producing or using OverflowWarning. PEP 237 thought this would | Tim Peters | 2004-08-25 | 8 | -45/+25 |
| | | | | | | | happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so. | ||||
* | SF #1015517, get readline to compile with older compilers | Neal Norwitz | 2004-08-25 | 1 | -3/+4 |
| | |||||
* | Fix for [ 1010677 ] thread Module Breaks PyGILState_Ensure(), | Mark Hammond | 2004-08-24 | 2 | -5/+7 |
| | | | | | and a test case. When booting a new thread, use the PyGILState API to manage the GIL. | ||||
* | Keep option parser from gobbling up the filename to be profiled and the | Skip Montanaro | 2004-08-24 | 1 | -0/+1 |
| | | | | | flags it accepts. It's too late to change optparse's default behavior now, but I find the default setting of allow_interspersed_args very weird. | ||||
* | Fixed bug in DatagramHandler.send() | Vinay Sajip | 2004-08-24 | 1 | -0/+2 |
| | |||||
* | Incorporate review comments courtesy of Neal Norwitz: | Raymond Hettinger | 2004-08-24 | 1 | -6/+8 |
| | | | | | | | | | * Perform the code length check earlier. * Eliminate the extra PyMem_Free() upon hitting an EXTENDED_ARG. * Assert that the NOP count used in jump retargeting matches the NOPs eliminated in the final step. * Add an XXX note to indicate that more work is being to done to handle linenotab with intervals > 255. | ||||
* | SF Patch #1013667: Cleanup Peepholer Output | Raymond Hettinger | 2004-08-23 | 4 | -38/+206 |
| | | | | | | | | | * Make a pass to eliminate NOPs. Produce code that is more readable, more compact, and a tiny bit faster. Makes the peepholer more flexible in the scope of allowable transformations. * With Guido's okay, bumped up the magic number so that this patch gets widely exercised before the alpha goes out. | ||||
* | Add Nick Coghlan for his patch solving an issue with joining string | Raymond Hettinger | 2004-08-23 | 1 | -0/+1 |
| | | | | subclasses. | ||||
* | SF Patch #1007087: Return new string for single subclass joins (Bug #1001011) | Raymond Hettinger | 2004-08-23 | 2 | -12/+31 |
| | | | | | | | (Patch contributed by Nick Coghlan.) Now joining string subtypes will always return a string. Formerly, if there were only one item, it was returned unchanged. | ||||
* | The attempt to shut up deprecation warnings for doctest's own use of | Tim Peters | 2004-08-23 | 1 | -2/+5 |
| | | | | | is_private in its tests failed if doctest.py was run directly. Now it works. | ||||
* | test_DocTestFinder(): This test failed when test_doctest was run | Tim Peters | 2004-08-23 | 1 | -2/+5 |
| | | | | | directly, due to assuming a filename specific to running tests "the normal way". +ELLIPSIS to the rescue! | ||||
* | Moved some test cases from doctest to test_doctest. | Tim Peters | 2004-08-23 | 2 | -118/+126 |
| | |||||
* | Misc cleanups. | Tim Peters | 2004-08-23 | 1 | -28/+26 |
| | |||||
* | debug_script(): I changed this in haste before to take out the use of | Tim Peters | 2004-08-23 | 1 | -15/+22 |
| | | | | | | | NamedTemporaryFile (which can't work for this function's purposes on Windows). Leaving temp files behind wasn't a great idea either, though, so try to clean up. At least the test suite no longer leaves any of these guys behind now. | ||||
* | Patch #1014237: Consistently return booleans throughout. | Martin v. Löwis | 2004-08-23 | 1 | -10/+10 |
| | |||||
* | Updated the socketpair() docstring and documentation to explain that the | Dave Cole | 2004-08-23 | 2 | -4/+7 |
| | | | | | default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET. | ||||
* | Removed unnecessary calls to signal() to ignore SIGPIPE. SIGPIPE is ignored | Dave Cole | 2004-08-23 | 1 | -13/+0 |
| | | | | in initsigs() inside pythonrun.c. | ||||
* | Removed redundant versionadded{} for NDIFF_DIFF. Virtually everything | Tim Peters | 2004-08-23 | 1 | -1/+0 |
| | | | | | | in this section is new in 2.4, and that's all mentioned already in versionadded{} thingies at the end of the section. It hurts readability to have them after every line <wink>. | ||||
* | Add version info | Neal Norwitz | 2004-08-22 | 1 | -0/+1 |
| | |||||
* | Flush bz2 data even if nothing had been written so far. Fixes #1013882. | Martin v. Löwis | 2004-08-22 | 2 | -3/+9 |
| | | | | Will backport to 2.3. | ||||
* | Fix repr for negative imaginary part. Fixes #1013908. | Martin v. Löwis | 2004-08-22 | 2 | -2/+7 |
| | |||||
* | Start deferring to the LaTeX docs for details. I'd like to move the | Tim Peters | 2004-08-22 | 1 | -29/+3 |
| | | | | | | | | | docstrings toward being a lot shorter, and telling the whole truth in the manual instead. This change is an example: the manual has detailed explanations of the option names now, so it's Bad to repeat them in the docstring (two detailed descriptions are certain to get out of synch). Just listing the names has memory-jogging benefits, though, so that's still helpful in the docstring. | ||||
* | Added NDIFF_DIFF option. | Tim Peters | 2004-08-22 | 3 | -10/+68 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-08-22 | 2 | -5/+4 |
| |