Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use find() instead of looping over the string in expanduser(). | Walter Dörwald | 2003-06-19 | 2 | -5/+9 |
| | | | | From SF patch #757058. | ||||
* | randrange(): Repaired my overly optimistic rewrite, and added comments | Tim Peters | 2003-06-19 | 1 | -1/+13 |
| | | | | explaining what's wrong with the two simpler variants. | ||||
* | randrange(): 2.3 can no longer raises OverflowError on an int() call, so | Tim Peters | 2003-06-19 | 1 | -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 Hettinger | 2003-06-18 | 1 | -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örwald | 2003-06-18 | 2 | -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, so | Jack Jansen | 2003-06-18 | 1 | -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 application | Jack Jansen | 2003-06-18 | 1 | -2/+2 |
| | | | | class. | ||||
* | SF bug #753451: classmethod abuse --> SystemError | Raymond Hettinger | 2003-06-18 | 1 | -0/+8 |
| | | | | | | Check the argument to classmethod for callability. Backport candidate. | ||||
* | Remove debug print on filename with NUL byte. | Greg Ward | 2003-06-18 | 1 | -1/+0 |
| | |||||
* | SF patch #755987 (Jim Ahlstrom): | Greg Ward | 2003-06-18 | 1 | -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 call | Brett Cannon | 2003-06-17 | 1 | -9/+9 |
| | | | | | | capitalize in AbstractHTTPHandler before inserting headers into HTTP instance. Closes bug #649742, again. | ||||
* | Use _PyEval_SliceIndex to handle list.index() calls with | Walter Dörwald | 2003-06-17 | 1 | -0/+9 |
| | | | | huge start and stop arguments. Add tests. | ||||
* | Fix docstring | Raymond Hettinger | 2003-06-17 | 1 | -1/+1 |
| | |||||
* | Fix sloppy index() implementation: | Guido van Rossum | 2003-06-17 | 1 | -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örwald | 2003-06-17 | 1 | -15/+16 |
| | | | | | | struct_passwd attributes and +=. From SF patch #755245. | ||||
* | SF Patch 569574 - enhancements to cgitb for plain text display | Skip Montanaro | 2003-06-17 | 1 | -14/+95 |
| | |||||
* | SF #754014: list.index() should accept optional start, end arguments | Raymond Hettinger | 2003-06-17 | 3 | -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 Hettinger | 2003-06-17 | 1 | -2/+0 |
| | |||||
* | Add test for bug #751998. | Neal Norwitz | 2003-06-16 | 1 | -0/+16 |
| | |||||
* | Complete rewrite of tests by Walter Dorwald as unittest tests. | Brett Cannon | 2003-06-16 | 1 | -45/+394 |
| | |||||
* | Add ':' after IDLE version, fix spacing on a couple of lines I missed | Kurt B. Kaiser | 2003-06-16 | 1 | -4/+5 |
| | |||||
* | Made DateTime's constructor accept a time.struct_time class, | Gustavo Niemeyer | 2003-06-16 | 1 | -1/+1 |
| | | | | besides plain tuples. | ||||
* | Whitespace normalization. | Tim Peters | 2003-06-15 | 7 | -12/+11 |
| | |||||
* | Return None to signal that the module the object was defined in was not ↵ | Brett Cannon | 2003-06-15 | 1 | -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öwis | 2003-06-15 | 2 | -4/+17 |
| | |||||
* | choose_boundary(): This no longer uses random, so stop importing it. | Tim Peters | 2003-06-15 | 1 | -1/+0 |
| | |||||
* | choose_boundary(): Incorporated a threadsafe incrementing counter, so that | Tim Peters | 2003-06-15 | 1 | -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 Rossum | 2003-06-15 | 1 | -1/+1 |
| | | | | This was reported in the IDLEFORK bug tracker as #754971. | ||||
* | Forwardport Patch from IDLEfork SF 615312 | Kurt B. Kaiser | 2003-06-15 | 1 | -0/+9 |
| | | | | Convert characters from the locale's encoding on output | ||||
* | Support testing in .../Lib/idlelib when calling <python PyShell.py> | Kurt B. Kaiser | 2003-06-15 | 1 | -0/+1 |
| | | | | by providing other modules access to globals set up in PyShell.main() | ||||
* | Move to Version 1.0b2 | Kurt B. Kaiser | 2003-06-15 | 1 | -1/+1 |
| | |||||
* | Update copyright dates. | Greg Ward | 2003-06-15 | 1 | -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öwis | 2003-06-14 | 1 | -1/+2 |
| | |||||
* | Properly deal with tuples in Open._fixresult. Fixes bug reported in | Martin v. Löwis | 2003-06-14 | 1 | -3/+16 |
| | | | | follow-up to #621891. | ||||
* | Forwardport Patch from IDLEfork SF 610329 | Kurt B. Kaiser | 2003-06-14 | 1 | -2/+6 |
| | | | | Remove deprecated tempfile usage | ||||
* | Always unwrap _socketobj in socket.ssl. Revert httplib.py 1.25. | Martin v. Löwis | 2003-06-14 | 2 | -14/+7 |
| | | | | Fixes #754447. | ||||
* | Support keyword and topics help in cli(). Fixes #715782. | Martin v. Löwis | 2003-06-14 | 1 | -4/+6 |
| | |||||
* | Treat empty dat/dir pairs as dumbdbm. Fixes #744687. | Martin v. Löwis | 2003-06-14 | 2 | -3/+12 |
| | |||||
* | Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2. | Martin v. Löwis | 2003-06-14 | 2 | -2/+4 |
| | |||||
* | Patch #754340: Fix typo in redirect_request. Will backport to 2.2. | Martin v. Löwis | 2003-06-14 | 1 | -1/+1 |
| | |||||
* | Remove the 2.2 compatibility module boolcheck.py and related code | Kurt B. Kaiser | 2003-06-14 | 3 | -14/+0 |
| | | | | | | M PyShell.py R boolcheck.py M run.py | ||||
* | Remove reference to IDLEfork | Kurt B. Kaiser | 2003-06-14 | 1 | -1/+1 |
| | |||||
* | Update NEWS.txt and move info on release 0.8.1 and earlier to HISTORY.txt | Kurt B. Kaiser | 2003-06-14 | 2 | -121/+147 |
| | | | | | M HISTORY.txt M NEWS.txt | ||||
* | Remove comment about Unicode: SF #622831 was fixed loooong ago! | Greg Ward | 2003-06-14 | 1 | -3/+0 |
| | |||||
* | Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly. | Brett Cannon | 2003-06-13 | 2 | -4/+17 |
| | |||||
* | dummy_thread modified to have interrupt_main and to behave appropriately when | Brett Cannon | 2003-06-13 | 2 | -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 module | Kurt B. Kaiser | 2003-06-13 | 2 | -54/+5 |
| | | | | | | | Modified Files: run.py Removed Files: interruptmodule.c | ||||
* | AddressList.__str__(): Get rid of useless, and broken method. Closes | Barry Warsaw | 2003-06-13 | 1 | -3/+0 |
| | | | | SF #753617. Back port candidate (but low priority). | ||||
* | SF patch 707900, fixing bug 702858, by Steven Taschuk. | Guido van Rossum | 2003-06-13 | 2 | -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 Jansen | 2003-06-13 | 38 | -5315/+897 |
| |