summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Minor updates:Raymond Hettinger2003-06-181-5/+14
| | | | | | * Updated comment on design of imap() * Added untraversed object in izip() structure * Replaced the pairwise() example with a more general window() example
* 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.
* SF bug #753451: classmethod abuse --> SystemErrorRaymond Hettinger2003-06-181-0/+8
| | | | | | 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.
* 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.
* Use _PyEval_SliceIndex to handle list.index() calls withWalter Dörwald2003-06-171-0/+9
| | | | huge start and stop arguments. Add tests.
* Fix docstringRaymond Hettinger2003-06-171-1/+1
|
* Fix sloppy index() implementation:Guido van Rossum2003-06-171-2/+6
| | | | | - 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-171-14/+95
|
* SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger2003-06-173-1/+26
| | | | 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
|
* 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
|
* Add ':' after IDLE version, fix spacing on a couple of lines I missedKurt B. Kaiser2003-06-161-4/+5
|
* Made DateTime's constructor accept a time.struct_time class,Gustavo Niemeyer2003-06-161-1/+1
| | | | besides plain tuples.
* Whitespace normalization.Tim Peters2003-06-157-12/+11
|
* Return None to signal that the module the object was defined in was not ↵Brett Cannon2003-06-151-0/+2
| | | | found when object has no __name__ attr but is needed to figure out location of object.
* Make CREDITS.txt a Latin-1 file. Extend ViewFile to support file encodings.Martin v. Löwis2003-06-152-4/+17
|
* choose_boundary(): This no longer uses random, so stop importing it.Tim Peters2003-06-151-1/+0
|
* choose_boundary(): Incorporated a threadsafe incrementing counter, so thatTim Peters2003-06-151-8/+22
| | | | | | | | unique boundary strings within a program run are guaranteed. On Windows, duplicates were pretty likely, due to the coarse granularity of time.time. Toned down the absurdly optimistic claims in the docstring. Bugfix candidate.
* Add a missing 'self,' to a super call in recently checked-in code.Guido van Rossum2003-06-151-1/+1
| | | | This was reported in the IDLEFORK bug tracker as #754971.
* Forwardport Patch from IDLEfork SF 615312Kurt B. Kaiser2003-06-151-0/+9
| | | | Convert characters from the locale's encoding on output
* Support testing in .../Lib/idlelib when calling <python PyShell.py>Kurt B. Kaiser2003-06-151-0/+1
| | | | by providing other modules access to globals set up in PyShell.main()
* Move to Version 1.0b2Kurt B. Kaiser2003-06-151-1/+1
|
* Update copyright dates.Greg Ward2003-06-151-1/+9
| | | | | Define True and False (if necessary) so this module can be copied as-is to other projects (eg. Optik, Docutils) that don't depend on Python 2.3.
* Patch #751107: Slant must be 'roman', not 'normal'.Martin v. Löwis2003-06-141-1/+2
|
* Properly deal with tuples in Open._fixresult. Fixes bug reported inMartin v. Löwis2003-06-141-3/+16
| | | | follow-up to #621891.
* Forwardport Patch from IDLEfork SF 610329Kurt B. Kaiser2003-06-141-2/+6
| | | | Remove deprecated tempfile usage
* Always unwrap _socketobj in socket.ssl. Revert httplib.py 1.25.Martin v. Löwis2003-06-142-14/+7
| | | | Fixes #754447.
* Support keyword and topics help in cli(). Fixes #715782.Martin v. Löwis2003-06-141-4/+6
|
* Treat empty dat/dir pairs as dumbdbm. Fixes #744687.Martin v. Löwis2003-06-142-3/+12
|
* Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.Martin v. Löwis2003-06-142-2/+4
|
* Patch #754340: Fix typo in redirect_request. Will backport to 2.2.Martin v. Löwis2003-06-141-1/+1
|
* Remove the 2.2 compatibility module boolcheck.py and related codeKurt B. Kaiser2003-06-143-14/+0
| | | | | | M PyShell.py R boolcheck.py M run.py
* Remove reference to IDLEforkKurt B. Kaiser2003-06-141-1/+1
|
* Update NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txtKurt B. Kaiser2003-06-142-121/+147
| | | | | M HISTORY.txt M NEWS.txt
* Remove comment about Unicode: SF #622831 was fixed loooong ago!Greg Ward2003-06-141-3/+0
|
* Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly.Brett Cannon2003-06-132-4/+17
|
* dummy_thread modified to have interrupt_main and to behave appropriately whenBrett Cannon2003-06-132-1/+25
| | | | | | | called. Added announcement in Misc/NEWS for thread.interrupt_main and mention of dummy_thread's change.
* Interrupt module has been folded into the thread moduleKurt B. Kaiser2003-06-132-54/+5
| | | | | | | Modified Files: run.py Removed Files: interruptmodule.c
* AddressList.__str__(): Get rid of useless, and broken method. ClosesBarry Warsaw2003-06-131-3/+0
| | | | SF #753617. Back port candidate (but low priority).
* SF patch 707900, fixing bug 702858, by Steven Taschuk.Guido van Rossum2003-06-132-2/+50
| | | | | Copying a new-style class that had a reference to itself didn't work. (The same thing worked fine for old-style classes.)
* Re-gegernated with the new gensuitemodule.Jack Jansen2003-06-1338-5315/+897
|