Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF patch #872326: generator expression implementation | Raymond Hettinger | 2004-08-15 | 1 | -1/+46 |
| | | | | | | (Contributed by Jiwon Seo.) Add genexps to the reference manual. | ||||
* | - Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)). | Matthias Klose | 2004-08-15 | 3 | -7/+25 |
| | |||||
* | Add get_history_item and replace_history_item functions to the readline | Skip Montanaro | 2004-08-15 | 3 | -3/+85 |
| | | | | | module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this. | ||||
* | Match the def'n of _XOPEN_SOURCE on Solaris 8/9 to suppress redefinition | Skip Montanaro | 2004-08-15 | 2 | -1286/+3099 |
| | | | | warning from GCC. Closes patch #1006629. | ||||
* | Quote \r\n correctly, remove random indentation (patch #1009384). Thanks | Johannes Gijsbers | 2004-08-15 | 1 | -2/+2 |
| | | | | Cherniavsky Beni! | ||||
* | Correct the order of application for decorators. Meant to be bottom-up and not | Brett Cannon | 2004-08-15 | 3 | -8/+23 |
| | | | | top-down. Now matches the PEP. | ||||
* | Fix incorrect comment for (struct compiling)->c_cellvars | Brett Cannon | 2004-08-15 | 1 | -1/+1 |
| | |||||
* | Let cgi.parse_header() properly unquote headers (patch #1008597). | Johannes Gijsbers | 2004-08-14 | 1 | -0/+1 |
| | |||||
* | bug #989672: pdb.doc and the help messages for the help_d and help_u methods | Johannes Gijsbers | 2004-08-14 | 3 | -4/+8 |
| | | | | | of the pdb.Pdb class gives have been corrected. d(own) goes to a newer frame, u(p) to an older frame, not the other way around. | ||||
* | bug #990669: os.path.realpath() will resolve symlinks before normalizing the | Johannes Gijsbers | 2004-08-14 | 3 | -10/+109 |
| | | | | | | | | path, as normalizing the path may alter the meaning of the path if it contains symlinks. Also add tests for infinite symlink loops and parent symlinks that need to be resolved. | ||||
* | Catch OSError raised when src or dst argument to os.path.samefile doesn't | Johannes Gijsbers | 2004-08-14 | 1 | -1/+4 |
| | | | | exist. | ||||
* | bug 990669: os.path.normpath may alter the meaning of a path if it contains | Johannes Gijsbers | 2004-08-14 | 2 | -1/+6 |
| | | | | | symbolic links. This has been documented in a comment since 1992, but is now in the library reference as well. | ||||
* | bug #851123: shutil.copyfile will raise an exception when trying to copy a file | Johannes Gijsbers | 2004-08-14 | 1 | -0/+3 |
| | | | | onto a link to itself. Thanks Gregory Ball. | ||||
* | Unwrap too-smart loop: we can't use `src` for both hard and symbolic links. | Johannes Gijsbers | 2004-08-14 | 1 | -8/+16 |
| | |||||
* | Raise an exception when src and dst refer to the same file via a hard link or a | Johannes Gijsbers | 2004-08-14 | 2 | -5/+32 |
| | | | | symbolic link (bug #851123 / patch #854853, thanks Gregory Ball). | ||||
* | Reset old locale after running tests. Not doing so broke | Johannes Gijsbers | 2004-08-14 | 1 | -19/+23 |
| | | | | test_format/test_unicode in some circumstances (patch #1007539/bug #992078). | ||||
* | Removed item about an asyncore patch that got backed out. | Tim Peters | 2004-08-13 | 1 | -3/+0 |
| | |||||
* | Another microburst of snail-like progress. | Tim Peters | 2004-08-13 | 1 | -106/+94 |
| | |||||
* | Back out patch #982681 | Andrew M. Kuchling | 2004-08-13 | 1 | -8/+2 |
| | |||||
* | 'inspect' was not listing the functions in a module properly if the module was | Brett Cannon | 2004-08-13 | 2 | -1/+7 |
| | | | | | | | | reached through a symlink (was comparing path of module to path to function and were not matching because of the symlink). os.path.realpath() is now used to solve this discrepency. Closes bug #570300. Thanks Johannes Gijsbers for the fix. | ||||
* | Help compiling icons into an exe, for use with MSI advertisement. | Martin v. Löwis | 2004-08-13 | 2 | -0/+13 |
| | |||||
* | Convert weak iterators to generator form. | Raymond Hettinger | 2004-08-13 | 1 | -51/+23 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-08-13 | 2 | -6/+6 |
| | |||||
* | Doctest has new traceback gimmicks in 2.4. While trying to document | Tim Peters | 2004-08-13 | 2 | -34/+106 |
| | | | | | | them (which they are now), I had to rewrite the code to understand it. This has got to be the most DWIM part of doctest -- but in context is really necessary. | ||||
* | SF patch #1005778, Fix seg fault if list object is modified during list.index() | Neal Norwitz | 2004-08-13 | 3 | -3/+17 |
| | | | | Backport candidate | ||||
* | make exception propogation more efficient; this avoids having Expat parse | Fred Drake | 2004-08-13 | 1 | -5/+7 |
| | | | | | | | the remaining data in the buffer (which it had done happily without reporting any results) this depends on a new feature in Expat added in 1.95.8 | ||||
* | include at least one example of an exception passing through pyexpat | Fred Drake | 2004-08-13 | 1 | -0/+15 |
| | |||||
* | SF #1005913, Patch to allow building of paper-*/dist.pdf by Jeff Epler | Neal Norwitz | 2004-08-13 | 1 | -27/+27 |
| | | | | There were subsections without sections, so drop a sub. | ||||
* | Fix the version number in which changes were made | Neal Norwitz | 2004-08-13 | 1 | -3/+3 |
| | |||||
* | 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 |
| |