summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix Armin's bug 1333982. He found it, he didn't created it :-)Neal Norwitz2005-12-181-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 Norwitz2005-12-182-0/+9
| | | | Needs backport.
* Get float() to be more portable across platforms. Disable hex strings.Neal Norwitz2005-12-181-2/+4
|
* Fix _sys_version() so it works with the new buildno, not sure if it is ↵Neal Norwitz2005-12-181-2/+1
| | | | correct. test_platform passes
* SF Patch #1365916, mmap fails on AMD64Neal Norwitz2005-12-181-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/finallyNeal Norwitz2005-12-171-0/+180
| | | | Modified since ast-arenas was implemented.
* Bug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'Hye-Shik Chang2005-12-171-10/+14
| | | | just like string codecs.
* added encoding tests to ElementTree/cElementTree testsFredrik Lundh2005-12-162-15/+31
|
* Patch #1360443: Make SimpleHTTPServer display unencoded directory names.Georg Brandl2005-12-161-2/+3
|
* Bug #1378455: a problem of urllib using open_local_fileGeorg Brandl2005-12-151-0/+2
|
* Add two tests for the script interface.Walter Dörwald2005-12-151-5/+19
|
* added cElementTree testsFredrik Lundh2005-12-152-0/+204
|
* Revert r41662 and the part of 41552 that originally caused the problemNeal Norwitz2005-12-151-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 timeWalter Dörwald2005-12-141-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 filesFredrik Lundh2005-12-144-0/+12
|
* added cElementTree/_elementtree build stuff and wrapper moduleFredrik Lundh2005-12-141-0/+3
|
* Subversion settings:Armin Rigo2005-12-145-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 directoryFred Drake2005-12-141-0/+20
| | | | - add file I forgot to add in previous commit
* move the xml package implementation to xmlcore, and adjust the tests toFred Drake2005-12-1424-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 dataHye-Shik Chang2005-12-131-0/+4
| | | | files on the platform.
* r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100Fredrik Lundh2005-12-121-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, etcFredrik Lundh2005-12-122-2/+4
|
* skip nis entries, if not filtered out by getpwall itselfFredrik Lundh2005-12-121-0/+2
|
* added xml.etree test (enough of the ElementTree selftest toFredrik Lundh2005-12-121-0/+339
| | | | make sure that all included components work)
* r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100Fredrik Lundh2005-12-122-2/+7
| | | | assorted xml.etree tweaks
* added ElementTree core components to xml.etreeFredrik Lundh2005-12-124-0/+1621
|
* SF #1377897, Bus error in astNeal Norwitz2005-12-111-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 Chang2005-12-109-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 Norwitz2005-12-051-1/+1
|
* Fix SF #1373161, r41552 broke test_file on OS XNeal Norwitz2005-12-051-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. Kuchling2005-12-041-2/+3
|
* [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit ↵Andrew M. Kuchling2005-12-042-0/+11
| | | | string, not a Unicode string
* [Patch #1039083] Add 'encoding' parameter to SimpleXMLRPCServerAndrew M. Kuchling2005-12-041-8/+11
|
* Use boolean nameAndrew M. Kuchling2005-12-041-1/+1
|
* [Patch #893642] Add optional allow_none argument to SimpleXMLRPCServer, ↵Andrew M. Kuchling2005-12-041-6/+8
| | | | CGIXMLRPCRequestHandler
* [Bug #1372836] Remove unused codeAndrew M. Kuchling2005-12-041-4/+0
|
* [Bug #792570] Under Windows, socket.read() seems to run into trouble whenAndrew M. Kuchling2005-12-041-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. Kuchling2005-12-041-1/+11
| | | | listening socket
* Test another error case in PyFloat_FromString().Walter Dörwald2005-11-291-0/+2
|
* Improve test coverage. Hope the test_file changes work the same on windows.Neal Norwitz2005-11-275-0/+75
|
* Patch #1162825: Support non-ASCII characters in IDLE window titles.Martin v. Löwis2005-11-272-6/+34
|
* bug #1365984: urllib and data: URLs. Problem was that cStringIO objects ↵Georg Brandl2005-11-261-2/+5
| | | | cannot be assigned attributes on the fly.
* SF patch #1364545: test_cmd_line.py relied on english error messages whenWalter Dörwald2005-11-251-13/+12
| | | | | invoking the Python interpreter (which didn't work on non-english Windows versions). Check return codes instead.
* Remove unused _callers member. No need for types, use isinstanceNeal Norwitz2005-11-251-5/+2
|
* Stop looping to do nothing, just pass.Neal Norwitz2005-11-251-2/+2
|
* No need for types, use isinstanceNeal Norwitz2005-11-253-9/+6
|
* Use sorted() builtinNeal Norwitz2005-11-251-10/+5
|
* Test is still disabled, but access through public moduleNeal Norwitz2005-11-251-2/+2
|
* Get symtable to limp along, can run compiler/symbols.py. Not saying much, ↵Neal Norwitz2005-11-251-1/+4
| | | | needs more work.
* Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is ↵Neal Norwitz2005-11-251-2/+4
| | | | sometimes stable, at least in isolation)