Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix getcomments() so that it doesn't fail with TypeErrors. | Jeremy Hylton | 2002-03-28 | 1 | -3/+8 |
| | | | | | | | | | It appears that getcomments() can get called for classes defined in C. Since these don't have source code, it can't do anything useful. A function buried many levels deep was raising a TypeError that was not caught. Who knows why this broke... | ||||
* | test_trashcan: reword obscure code. | Tim Peters | 2002-03-28 | 1 | -1/+1 |
| | | | | Bugfix candidate. | ||||
* | New test_traschcan() test in test_gc, which reliably provokes segfaults | Tim Peters | 2002-03-28 | 1 | -0/+29 |
| | | | | | | under 2.0, 2.1 and 2.2. Bugfix candidate. | ||||
* | Reindent. | Martin v. Löwis | 2002-03-28 | 1 | -551/+550 |
| | |||||
* | Add a simple test of the METH_CLASS and METH_STATIC flags for type methods. | Fred Drake | 2002-03-28 | 1 | -0/+30 |
| | |||||
* | Patch #536117: Typo in turtle.py. | Martin v. Löwis | 2002-03-28 | 1 | -1/+1 |
| | | | | 2.2.2 candidate. | ||||
* | Destroy and unlink deleted NoteBook panes. Fixes #516703. | Martin v. Löwis | 2002-03-27 | 1 | -1/+2 |
| | | | | 2.2.2 candidate. | ||||
* | Ignore widgets with unknown names in winfo_children. Fixes #518283. | Martin v. Löwis | 2002-03-27 | 1 | -3/+11 |
| | | | | 2.2.2 candidate. | ||||
* | further work on new config system; | Steven M. Gava | 2002-03-27 | 3 | -8/+79 |
| | | | | recent files menu | ||||
* | further work on new config system; | Steven M. Gava | 2002-03-27 | 5 | -26/+56 |
| | | | | user defined help items | ||||
* | _finally_ tracked down and eliminated a major problem | Steven M. Gava | 2002-03-27 | 1 | -4/+7 |
| | | | | | in PyShell.py that was causing extreme headaches in working on EditorWindow.py | ||||
* | Implement iterator protocol. | Neil Schemenauer | 2002-03-26 | 1 | -4/+13 |
| | |||||
* | __init__(): We'll try to be more RFC 2821 compliant by providing for a | Barry Warsaw | 2002-03-26 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | better local_hostname default. According to RFC 2821, it is recommended that the fqdn hostname be provided in the EHLO/HELO verb and if that can't be calculated, to use a domain literal. The rationale for this change is documented in SF patch #497736 which also had privacy concerns about leaking the fqdn in the EHLO/HELO. We decided this wasn't a big concern because no user data is leaked, and the IP will always be leaked. The local_hostname argument is provided for those clients that are super paranoid. Using localhost.localdomain may break some strict smtp servers so we decided against using it as the default. | ||||
* | time and socket were already imported in the module, no need to re-import | Neal Norwitz | 2002-03-26 | 1 | -3/+1 |
| | |||||
* | re was already imported in the module, no need to re-import | Neal Norwitz | 2002-03-26 | 1 | -1/+0 |
| | |||||
* | os was already imported in the module, no need to re-import | Neal Norwitz | 2002-03-26 | 1 | -1/+0 |
| | |||||
* | Cleanup x so it is not left in module | Neal Norwitz | 2002-03-26 | 1 | -0/+1 |
| | |||||
* | Fix for SF 502085. | Guido van Rossum | 2002-03-26 | 1 | -1/+5 |
| | | | | | | Don't die when issubclass(t, TypeType) fails. Bugfix candidate (but I think it's too late for 2.2.1). | ||||
* | make default banner match what the real interpreter displays | Skip Montanaro | 2002-03-25 | 1 | -1/+1 |
| | |||||
* | remove unqualified excepts - catch ImportError when trying to import | Skip Montanaro | 2002-03-25 | 1 | -7/+2 |
| | | | | | | readline and get rid of string exception fallback when showing syntax errors. see bug 411881 | ||||
* | eliminate unqualified except when checking for presence of LC_MESSAGES | Skip Montanaro | 2002-03-25 | 1 | -1/+1 |
| | | | | see bug 411881 | ||||
* | tighten up unqualified except in currentframe() | Skip Montanaro | 2002-03-25 | 1 | -2/+2 |
| | | | | see bug 411881 | ||||
* | Add tests for the iterkeys, itervalues and iteritems | Walter Dörwald | 2002-03-25 | 1 | -0/+29 |
| | | | | methods in dict-proxy objects. | ||||
* | SMTP.__init__(): Fixed minor typo in docstring. | Barry Warsaw | 2002-03-25 | 1 | -1/+1 |
| | |||||
* | Quote href properly. | Neil Schemenauer | 2002-03-24 | 1 | -1/+2 |
| | |||||
* | Remove unnecessary \b. It was causing the RE to miss the tailing | Neil Schemenauer | 2002-03-24 | 1 | -1/+1 |
| | | | | slash on strings like "http://www.python.org/ is good". | ||||
* | If possible, set FD_CLOEXEC flag on file descriptors opened using | Neil Schemenauer | 2002-03-24 | 1 | -0/+12 |
| | | | | TemporaryFile. This flag causes the fd to be closed on exec(). | ||||
* | tighten up except - os.close only raises OSError | Skip Montanaro | 2002-03-24 | 1 | -1/+1 |
| | | | | see bug 411881 | ||||
* | SF bug 480215: softspace confused in nested print | Tim Peters | 2002-03-24 | 1 | -0/+14 |
| | | | | | | | | | | This fixes the symptom, but PRINT_ITEM has no way to know what (if anything) PyFile_WriteObject() writes unless the object being printed is a string. When the object isn't a string, this fix retains the guess that softspace should be set after PyFile_WriteObject(). We might want to say that it's the job of filelike-object write methods to leave the file's softspace in the correct state. That would probably be better -- but everyone relies on PRINT_ITEM to guess for them now. | ||||
* | oops - export InvalidURL in __all__ | Skip Montanaro | 2002-03-24 | 1 | -1/+1 |
| | |||||
* | add test for InvalidURL | Skip Montanaro | 2002-03-24 | 1 | -0/+2 |
| | |||||
* | add test of InvalidURL | Skip Montanaro | 2002-03-24 | 1 | -0/+10 |
| | |||||
* | add InvalidURL exception - raised if port is given but empty or non-numeric | Skip Montanaro | 2002-03-24 | 1 | -1/+7 |
| | |||||
* | tighten up except - in this context, AttributeError is the only exception | Skip Montanaro | 2002-03-24 | 1 | -2/+2 |
| | | | | that can be raised - do_help won't be called if arg is not a string | ||||
* | Add local_hostname option to SMTP.__init__. If supplied, it is used | Neil Schemenauer | 2002-03-24 | 1 | -10/+10 |
| | | | | as the fully qualified local hostname. | ||||
* | Try /var/mail before trying /usr/mail. Most new systems use /var. | Neil Schemenauer | 2002-03-24 | 1 | -1/+4 |
| | | | | | This in inside the test so it really doesn't matter much. Closes SF patch 497097. | ||||
* | Add more tests for built-in types. Add tests for buffer objects. | Neil Schemenauer | 2002-03-24 | 2 | -0/+119 |
| | | | | Closes SF patch 494871. | ||||
* | Use linecache for loading source code. Closes SF patch 490374. | Neil Schemenauer | 2002-03-23 | 1 | -7/+5 |
| | |||||
* | Add namespace selection for rlcompleter. Closes SF patch 490026. | Neil Schemenauer | 2002-03-23 | 1 | -12/+40 |
| | |||||
* | Flush stdout before reading next command. Closes SF bug 526357. | Neil Schemenauer | 2002-03-23 | 1 | -0/+1 |
| | |||||
* | Only AttributeError can be raised in this situation - on systems without | Skip Montanaro | 2002-03-23 | 1 | -2/+2 |
| | | | | | getuid or getpid. posix_getuid & posix_getpid never raise exceptions when called with no args. | ||||
* | import statements only raise ImportError, right? | Skip Montanaro | 2002-03-23 | 1 | -1/+1 |
| | |||||
* | tighten up except - only ValueError can be raised in this situation | Skip Montanaro | 2002-03-23 | 1 | -1/+1 |
| | |||||
* | tighten up except - int() only raises ValueError | Skip Montanaro | 2002-03-23 | 1 | -1/+1 |
| | |||||
* | added RFC 2396 tests from Aaron Swartz included in bug # 450225. | Skip Montanaro | 2002-03-23 | 1 | -74/+116 |
| | | | | converted to use unittest | ||||
* | no longer needed - converted test_urlparse.py to use unittest | Skip Montanaro | 2002-03-23 | 1 | -46/+0 |
| | |||||
* | SF bug 533234: tm_isdst > 1 Passed to strftime. | Tim Peters | 2002-03-23 | 2 | -18/+66 |
| | | | | | | | | | | | One more time on this turkey, but duller instead of cleverer. Curious: The docs say __getslice__ has been deprecated since 2.0, but list.__getitem__ still doesn't work if you pass it a slice. This makes it a lot clearer to emulate a list by *being* a list <wink>. Bugfix candidate. Michael, just pile this patch on top of the others that went by -- no need to try to pick these apart. | ||||
* | better solution for bug #533234 courtesy of Tim. | Skip Montanaro | 2002-03-22 | 1 | -1/+2 |
| | | | | Michael: use this version as the bugfix candidate... | ||||
* | guarantee that the dst flag of synthetic "time" tuples passed to strftime | Skip Montanaro | 2002-03-22 | 1 | -1/+1 |
| | | | | is always 0. This closes bug #533234. | ||||
* | use stat attributes instead of tuple entries | Walter Dörwald | 2002-03-22 | 1 | -3/+2 |
| | | | | and remove the unneccessary "import stat" statement. |