Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_bug_1333982(): This one must fail under -O. | Tim Peters | 2005-12-25 | 1 | -1/+4 |
| | | | | All the --all test pass using -O on WinXP now. | ||||
* | SF patch #1157027, cookielib mis-handles RFC 2109 cookies in Netscape mode | Neal Norwitz | 2005-12-23 | 1 | -0/+33 |
| | |||||
* | Fix SF #1117398, cookielib LWPCookieJar and MozillaCookieJar exceptions | Neal Norwitz | 2005-12-23 | 1 | -0/+25 |
| | | | | | | cookielib.LWPCookieJar and .MozillaCookieJar are documented to raise cookielib.LoadError on attempt to load an invalid cookies file, but raise IOError instead. Compromise by having LoadError subclass IOError. | ||||
* | Fix Armin's bug 1333982. He found it, he didn't created it :-) | Neal Norwitz | 2005-12-18 | 1 | -0/+40 |
| | | | | | | | | | | This code generated a C assertion: assert 1, ([s for s in x] + [s for s in x]) pass assert was completely broken, it needed to use the proper block. compiler_use_block() is now no longer used, so remove it. | ||||
* | Fix Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter. | Neal Norwitz | 2005-12-18 | 2 | -0/+9 |
| | | | | Needs backport. | ||||
* | Get float() to be more portable across platforms. Disable hex strings. | Neal Norwitz | 2005-12-18 | 1 | -2/+4 |
| | |||||
* | SF Patch #1365916, mmap fails on AMD64 | Neal Norwitz | 2005-12-18 | 1 | -0/+16 |
| | | | | Fix some 64-bit issues due to mismatch format characters w/actual data types | ||||
* | SF patch #1355913, PEP 341 - Unification of try/except and try/finally | Neal Norwitz | 2005-12-17 | 1 | -0/+180 |
| | | | | Modified since ast-arenas was implemented. | ||||
* | Bug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\' | Hye-Shik Chang | 2005-12-17 | 1 | -10/+14 |
| | | | | just like string codecs. | ||||
* | added encoding tests to ElementTree/cElementTree tests | Fredrik Lundh | 2005-12-16 | 2 | -15/+31 |
| | |||||
* | Add two tests for the script interface. | Walter Dörwald | 2005-12-15 | 1 | -5/+19 |
| | |||||
* | added cElementTree tests | Fredrik Lundh | 2005-12-15 | 2 | -0/+204 |
| | |||||
* | Revert r41662 and the part of 41552 that originally caused the problem | Neal Norwitz | 2005-12-15 | 1 | -7/+0 |
| | | | | | (calling ftell(stdin) doesn't seem defined). So we won't test errors from ftell unless we can do it portably. | ||||
* | If quopri uses the implementations from binascii do the tests a second time | Walter Dörwald | 2005-12-14 | 1 | -10/+35 |
| | | | | | using the Python implementations of the functions. This imcreases code coverage and makes sure that both implementations do the same thing. | ||||
* | Subversion settings: | Armin Rigo | 2005-12-14 | 1 | -339/+339 |
| | | | | | | | | | svn:ignore *.pyc *.pyo svn:eol-style native The .py files appear to have been checked in with Windows or inconsistent line endings. The current check-in disrupts the 'svn blame', but hopefully it is irrelevant for freshly imported code. | ||||
* | move the xml package implementation to xmlcore, and adjust the tests to | Fred Drake | 2005-12-14 | 3 | -68/+70 |
| | | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package | ||||
* | Fix test not to fail on FreeBSD. Directories work also as data | Hye-Shik Chang | 2005-12-13 | 1 | -0/+4 |
| | | | | files on the platform. | ||||
* | skip NIS entries, empty entries, etc | Fredrik Lundh | 2005-12-12 | 2 | -2/+4 |
| | |||||
* | skip nis entries, if not filtered out by getpwall itself | Fredrik Lundh | 2005-12-12 | 1 | -0/+2 |
| | |||||
* | added xml.etree test (enough of the ElementTree selftest to | Fredrik Lundh | 2005-12-12 | 1 | -0/+339 |
| | | | | make sure that all included components work) | ||||
* | r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100 | Fredrik Lundh | 2005-12-12 | 1 | -0/+1 |
| | | | | assorted xml.etree tweaks | ||||
* | SF #1377897, Bus error in ast | Neal Norwitz | 2005-12-11 | 1 | -0/+4 |
| | | | | | | If a line had multiple semi-colons and ended with a semi-colon, we would loop too many times and access a NULL node. Exit the loop early if there are no more children. | ||||
* | Patch #1276356: Implement new resource "urlfetch" for regrtest. | Hye-Shik Chang | 2005-12-10 | 9 | -74/+26 |
| | | | | | This enables even impatient people to run tests that require remote files such as test_normalization and test_codecmaps_*. | ||||
* | mwh spotted a copied error message, make it unique (and correct) | Neal Norwitz | 2005-12-05 | 1 | -1/+1 |
| | |||||
* | Fix SF #1373161, r41552 broke test_file on OS X | Neal Norwitz | 2005-12-05 | 1 | -1/+1 |
| | | | | | You apparently can seek(0) on sys.stdin on OS X. But you can't go backwards, so seek(-1). | ||||
* | [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit ↵ | Andrew M. Kuchling | 2005-12-04 | 1 | -0/+10 |
| | | | | string, not a Unicode string | ||||
* | Test another error case in PyFloat_FromString(). | Walter Dörwald | 2005-11-29 | 1 | -0/+2 |
| | |||||
* | Improve test coverage. Hope the test_file changes work the same on windows. | Neal Norwitz | 2005-11-27 | 5 | -0/+75 |
| | |||||
* | SF patch #1364545: test_cmd_line.py relied on english error messages when | Walter Dörwald | 2005-11-25 | 1 | -13/+12 |
| | | | | | invoking the Python interpreter (which didn't work on non-english Windows versions). Check return codes instead. | ||||
* | Test is still disabled, but access through public module | Neal Norwitz | 2005-11-25 | 1 | -2/+2 |
| | |||||
* | Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is ↵ | Neal Norwitz | 2005-11-25 | 1 | -2/+4 |
| | | | | sometimes stable, at least in isolation) | ||||
* | Fix typo in comment. | Neal Norwitz | 2005-11-24 | 1 | -1/+2 |
| | | | | | | Delete globals which contain variable information at the end of the test. This makes the test stable (no reported leaks) when running regrtest -R to find reference leaks. | ||||
* | Move registration of the codec search function to the module scope | Neal Norwitz | 2005-11-24 | 1 | -17/+18 |
| | | | | | | so it is only executed once. Otherwise the same search function is repeated added to the codec search path when regrtest is run with -R and leaks are reported. | ||||
* | move test into a unittest.TestCase, no functional changes | Neal Norwitz | 2005-11-24 | 1 | -74/+74 |
| | |||||
* | [Patch #1094164] replaceChild(x,x) ends up removing x of the tree. Add fix ↵ | Andrew M. Kuchling | 2005-11-22 | 1 | -0/+11 |
| | | | | from Felix Rabe and a test case | ||||
* | [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and ↵ | Andrew M. Kuchling | 2005-11-22 | 1 | -0/+2 |
| | | | | bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. | ||||
* | improve test coverage in Python/pystrtod.c and Python/mystrtoul.c. | Neal Norwitz | 2005-11-22 | 1 | -0/+29 |
| | |||||
* | Add a test for uu.encode() that passed filenames as | Walter Dörwald | 2005-11-21 | 1 | -0/+8 |
| | | | | in_file and out_file. | ||||
* | Add a rudimentary test for the platform module that at least calls each | Walter Dörwald | 2005-11-21 | 1 | -0/+74 |
| | | | | documented function once. | ||||
* | Increase code coverage in Python/structmember.c from 33% to 40% | Walter Dörwald | 2005-11-18 | 1 | -0/+8 |
| | | | | (by forcing a call to the listmember() function). | ||||
* | Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c. | Walter Dörwald | 2005-11-17 | 2 | -2/+150 |
| | |||||
* | Add tests for various error cases and for readbuffer_encode() and | Walter Dörwald | 2005-11-17 | 2 | -2/+72 |
| | | | | | charbuffer_encode(). This increases code coverage in Modules/_codecsmodule.c from 83% to 95%. | ||||
* | Added proper reflection on instances of <type 'method-wrapper'>, e.g. | Armin Rigo | 2005-11-07 | 1 | -0/+13 |
| | | | | | | | | '[].__add__', to match what the other internal descriptor types provide: '__objclass__' attribute, '__self__' member, and reasonable repr and comparison. Added a test. | ||||
* | similar to SF bug 847019: a quick check in the time() constructor, which | Armin Rigo | 2005-11-07 | 1 | -0/+7 |
| | | | | | | accepts strings only for unpickling reasons. This check prevents the honest mistake of passing a string like '2:59.0' to time() and getting an insane object. | ||||
* | Oops, forgot to add the output file to 41388. | Neal Norwitz | 2005-11-03 | 1 | -0/+2 |
| | |||||
* | Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint | Neal Norwitz | 2005-11-03 | 1 | -0/+20 |
| | | | | | | Need to check return result of PyInt_AsLong() Will backport. | ||||
* | Change time.strptime() to raise ValueError whenever there is an error in the | Brett Cannon | 2005-11-02 | 1 | -2/+12 |
| | | | | | | | format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337. | ||||
* | Fix SF #1345263, colorsys tests, bug in frange | Neal Norwitz | 2005-11-02 | 1 | -1/+1 |
| | | | | | | Fix a typo that caused step to be ignored. Will backport. | ||||
* | test_directories(): This test had no chance of passing on | Tim Peters | 2005-10-30 | 1 | -2/+14 |
| | | | | | Windows. Hacked it to pass, but not sure it's worth the bother. | ||||
* | fix typos, mostly in comments | Fred Drake | 2005-10-28 | 2 | -2/+2 |
| |