Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | AddrlistClass -> AddressList | Barry Warsaw | 2002-04-12 | 1 | -2/+2 |
| | |||||
* | I am mad. This test never worked! | Guido van Rossum | 2002-04-12 | 1 | -16/+14 |
| | | | | | | | | | | | | | | | | | | | | | | The test function's signature should be test(methodname, input, output, *args) but the output argument was omitted. This caused all tests to fail, because the expected output was passed as the initial argument to the method call. But because of the way the test works (it compares the results for a regular string to the results for a UserString instance with the same value, and it's OK if both raise the same exception) the test never failed! I've fixed this, and also cleaned up a few warts in the verbose output. Finally, I've made it possible to run the test stand-alone in verbose mode by passing -v as a command line argument. Now, the test will report failure related to zfill. That's not my fault, that's a legitimate problem: the string_tests.py file contains a test for the zfill() method (just added) but this method is not implemented. The responsible party will surely fix this soon now. | ||||
* | Add Raymond Hettinger's d.pop(). See SF patch 539949. | Guido van Rossum | 2002-04-12 | 1 | -0/+15 |
| | |||||
* | Clean up the "all" support for -u. | Fred Drake | 2002-04-11 | 1 | -1/+2 |
| | |||||
* | Guido sez to remove the deprecation warning for a year. | Fred Drake | 2002-04-11 | 1 | -5/+0 |
| | | | | The deprecation is now listed in PEP 4. | ||||
* | Since xmllib is deprecated now, suppress the DeprecationWarning its test | Tim Peters | 2002-04-11 | 1 | -1/+5 |
| | | | | module necessarily raises. | ||||
* | Ignore more deprecation warnings. | Tim Peters | 2002-04-11 | 1 | -4/+6 |
| | |||||
* | Stop sucking up xmllib -- it's deprecated. | Tim Peters | 2002-04-11 | 1 | -1/+0 |
| | |||||
* | I don't expect test_email_codecs to run on Windows. | Tim Peters | 2002-04-11 | 1 | -0/+1 |
| | |||||
* | Added the resource name "all" to enable all of the optional resource uses. | Fred Drake | 2002-04-11 | 1 | -2/+11 |
| | | | | This is nice for use with "make TESTOPTS='-u all' test". | ||||
* | Improve coverage of Objects/weakrefobject.c. | Fred Drake | 2002-04-11 | 1 | -0/+16 |
| | |||||
* | Add deprecation warning to 'pre' module | Andrew M. Kuchling | 2002-04-10 | 1 | -0/+6 |
| | |||||
* | Remove support for importing 'pre' module | Andrew M. Kuchling | 2002-04-10 | 1 | -14/+2 |
| | |||||
* | Sync'ing with standalone email package 2.0.1. This adds support for | Barry Warsaw | 2002-04-10 | 20 | -144/+2210 |
| | | | | | | | | | non-us-ascii character sets in headers and bodies. Some API changes (with DeprecationWarnings for the old APIs). Better RFC-compliant implementations of base64 and quoted-printable. Updated test cases. Documentation updates to follow (after I finish writing them ;). | ||||
* | Added test case for UTF-8 encoding bug #541828. | Marc-André Lemburg | 2002-04-10 | 1 | -0/+16 |
| | |||||
* | Use random instead of whrandom | Andrew M. Kuchling | 2002-04-10 | 1 | -3/+3 |
| | |||||
* | Add deprecation warnings for modules as documented | Neal Norwitz | 2002-04-10 | 2 | -0/+9 |
| | |||||
* | Add a deprecation warning to reflect the documented deprecation of the | Fred Drake | 2002-04-10 | 1 | -0/+5 |
| | | | | whrandom module. (The deprecation was effective in Python 2.1.) | ||||
* | Update docstring to reflect code change to bool | Neal Norwitz | 2002-04-09 | 1 | -1/+1 |
| | |||||
* | Remove unconditional debugging prints. | Thomas Heller | 2002-04-09 | 1 | -3/+0 |
| | |||||
* | Set the warn_dir option to 0 before running the install command. | Thomas Heller | 2002-04-09 | 2 | -0/+2 |
| | | | | | | | This suppresses bogus warnings about modules installed into a directory not in sys.path. Bugfix candidate. | ||||
* | Patch #539392: Invoke setlocale, try opening the file in demo mode. | Martin v. Löwis | 2002-04-08 | 1 | -2/+18 |
| | |||||
* | Move knee.py from Lib/ to Demo/imputil/. Fixes #515745. | Martin v. Löwis | 2002-04-07 | 1 | -126/+0 |
| | |||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 18 | -94/+96 |
| | |||||
* | - Changed new-style class instantiation so that when C's __new__ | Guido van Rossum | 2002-04-06 | 1 | -0/+22 |
| | | | | | method returns something that's not a C instance, its __init__ is not called. [SF bug #537450] | ||||
* | Add tests for binary pickles. | Guido van Rossum | 2002-04-05 | 1 | -0/+12 |
| | |||||
* | Implement an idea by Paul Rubin: | Guido van Rossum | 2002-04-05 | 2 | -14/+18 |
| | | | | | | | | Change pickling format for bools to use a backwards compatible encoding. This means you can pickle True or False on Python 2.3 and Python 2.2 or before will read it back as 1 or 0. The code used for pickling bools before would create pickles that could not be read in previous Python versions. | ||||
* | 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(). |