summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Avoid using 'dir' as a variable name and use os.path.join() to createSkip Montanaro2003-06-191-4/+4
| | | | paths.
* Make the comment prefix 7 character long, so the lines are properlyWalter Dörwald2003-06-191-1/+1
| | | | aligned.
* Use find() instead of looping over the string in expanduser().Walter Dörwald2003-06-192-5/+9
| | | | From SF patch #757058.
* randrange(): Repaired my overly optimistic rewrite, and added commentsTim Peters2003-06-191-1/+13
| | | | explaining what's wrong with the two simpler variants.
* randrange(): 2.3 can no longer raises OverflowError on an int() call, soTim Peters2003-06-191-10/+1
| | | | | | some of this code because useless, and (worse) could return a long instead of int (in Zope that's important, because a long can't be used as a key in an IOBTree or IIBTree).
* - Added a "community" section.Jack Jansen2003-06-189-39/+108
| | | | - Cleaned up the HTML.
* - Create TMPDIR only if it doesn't exist yetJack Jansen2003-06-181-1/+4
| | | | - Set the installer to use our permissions, not influenced by the umask.
* Minor updates:Raymond Hettinger2003-06-183-12/+38
| | | | | | * Updated comment on design of imap() * Added untraversed object in izip() structure * Replaced the pairwise() example with a more general window() example
* Include "instances of most classes" in a warning about mutable objectsFred Drake2003-06-181-2/+3
| | | | as default values of function/method parameters.
* Port test_complex.py to unittest.Walter Dörwald2003-06-182-145/+249
| | | | | | | | Move the constructor tests from test_builtin to test_complex. Add a bunch of tests (code coverage is a 94%). From SF patch #736962.
* Give default _elemdict and _propdict attributes to OSA classes, soJack Jansen2003-06-181-4/+6
| | | | | | | we don't get infinite recursion for suites that don't have an application class. Also got rid of some tabs.
* An indenting error in the code made it miss some suites that have an applicationJack Jansen2003-06-181-2/+2
| | | | class.
* Fix whitespace.Walter Dörwald2003-06-181-1/+1
|
* Fix typo.Raymond Hettinger2003-06-181-1/+1
|
* SF patch #751038 fixing SF bug#750092: exec doesn't need newlineRaymond Hettinger2003-06-181-6/+0
| | | | Patch contributed by Steven Taschuk.
* SF bug #753451: classmethod abuse --> SystemErrorRaymond Hettinger2003-06-182-0/+14
| | | | | | Check the argument to classmethod for callability. Backport candidate.
* Remove debug print on filename with NUL byte.Greg Ward2003-06-181-1/+0
|
* SF patch #755987 (Jim Ahlstrom):Greg Ward2003-06-181-16/+15
| | | | | | | | | | | | | | | | | This is a patch for Bug 755031: If a null byte appears in a file name, Python zipfile.py retains it, but InfoZip terminates the name. Null bytes in file names are used as a trick by viruses. I tested WinZip, and it also truncates the file name at the null byte. The patch also fixes a buglet: If a zipfile incorrectly uses a directory separator other than '/', there was an invalid complaint that the central directory name does not match the file header name. I also removed my name from the top of the file. It was there for legal reasons which I believe no longer apply. Many people have worked on this file besides me.
* Add missing DECREF.Raymond Hettinger2003-06-171-1/+3
|
* Change all header strings to be as if they were capitalize()'ed. Also callBrett Cannon2003-06-171-9/+9
| | | | | | capitalize in AbstractHTTPHandler before inserting headers into HTTP instance. Closes bug #649742, again.
* Fix typo in comment.Walter Dörwald2003-06-171-1/+1
|
* Use _PyEval_SliceIndex to handle list.index() calls withWalter Dörwald2003-06-172-1/+12
| | | | huge start and stop arguments. Add tests.
* Remove short-circuitying grubbing by using last grubbed buffer. It'sKen Manheimer2003-06-171-9/+5
| | | | | | | | | evil - if the last grubbed buffer didn't happen to be the right one, you couldn't remedy. Mainline emacs compat - don't use third arg to buffer-substring (which was for explicitly identifying the buffer in which to seek the substring, and which turns out to be unnecessary).
* Fix docstringRaymond Hettinger2003-06-171-1/+1
|
* Updated documentation for the new slice arguments for list.index().Walter Dörwald2003-06-171-3/+8
|
* Whitespace normalization.Walter Dörwald2003-06-171-6/+6
|
* Make sure the files in the installer have group "admin", otherwiseJack Jansen2003-06-171-0/+2
| | | | administrators can still not add packages.
* Fix sloppy index() implementation:Guido van Rossum2003-06-172-4/+18
| | | | | - don't use min() and max() - interpret negative start/stop argument like negative slice indices
* Modernize Lib/posixpath.py: Use startswith(), endswith(), rstrip(),Walter Dörwald2003-06-171-15/+16
| | | | | | struct_passwd attributes and +=. From SF patch #755245.
* SF Patch 569574 - enhancements to cgitb for plain text displaySkip Montanaro2003-06-173-18/+108
|
* SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger2003-06-175-6/+39
| | | | Also, modified UserList.index() to match and expanded the related tests.
* test_posixpath.py now uses unittest. The output file is no longer needed.Raymond Hettinger2003-06-171-2/+0
|
* Convert some repetitive code into a loopNeal Norwitz2003-06-171-14/+5
|
* Fix some markup nitsNeal Norwitz2003-06-171-4/+4
|
* SF bug 751956: graminit.[ch] don't build on windowsTim Peters2003-06-171-1/+4
| | | | | | A change from Duncan Booth, to deal with changes in the way pgen gets built. Note that graminit.[ch] aren't normally built on Windows (they're obtained from CVS).
* Add test for bug #751998.Neal Norwitz2003-06-161-0/+16
|
* Complete rewrite of tests by Walter Dorwald as unittest tests.Brett Cannon2003-06-161-45/+394
|
* Don't use the module object setattr when importing submodules. Instead,Neil Schemenauer2003-06-161-18/+38
| | | | | | operate on the module dictionary directly. This prevents spurious depreciation warnings from being raised if a submodule name shadows a builtin name.
* Add item about new threading module functions.Jeremy Hylton2003-06-161-0/+5
|
* Remove many blanket try/except clauses.Jeremy Hylton2003-06-161-11/+40
| | | | | | | | | | | | SF bug [ 751276 ] cPickle doesn't raise error, pickle does (recursiondepth) Most of the calls to PyErr_Clear() were intended to catch & clear an attribute error and try something different. Guard all those cases with a PyErr_ExceptionMatches() and fail if some other error occurred. The other error is likely a bug in the user code. This is basically the C equivalent of changing "except:" to "except AttributeError:"
* Correct function name.Kurt B. Kaiser2003-06-161-3/+3
|
* Add ':' after IDLE version, fix spacing on a couple of lines I missedKurt B. Kaiser2003-06-161-4/+5
|
* Allow passing a build directory on the command line. Also, if theJack Jansen2003-06-161-7/+25
| | | | | | build directory is found to exist we don't clean it up. We also use configure -C. All this lets us keep build directories, which graeatly speeds up the process of debugging installers.
* Only fix up pathnames in installed scripts when needed, i.e. when not installingJack Jansen2003-06-161-9/+10
| | | | to /. Pathnames are correct for installing to / since the DESTDIR patch.
* Added a note about FSRef tests failing on MacOS 8.6.Jack Jansen2003-06-161-1/+4
|
* This wasn't ansified. Fixed.Jack Jansen2003-06-161-6/+2
|
* Import EasyDialogs only when needed, so this works if there is no windowJack Jansen2003-06-161-1/+1
| | | | manager (if it isn't needed).
* Added two mac items (pimp auto-update and OSA property access).Jack Jansen2003-06-161-0/+3
|
* Patch #755147 by Brian Lenihan:Jack Jansen2003-06-161-5/+5
| | | | | - Build idle from new location - use ln -fsn when linking files.
* Made DateTime's constructor accept a time.struct_time class,Gustavo Niemeyer2003-06-161-1/+1
| | | | besides plain tuples.