Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a delimiter detection problem in sniffer. Sniffing "a|b|c\r\n" was | Skip Montanaro | 2005-12-30 | 2 | -3/+17 |
| | | | | | | | | returning 'a' as the delimiter. It now returns '|', but not because I understood better what the code was supposed to do. Would someone that understands the idea behind _guess_delimiter() (see its doc string) look to see if my fallback choice is better than before or if it's just serendipity that I picked the proper delimiter? | ||||
* | SF#1391872 | Fredrik Lundh | 2005-12-29 | 1 | -0/+12 |
| | | | | | Floating point literals don't work in non-US locale in 2.5. Patch and new locale tests by Hye-Shik Chang. | ||||
* | SF bug #1153075: "PyXxx_Check(x) trusts x->ob_type->tp_mro". | Armin Rigo | 2005-12-29 | 1 | -0/+31 |
| | | | | | A patch by mwh to check that user-defined mro's are reasonable enough. | ||||
* | adding in-place operators to the operator module. | Armin Rigo | 2005-12-29 | 1 | -0/+47 |
| | |||||
* | SF patch #1390657: | Armin Rigo | 2005-12-29 | 2 | -0/+112 |
| | | | | | | | | | | | | | | | | | * set sq_repeat and sq_concat to NULL for user-defined new-style classes, as a way to fix a number of related problems. See test_descr.notimplemented()). One of these problems was fixed in r25556 and r25557 but many more existed; this is a general fix and thus reverts r25556-r25557. * to avoid having PySequence_Repeat()/PySequence_Concat() failing on user-defined classes, they now fall back to nb_add/nb_mul if sq_concat/sq_repeat are not defined and the arguments appear to be sequences. * added tests. Backport candidate. | ||||
* | Fix for problem with Sniffer class. If your delimiter is whitespace and the | Skip Montanaro | 2005-12-28 | 2 | -2/+5 |
| | | | | | | last field was empty it would strip the delimiter and incorrectly guess that "" was the delimiter. Reported in c.l.py by Laurent Laporte. Will backport. | ||||
* | Bug #649974: make docstrings for url2pathname consistent | Georg Brandl | 2005-12-26 | 4 | -21/+25 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-12-25 | 75 | -33209/+33162 |
| | |||||
* | 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 | 2 | -5/+55 |
| | |||||
* | Fix SF #1117398, cookielib LWPCookieJar and MozillaCookieJar exceptions | Neal Norwitz | 2005-12-23 | 4 | -10/+36 |
| | | | | | | 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 |
| | |||||
* | Fix _sys_version() so it works with the new buildno, not sure if it is ↵ | Neal Norwitz | 2005-12-18 | 1 | -2/+1 |
| | | | | correct. test_platform passes | ||||
* | 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 |
| | |||||
* | Patch #1360443: Make SimpleHTTPServer display unencoded directory names. | Georg Brandl | 2005-12-16 | 1 | -2/+3 |
| | |||||
* | Bug #1378455: a problem of urllib using open_local_file | Georg Brandl | 2005-12-15 | 1 | -0/+2 |
| | |||||
* | 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. | ||||
* | added PSF licensing blurbs to relevant files | Fredrik Lundh | 2005-12-14 | 4 | -0/+12 |
| | |||||
* | added cElementTree/_elementtree build stuff and wrapper module | Fredrik Lundh | 2005-12-14 | 1 | -0/+3 |
| | |||||
* | Subversion settings: | Armin Rigo | 2005-12-14 | 5 | -1960/+1960 |
| | | | | | | | | | 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. | ||||
* | - remove leftover directory | Fred Drake | 2005-12-14 | 1 | -0/+20 |
| | | | | - add file I forgot to add in previous commit | ||||
* | move the xml package implementation to xmlcore, and adjust the tests to | Fred Drake | 2005-12-14 | 24 | -194/+196 |
| | | | | | 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. | ||||
* | r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100 | Fredrik Lundh | 2005-12-12 | 1 | -0/+1 |
| | | | | | make sure xml.etree can be used even if PyXML is present (solution proposed by Philip J. Eby) | ||||
* | 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 | 2 | -2/+7 |
| | | | | assorted xml.etree tweaks | ||||
* | added ElementTree core components to xml.etree | Fredrik Lundh | 2005-12-12 | 4 | -0/+1621 |
| | |||||
* | 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 #1281032] Pass encoding from the input source to pyexpat's ParserCreate() | Andrew M. Kuchling | 2005-12-04 | 1 | -2/+3 |
| | |||||
* | [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit ↵ | Andrew M. Kuchling | 2005-12-04 | 2 | -0/+11 |
| | | | | string, not a Unicode string | ||||
* | [Patch #1039083] Add 'encoding' parameter to SimpleXMLRPCServer | Andrew M. Kuchling | 2005-12-04 | 1 | -8/+11 |
| | |||||
* | Use boolean name | Andrew M. Kuchling | 2005-12-04 | 1 | -1/+1 |
| | |||||
* | [Patch #893642] Add optional allow_none argument to SimpleXMLRPCServer, ↵ | Andrew M. Kuchling | 2005-12-04 | 1 | -6/+8 |
| | | | | CGIXMLRPCRequestHandler | ||||
* | [Bug #1372836] Remove unused code | Andrew M. Kuchling | 2005-12-04 | 1 | -4/+0 |
| | |||||
* | [Bug #792570] Under Windows, socket.read() seems to run into trouble when | Andrew M. Kuchling | 2005-12-04 | 1 | -2/+13 |
| | | | | | | | | | | asked to read tens of megabytes of data. On my Mac, it hits MemoryErrors when reading around 15Mb in one chunk. The fix is to read the body in several parts, not as one big piece. It would be nice to fix the underlying socket.read() problem, too. 2.4 bugfix candidate. | ||||
* | [Bug #1222790] Set reuse-address and close-on-exec flags on the HTTP ↵ | Andrew M. Kuchling | 2005-12-04 | 1 | -1/+11 |
| | | | | listening socket | ||||
* | Test another error case in PyFloat_FromString(). | Walter Dörwald | 2005-11-29 | 1 | -0/+2 |
| |