Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Nit in _IS_BLANK_OR_COMMENT comment -- it doesn't matter how this is | Tim Peters | 2004-08-13 | 1 | -2/+2 |
| | | | | implemented, just what it does. | ||||
* | Markup fiddling. | Tim Peters | 2004-08-13 | 1 | -7/+7 |
| | |||||
* | Excruciatingly slow progress on the docs. Option flags / directive names | Tim Peters | 2004-08-12 | 1 | -54/+77 |
| | | | | are documented now, and ripped out a bunch of "private name" convolutions. | ||||
* | Boosted the stack reservation for python.exe and python_w.exe from the | Tim Peters | 2004-08-12 | 3 | -0/+16 |
| | | | | | default 1MB to 2 million bytes. The test suite passes with -uall again (test_compiler no longer drives WinXP into an insane state). | ||||
* | Report refleaks to stderr as the tests run as well as logging them | Michael W. Hudson | 2004-08-12 | 1 | -0/+2 |
| | | | | to a file. | ||||
* | This is my patch: | Michael W. Hudson | 2004-08-12 | 4 | -2/+62 |
| | | | | | | [ 1005891 ] support --with-tsc on PPC plus a trivial change to settscdump's docstring and a Misc/NEWS entry. | ||||
* | code_new(): Wouldn't compile on Windows, because of gcc'ism. | Tim Peters | 2004-08-12 | 1 | -1/+1 |
| | |||||
* | This is my patch | Michael W. Hudson | 2004-08-12 | 5 | -47/+95 |
| | | | | | | | [ 1004703 ] Make func_name writable plus fixing a couple of nits in the documentation changes spotted by MvL and a Misc/NEWS entry. | ||||
* | A NEWS entry for my last checked in change (I've gotten out of the | Michael W. Hudson | 2004-08-12 | 1 | -0/+5 |
| | | | | habit of these, sorry). | ||||
* | Fix bug | Michael W. Hudson | 2004-08-12 | 2 | -33/+150 |
| | | | | | | | | | | [ 1005248 ] new.code() not cleanly checking its arguments using the result of new.code() can still destroy the sun, but merely calling the function shouldn't any more. I also rewrote the existing tests of new.code() to use vastly less un-bogus arguments, and added tests for the previous insane behaviours. | ||||
* | Patch #1005468: Disambiguate "min() or max()" exception string. | Martin v. Löwis | 2004-08-12 | 1 | -3/+4 |
| | |||||
* | Patch #1006916: Remove ODBC library references. | Martin v. Löwis | 2004-08-12 | 7 | -20/+20 |
| | |||||
* | Define _BSD_TYPES. Fixes #1005308. Backported to 2.3. | Martin v. Löwis | 2004-08-12 | 3 | -6/+73 |
| | |||||
* | Patch #1005568: Use _SC_PAGESIZE on Irix. | Martin v. Löwis | 2004-08-12 | 1 | -0/+5 |
| | | | | Backported to 2.3. | ||||
* | Patch #808719: Ignore the locale's encoding if it is an empty string. | Martin v. Löwis | 2004-08-12 | 1 | -2/+2 |
| | | | | Backported to 2.3. | ||||
* | In output_difference(), replace blank lines in `want` with <BLANKLINE> | Edward Loper | 2004-08-12 | 1 | -3/+3 |
| | | | | | (rather than replacing <BLANKLINE> with blank lines in `got`). This makes it easier to see what's intended. | ||||
* | - Changed output of DocTestParser.get_program() to make it easier to | Edward Loper | 2004-08-12 | 2 | -23/+37 |
| | | | | | | | | visually distinguish the expected output from the comments (use "##" to mark expected outputs, and "#" to mark comments). - If the string given to DocTestParser.get_program() is indented, then strip its indentation. (In particular, find the min indentation of non-blank lines, and strip that indentation from all lines.) | ||||
* | - Added __docformat__ | Edward Loper | 2004-08-12 | 2 | -17/+33 |
| | | | | | | | - Added comments for some regexps - If the traceback type/message don't match, then still print full traceback in report_failure (not just the first & last lines) - Renamed DocTestRunner.__failure_header -> _failure_header | ||||
* | - Changed option directives to be example-specific. (i.e., they now | Edward Loper | 2004-08-12 | 2 | -79/+254 |
| | | | | | | | | | modify option flags for a single example; they do not turn options on or off.) - Added "indent" and "options" attributes for Example - Got rid of add_newlines param to DocTestParser._parse_example (it's no longer needed; Example's constructor now takes care of it). - Added some docstrings | ||||
* | - Added a register_optionflag function (so users can add their own | Edward Loper | 2004-08-12 | 1 | -22/+18 |
| | | | | | option flags); and use it to define the existing optionflag constants. | ||||
* | avoid version numbers in the text where possible | Fred Drake | 2004-08-10 | 1 | -5/+5 |
| | |||||
* | clarify the behavior of the .first() and .last() methods for empty | Fred Drake | 2004-08-10 | 1 | -0/+2 |
| | | | | | | databases this should be backported to the release23-maint branch | ||||
* | Spelling fix | Andrew M. Kuchling | 2004-08-10 | 1 | -1/+1 |
| | |||||
* | added missing documentation for UseForeignDTD() (new in 2.3) | Fred Drake | 2004-08-10 | 1 | -0/+21 |
| | | | | someone should backport to the release23-maint branch | ||||
* | add descriptions for many of the new error codes | Fred Drake | 2004-08-10 | 1 | -1/+82 |
| | |||||
* | minor changes to make this format again | Fred Drake | 2004-08-10 | 1 | -2/+2 |
| | |||||
* | Start rewriting doctest's LaTeX docs. Damn, this is slow going! | Tim Peters | 2004-08-10 | 2 | -29/+148 |
| | |||||
* | Fix typo in getquotaroot parameter reported by Thierry FLORAC. Also amplify ↵ | Piers Lauder | 2004-08-10 | 1 | -3/+5 |
| | | | | doc string for select to indicate proper way to obtain other responses. | ||||
* | Whitespace normalization. | Tim Peters | 2004-08-09 | 5 | -5/+1 |
| | |||||
* | [Patch #1005465] Markup tweaks | Andrew M. Kuchling | 2004-08-09 | 1 | -1/+2 |
| | |||||
* | [Patch #1005491 ] use __name__ == '__main__' in scripts | Andrew M. Kuchling | 2004-08-09 | 34 | -211/+268 |
| | |||||
* | Edward's latest checkins somehow managed to wipe out my previous latest | Tim Peters | 2004-08-09 | 2 | -15/+17 |
| | | | | checkins. Reapplying the latter changes. | ||||
* | - DocTest is now a simple container class; its constructor is no longer | Edward Loper | 2004-08-09 | 2 | -105/+111 |
| | | | | | | | | | | | responsible for parsing the string. - Renamed Parser to DocTestParser - DocTestParser.get_*() now accept the string & name as command-line arguments; the parser's constructor is now empty. - Added DocTestParser.get_doctest() method - Replaced "doctest_factory" argument to DocTestFinder with a "parser" argument (takes a DocTestParser). - Changed _tag_msg to take an indentation string argument. | ||||
* | This started as a spelling and whitespace cleanup. The comment for | Tim Peters | 2004-08-09 | 2 | -20/+22 |
| | | | | | | | | | the set_trace fiddling didn't make sense to me, and I ended up reworking that part of the code. We really do want to save and restore pdb.set_trace, so that each dynamically nested level of doctest gets sys.stdout fiddled to what's appropriate for *it*. The only "trick" really needed is that these layers of set_trace wrappers each call the original pdb.set_trace (instead of the current pdb.set_trace). | ||||
* | Patch #1006003: Cygwin standard module build problems | Jason Tishler | 2004-08-09 | 2 | -3/+4 |
| | | | | Add missing PyAPI_FUNC/PyAPI_DATA macros. | ||||
* | Add item | Andrew M. Kuchling | 2004-08-09 | 1 | -0/+4 |
| | |||||
* | - make a module reference a hyperlink | Fred Drake | 2004-08-09 | 1 | -2/+3 |
| | | | | - wrap a long line | ||||
* | fix markup nit | Fred Drake | 2004-08-09 | 1 | -1/+2 |
| | |||||
* | Bug #1001857: socketmodule does not build under cygwin | Jason Tishler | 2004-08-09 | 1 | -0/+4 |
| | | | | Restore clean building under Cygwin. | ||||
* | Added support for pdb.set_trace. | Jim Fulton | 2004-08-09 | 2 | -1/+103 |
| | |||||
* | Ooops - for some reason I had the wrong versionadded... | Dave Cole | 2004-08-09 | 1 | -1/+1 |
| | |||||
* | Patch #1003700: Add socketpair function to socket module. | Dave Cole | 2004-08-09 | 7 | -0/+130 |
| | |||||
* | Removed lots of stuff from the module docstring. My intent for 2.4 is | Tim Peters | 2004-08-09 | 1 | -137/+18 |
| | | | | | to put details in the LaTeX docs instead, and lots of stuff in the module docstring wasn't useful anyway. | ||||
* | Repair some out-of-date comments. | Tim Peters | 2004-08-09 | 1 | -8/+2 |
| | |||||
* | Drop the excruciating newline requirements on arguments to | Tim Peters | 2004-08-09 | 2 | -32/+42 |
| | | | | | | Example.__init__. The constructor now adds trailing newlines when needed, and no longer distinguishes between multi- and single-line cases for source. | ||||
* | Give return stmts their own lines. | Tim Peters | 2004-08-09 | 1 | -2/+4 |
| | |||||
* | Indent body of _EXAMPLE_RE for readability. _IS_BLANK_OR_COMMENT makes | Tim Peters | 2004-08-09 | 1 | -13/+13 |
| | | | | more sense as a callable. | ||||
* | Changed Parser.get_examples() to return a list of Example objects, | Edward Loper | 2004-08-09 | 1 | -21/+13 |
| | | | | rather than a list of triples. | ||||
* | - Split DocTestRunner's check_output and output_difference methods off | Edward Loper | 2004-08-09 | 1 | -127/+139 |
| | | | | | | into their own class, OutputChecker. - Added optional OutputChecker arguments to DocTestRunner, DocTestCase, DocTestSuite. | ||||
* | Rewrote Parser, using regular expressions instead of walking though | Edward Loper | 2004-08-09 | 2 | -221/+227 |
| | | | | | | | | | the string one line at a time. The resulting code is (in my opinion, anyway), much easier to read. In the process, I found and fixed a bug in the orginal parser's line numbering in error messages (it was inconsistant between 0-based and 1-based). Also, check for missing blank lines after the prompt on all prompt lines, not just PS1 lines (test added). |