summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #805304: super instances don't support item assignmentRaymond Hettinger2004-08-171-0/+6
| | | | | | Document a nuance of super(). It is designed to work well with dotted attribute lookup but not with equivalent implicit lookups using operators or statements.
* fix a couple problems with the last patch picked up by Michael HudsonSkip Montanaro2004-08-161-12/+8
|
* Typo fixAndrew M. Kuchling2004-08-161-1/+1
|
* Test cases and fixes for bugs described in patch #873418: email/Message.py:Barry Warsaw2004-08-162-2/+14
| | | | del_param fails when specifying a header.
* Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo"Skip Montanaro2004-08-161-1/+1
| | | | service.
* - pygettext.py: Generate POT-Creation-Date header in ISO format.Matthias Klose2004-08-162-1/+3
|
* The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSDMatthias Klose2004-08-164-425/+233
| | | | | | | | | | because GNU/k*BSD uses gnu pth to provide pthreads, but will also happen on any system that does the same. python fails to build because it doesn't detect gnu pth in pthread emulation. See C comments in patch for details. patch taken from http://bugs.debian.org/264315
* Minor improvements to the threading introduction:Raymond Hettinger2004-08-161-11/+15
| | | | | | | | | | | | | | * Expand the example to show a join. * Mention the use case of I/O running concurrent with a computational thread. * Be a tad more forceful about recommending Queue over other approaches to synchonization. * Eliminate discussion around having a single interpreter. This is a more advanced discussion that belongs in the library reference and in a section on extending and embedding.
* Minor formatting cleanup.Raymond Hettinger2004-08-161-5/+6
|
* * Uncomment the SyntaxError doctest after Tim demonstrated how.Raymond Hettinger2004-08-161-11/+6
| | | | * Remove unnecessary sys.PS2 prompt lines.
* Fix punctuation typo.Raymond Hettinger2004-08-151-1/+1
|
* Add a notes section to the docs:Raymond Hettinger2004-08-151-1/+97
| | | | | | * Discuss representation error versus loss of significance. * Document special values including qNaN, sNaN, +0, -0. * Show the suprising display of non-normalized zero values.
* SF patch #872326: generator expression implementationRaymond Hettinger2004-08-151-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 Klose2004-08-153-7/+25
|
* Add get_history_item and replace_history_item functions to the readlineSkip Montanaro2004-08-153-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 redefinitionSkip Montanaro2004-08-152-1286/+3099
| | | | warning from GCC. Closes patch #1006629.
* Quote \r\n correctly, remove random indentation (patch #1009384). ThanksJohannes Gijsbers2004-08-151-2/+2
| | | | Cherniavsky Beni!
* Correct the order of application for decorators. Meant to be bottom-up and notBrett Cannon2004-08-153-8/+23
| | | | top-down. Now matches the PEP.
* Fix incorrect comment for (struct compiling)->c_cellvarsBrett Cannon2004-08-151-1/+1
|
* Let cgi.parse_header() properly unquote headers (patch #1008597).Johannes Gijsbers2004-08-141-0/+1
|
* bug #989672: pdb.doc and the help messages for the help_d and help_u methodsJohannes Gijsbers2004-08-143-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 theJohannes Gijsbers2004-08-143-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'tJohannes Gijsbers2004-08-141-1/+4
| | | | exist.
* bug 990669: os.path.normpath may alter the meaning of a path if it containsJohannes Gijsbers2004-08-142-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 fileJohannes Gijsbers2004-08-141-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 Gijsbers2004-08-141-8/+16
|
* Raise an exception when src and dst refer to the same file via a hard link or aJohannes Gijsbers2004-08-142-5/+32
| | | | symbolic link (bug #851123 / patch #854853, thanks Gregory Ball).
* Reset old locale after running tests. Not doing so brokeJohannes Gijsbers2004-08-141-19/+23
| | | | test_format/test_unicode in some circumstances (patch #1007539/bug #992078).
* Removed item about an asyncore patch that got backed out.Tim Peters2004-08-131-3/+0
|
* Another microburst of snail-like progress.Tim Peters2004-08-131-106/+94
|
* Back out patch #982681Andrew M. Kuchling2004-08-131-8/+2
|
* 'inspect' was not listing the functions in a module properly if the module wasBrett Cannon2004-08-132-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öwis2004-08-132-0/+13
|
* Convert weak iterators to generator form.Raymond Hettinger2004-08-131-51/+23
|
* Whitespace normalization.Tim Peters2004-08-132-6/+6
|
* Doctest has new traceback gimmicks in 2.4. While trying to documentTim Peters2004-08-132-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 Norwitz2004-08-133-3/+17
| | | | Backport candidate
* make exception propogation more efficient; this avoids having Expat parseFred Drake2004-08-131-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 pyexpatFred Drake2004-08-131-0/+15
|
* SF #1005913, Patch to allow building of paper-*/dist.pdf by Jeff EplerNeal Norwitz2004-08-131-27/+27
| | | | There were subsections without sections, so drop a sub.
* Fix the version number in which changes were madeNeal Norwitz2004-08-131-3/+3
|
* Nit in _IS_BLANK_OR_COMMENT comment -- it doesn't matter how this isTim Peters2004-08-131-2/+2
| | | | implemented, just what it does.
* Markup fiddling.Tim Peters2004-08-131-7/+7
|
* Excruciatingly slow progress on the docs. Option flags / directive namesTim Peters2004-08-121-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 theTim Peters2004-08-123-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 themMichael W. Hudson2004-08-121-0/+2
| | | | to a file.
* This is my patch:Michael W. Hudson2004-08-124-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 Peters2004-08-121-1/+1
|
* This is my patchMichael W. Hudson2004-08-125-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 theMichael W. Hudson2004-08-121-0/+5
| | | | habit of these, sorry).