Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix for bug #222395: UTF-16 et al. don't handle .readline(). | Marc-André Lemburg | 2002-04-05 | 3 | -2/+9 |
| | | | | They now raise an NotImplementedError to hint to the truth ;-) | ||||
* | Revert 0/1 -> False/True change; I didn't intend to muck w/ distutils. | Tim Peters | 2002-04-04 | 1 | -2/+2 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 26 | -93/+88 |
| | |||||
* | Replace use of apply() with extended call syntax. | Jeremy Hylton | 2002-04-04 | 1 | -2/+3 |
| | |||||
* | Support manual proxy configuration for simple urlopen() operations. | Fred Drake | 2002-04-04 | 1 | -5/+10 |
| | | | | | | This change is similar to the supplied patch, but does not save the opener when a proxy configuration is specified. This closes SF patch #523415. | ||||
* | Not sure why the regression test missed this, but the PyXML tests caught it. | Fred Drake | 2002-04-04 | 1 | -1/+1 |
| | | | | We should get attributes from the right object. | ||||
* | Avoid creating circular references between the ExpatParser and the | Fred Drake | 2002-04-04 | 1 | -1/+38 |
| | | | | | | | ContentHandler. While GC will eventually clean up, it can take longer than normal for applications that create a lot of strings (or other immutables) rather without creating many containers. This closes SF bug #535474. | ||||
* | Removed old Digital Creations copyright/license notices (with | Guido van Rossum | 2002-04-04 | 1 | -1/+1 |
| | | | | | permission from Paul Everitt). Also removed a few other references to Digital Creations and changed the remaining ones to Zope Corporation. | ||||
* | Add test case for SF bug 534347. | Guido van Rossum | 2002-04-04 | 1 | -0/+8 |
| | |||||
* | Oops. Here are the new files. My apologies. | Guido van Rossum | 2002-04-03 | 1 | -0/+228 |
| | |||||
* | Add the 'bool' type and its values 'False' and 'True', as described in | Guido van Rossum | 2002-04-03 | 12 | -186/+204 |
| | | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates. | ||||
* | Fix bugs: | Mark Hammond | 2002-04-03 | 2 | -0/+39 |
| | | | | | | | | | | | | | | | 457466: popenx() argument mangling hangs python 226766: popen('python -c"...."') tends to hang Fixes argument quoting in w9xpopen.exe for Windows 9x. w9xpopen.exe also never attempts to display a MessageBox when not executed interactively. Added test_popen() test. This test currently just executes "python -c ..." as a child process, and checks that the expected arguments were all recieved correctly by the child process. This test succeeds for me on Win9x, win2k and Linux, and I hope it does for other popen supported platforms too :) | ||||
* | SF patch 537536 by Phillip J. Eby, fix for SF bug 535444, super() | Guido van Rossum | 2002-04-02 | 1 | -0/+8 |
| | | | | | | broken w/ classmethods. Bugfix candidate. | ||||
* | Fix for a bug in the fix for SF bug 503031. This time the OP verified | Guido van Rossum | 2002-04-02 | 1 | -2/+2 |
| | | | | | | that it works. Bugfix candidate (this and the previous checkin, obviously). | ||||
* | Add an experimental mechanism to support extending the pprint formatting. | Fred Drake | 2002-04-02 | 2 | -9/+34 |
| | | | | Partly responds to SF bug #505152. | ||||
* | Make test_commands work on more systems. This removes much of the dependency | Fred Drake | 2002-04-01 | 1 | -4/+5 |
| | | | | | | | on how a system is configured. This closes SF bug #497160 (which has the patch) and #460613. Bugfix candidate. | ||||
* | Format strings (tuples,) appropriately | Neal Norwitz | 2002-04-01 | 2 | -3/+3 |
| | |||||
* | Use attributes appropriately | Neal Norwitz | 2002-04-01 | 2 | -2/+2 |
| | |||||
* | There is no TestError, use TestFailed appropriately | Neal Norwitz | 2002-04-01 | 3 | -10/+10 |
| | |||||
* | We expect to skip the new test_mpz on Windows. | Tim Peters | 2002-04-01 | 1 | -1/+5 |
| | |||||
* | Get rid of all METH_OLDARGS & PyArg_Parse. | Neal Norwitz | 2002-04-01 | 1 | -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 Peters | 2002-04-01 | 6 | -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 Norwitz | 2002-04-01 | 1 | -0/+15 |
| | | | | Add test for file.readinto(). | ||||
* | Hopeful fix for SF bug 503031: urllib.py: open_http() host problem. | Guido van Rossum | 2002-03-31 | 1 | -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 classes | Neal Norwitz | 2002-03-31 | 2 | -2/+4 |
| | |||||
* | Derive exception classes from Exception | Neal Norwitz | 2002-03-31 | 2 | -2/+2 |
| | |||||
* | Stop using string exceptions | Neal Norwitz | 2002-03-31 | 2 | -2/+2 |
| | |||||
* | [Patch #536769] Add -Xcompiler flag for adding arguments and switches for | Andrew M. Kuchling | 2002-03-29 | 1 | -0/+2 |
| | | | | the compiler | ||||
* | As part of fixing bug #536241, add a test case for string.zfill() with Unicode | Andrew M. Kuchling | 2002-03-29 | 1 | -1/+4 |
| | |||||
* | [Bug #536241] string.zfill() produces mangled output for a Unicode string. | Andrew M. Kuchling | 2002-03-29 | 1 | -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.zfill | Andrew M. Kuchling | 2002-03-29 | 1 | -0/+3 |
| | |||||
* | 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 |
| |