summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Format strings (tuples,) appropriatelyNeal Norwitz2002-04-012-3/+3
|
* Use attributes appropriatelyNeal Norwitz2002-04-012-2/+2
|
* There is no TestError, use TestFailed appropriatelyNeal Norwitz2002-04-013-10/+10
|
* We expect to skip the new test_mpz on Windows.Tim Peters2002-04-011-1/+5
|
* Get rid of all METH_OLDARGS & PyArg_Parse.Neal Norwitz2002-04-011-0/+90
| | | | | Fix floating point exception if mpz.powm(10, 1, 0) (modulus == 0). Add a test.
* Remove some now-obsolete generator future statements.Tim Peters2002-04-016-19/+5
| | | | | I left the email pkg alone; I'm not sure how Barry would like to handle that.
* Convert file.readinto() to stop using METH_OLDARGS & PyArg_Parse.Neal Norwitz2002-04-011-0/+15
| | | | Add test for file.readinto().
* Hopeful fix for SF bug 503031: urllib.py: open_http() host problem.Guido van Rossum2002-03-311-1/+5
| | | | | | | I really can't test this, but from reading the discussion in that bug report, it's likely that this works. It may also close a whole bunch of other bug reports related to urllib and proxies on Windows, but who knows.
* Use docstrings for exception classesNeal Norwitz2002-03-312-2/+4
|
* Derive exception classes from ExceptionNeal Norwitz2002-03-312-2/+2
|
* Stop using string exceptionsNeal Norwitz2002-03-312-2/+2
|
* [Patch #536769] Add -Xcompiler flag for adding arguments and switches forAndrew M. Kuchling2002-03-291-0/+2
| | | | the compiler
* As part of fixing bug #536241, add a test case for string.zfill() with UnicodeAndrew M. Kuchling2002-03-291-1/+4
|
* [Bug #536241] string.zfill() produces mangled output for a Unicode string.Andrew M. Kuchling2002-03-291-8/+8
| | | | | | | | | | | | | | | Walter Doerwald provided a patch, which I've modified in two ways: 1) (Uncontroversial) Removed code to make module work in earlier versions of Python without the unicode() built-in 2) (Poss. controversial) Instead of making string.zfill take the repr() of non-string objects, take the str(). Should a warning be added to this branch of the code so that the automatic str() can be deprecated? 2.2.2 bugfix candidate, assuming the repr()->str() change is deemed OK.
* Add two tests for string.zfillAndrew M. Kuchling2002-03-291-0/+3
|
* Fix getcomments() so that it doesn't fail with TypeErrors.Jeremy Hylton2002-03-281-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 Peters2002-03-281-1/+1
| | | | Bugfix candidate.
* New test_traschcan() test in test_gc, which reliably provokes segfaultsTim Peters2002-03-281-0/+29
| | | | | | under 2.0, 2.1 and 2.2. Bugfix candidate.
* Reindent.Martin v. Löwis2002-03-281-551/+550
|
* Add a simple test of the METH_CLASS and METH_STATIC flags for type methods.Fred Drake2002-03-281-0/+30
|
* Patch #536117: Typo in turtle.py.Martin v. Löwis2002-03-281-1/+1
| | | | 2.2.2 candidate.
* Destroy and unlink deleted NoteBook panes. Fixes #516703.Martin v. Löwis2002-03-271-1/+2
| | | | 2.2.2 candidate.
* Ignore widgets with unknown names in winfo_children. Fixes #518283.Martin v. Löwis2002-03-271-3/+11
| | | | 2.2.2 candidate.
* further work on new config system;Steven M. Gava2002-03-273-8/+79
| | | | recent files menu
* further work on new config system;Steven M. Gava2002-03-275-26/+56
| | | | user defined help items
* _finally_ tracked down and eliminated a major problemSteven M. Gava2002-03-271-4/+7
| | | | | in PyShell.py that was causing extreme headaches in working on EditorWindow.py
* Implement iterator protocol.Neil Schemenauer2002-03-261-4/+13
|
* __init__(): We'll try to be more RFC 2821 compliant by providing for aBarry Warsaw2002-03-261-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-importNeal Norwitz2002-03-261-3/+1
|
* re was already imported in the module, no need to re-importNeal Norwitz2002-03-261-1/+0
|
* os was already imported in the module, no need to re-importNeal Norwitz2002-03-261-1/+0
|
* Cleanup x so it is not left in moduleNeal Norwitz2002-03-261-0/+1
|
* Fix for SF 502085.Guido van Rossum2002-03-261-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 displaysSkip Montanaro2002-03-251-1/+1
|
* remove unqualified excepts - catch ImportError when trying to importSkip Montanaro2002-03-251-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_MESSAGESSkip Montanaro2002-03-251-1/+1
| | | | see bug 411881
* tighten up unqualified except in currentframe()Skip Montanaro2002-03-251-2/+2
| | | | see bug 411881
* Add tests for the iterkeys, itervalues and iteritemsWalter Dörwald2002-03-251-0/+29
| | | | methods in dict-proxy objects.
* SMTP.__init__(): Fixed minor typo in docstring.Barry Warsaw2002-03-251-1/+1
|
* Quote href properly.Neil Schemenauer2002-03-241-1/+2
|
* Remove unnecessary \b. It was causing the RE to miss the tailingNeil Schemenauer2002-03-241-1/+1
| | | | slash on strings like "http://www.python.org/ is good".
* If possible, set FD_CLOEXEC flag on file descriptors opened usingNeil Schemenauer2002-03-241-0/+12
| | | | TemporaryFile. This flag causes the fd to be closed on exec().
* tighten up except - os.close only raises OSErrorSkip Montanaro2002-03-241-1/+1
| | | | see bug 411881
* SF bug 480215: softspace confused in nested printTim Peters2002-03-241-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 Montanaro2002-03-241-1/+1
|
* add test for InvalidURLSkip Montanaro2002-03-241-0/+2
|
* add test of InvalidURLSkip Montanaro2002-03-241-0/+10
|
* add InvalidURL exception - raised if port is given but empty or non-numericSkip Montanaro2002-03-241-1/+7
|
* tighten up except - in this context, AttributeError is the only exceptionSkip Montanaro2002-03-241-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 usedNeil Schemenauer2002-03-241-10/+10
| | | | as the fully qualified local hostname.