summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for BeOSSkip Montanaro2007-08-174-355/+0
|
* Simplify expressionNeal Norwitz2007-08-171-1/+1
|
* Fix the IPv6 pton/ntop tests. Why weren't these failing on Linux? No IPv6?Guido van Rossum2007-08-171-5/+5
|
* Remove output file for test that was already removedNeal Norwitz2007-08-171-2/+0
|
* some RiscOS stuff I missed before (was only looking for "RISCOS")Skip Montanaro2007-08-1713-113/+56
|
* forgot this when removing RISCOS stuffSkip Montanaro2007-08-173-494/+0
|
* First merge from the trunk straight into the py3k branch. I'm notGuido van Rossum2007-08-1612-25/+117
| | | | | | | | using the message generated by svnmerge, because it contains a lot of stuff about the Doc tree, which I'm not merging this time due to the way the Doc tree was initially added. I am however adding roman.py which was added later to Doc/tools. I'll try to diff the two Doc trees separately to see if there's stuff I missed.
* Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le andWalter Dörwald2007-08-166-2/+373
| | | | | | | | | ut-32-be). On narrow builds the codecs combine surrogate pairs in the unicode object into one codepoint on encoding and create surrogate pairs for codepoints outside the BMP on decoding. Lone surrogates are passed through unchanged in all cases. Backport to the trunk will follow.
* Remove last(?) use of httplib.HTTPS, which caused test_socket_ssl to fail.Jeremy Hylton2007-08-161-74/+27
| | | | | | Refactor the urllib open_http() and open_https() to use the same internal logic. The only difference between the two is the call to constructor an HTTPConnection object.
* Remove RISCOS supportSkip Montanaro2007-08-1623-107/+100
|
* Implement PEP 3131. Add isidentifier to str.Martin v. Löwis2007-08-153-0/+44
|
* Down with str8!Guido van Rossum2007-08-151-2/+2
| | | | Change various socket APIs to use bytes or str instead str8.
* Format bools properly in %d.Martin v. Löwis2007-08-141-0/+6
|
* Bug #1772489: make dir() work on traceback objects again.Collin Winter2007-08-141-0/+7
|
* Remove Python 1.5 compatibility layer from httplib.Jeremy Hylton2007-08-142-191/+15
| | | | | | | | The two clients in the std library have been updated to use the newer interface. A couple of minor changes to the httplib tests were needed. Also, reformat some long lines in the httplib tests.
* Change xmlrpclib to use the newer httplib interface.Jeremy Hylton2007-08-142-73/+77
| | | | | | | Note that it's hard to test xmlrpclib, because the server it attempts to connect to doesn't seem to support the expected interfaces. Many of the links via xmlrpc.com are dead, so I couldn't find another server to use for tests.
* The dbm module should use bytes for keys. This makes test_shelve pass.Guido van Rossum2007-08-141-3/+3
|
* Fix test_gdbm.Martin v. Löwis2007-08-141-3/+3
|
* Remove string.{letters,lowercase,uppercase}.Martin v. Löwis2007-08-144-12/+9
|
* Patch suggested Paul Colomiets fixes test_threaded_import.py.Guido van Rossum2007-08-131-2/+2
|
* Improved patches for sndhdr and imghdr by Victor Stinner, who writes:Guido van Rossum2007-08-132-32/+33
| | | | | | | | - fix "h[sbseek] == b'\1'" and "ratecode = ord(h[sbseek+4])" in test_voc() - avoid division by zero - use startswith method: replace h[:2] == b'BM' by h.startswith(b'BM') - use aifc.open() instead of old aifc.openfp() - use ord(b'P') instead of ord('P')
* Fix two obvious 2.xisms.Guido van Rossum2007-08-131-3/+2
|
* Enable basic load/store again.Martin v. Löwis2007-08-131-3/+3
|
* Fix a failing test on FreeBSD: ttys are seekable in FreeBSD, too.Hye-Shik Chang2007-08-131-2/+3
|
* Fix a test failure on non-UTF-8 locales: bad_coding2.py is encodedHye-Shik Chang2007-08-131-1/+1
| | | | in utf-8.
* Retouch my last change after a comment on style from Guido.Lars Gustäbel2007-08-131-10/+7
|
* Allow str8 in .write().Martin v. Löwis2007-08-131-1/+2
|
* Expect that source strings are Unicode.Martin v. Löwis2007-08-131-8/+10
|
* Make assertion error be more verbose.Martin v. Löwis2007-08-131-1/+1
|
* Fix typo.Martin v. Löwis2007-08-131-1/+1
|
* Compare what's read from files against proper byte literals. Neither of theseBarry Warsaw2007-08-122-58/+61
| | | | | | | | | | | | | modules have unittests AFAICT, and I'm not improving things here, but these changes make a bunch of email package tests succeed, and command line testing against real files seems to make things better. Added an __main__ section to imghdr.py so that it can be run from the command line similarly to sndhdr.py. Someone else can figure out a better -m way of doing this. In sndhdr.py do a couple of very minor cleanups, and use a with statement to not wait for gc to close the file.
* Don't try to convert str to Unicode anymore.Martin v. Löwis2007-08-121-10/+1
|
* Get pystone working with lazy map.Neal Norwitz2007-08-121-1/+1
|
* 1. Catch TypeError exception when writing to OutputWindowKurt B. Kaiser2007-08-122-2/+5
| | | | | | | | | 2. PyShell: shell isn't working due to encoding issues. Temporarily direct exceptions to the terminal. Also, trap exceptions occurring during write() instead of passing. Checking (2) in temporarily to aid finding the encoding problem in IOBinding.py
* Add -s/--start option that makes it easier to run the tests in batchesNeal Norwitz2007-08-121-3/+19
| | | | when one test fails and you want to start running from that point onwards.
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-1216-85/+51
|
* Make sure to flush output when writing dots during -R runsNeal Norwitz2007-08-121-0/+1
|
* Fix problem when exec'ing a string with a codingNeal Norwitz2007-08-111-0/+5
|
* Remove unnecessary importNeal Norwitz2007-08-111-1/+0
|
* Fix test_wsgiref that used StringIO and a BufferedReader rather thanNeal Norwitz2007-08-111-1/+2
| | | | | real files. This code assumed that fileno() would succeed which wasn't the case.
* Quick fix for a new problem here -- using string.lowercase somehow causedGuido van Rossum2007-08-111-4/+3
| | | | problems.
* Fall back to ascii if the locale module cannot be loaded.Martin v. Löwis2007-08-111-2/+7
|
* Set sys.stdout.encoding properly.Martin v. Löwis2007-08-111-2/+7
| | | | | Always set LC_CTYPE on interpreter startup. Add device_encoding function.
* Change shelve to require a bytes-oriented dict asMartin v. Löwis2007-08-112-19/+53
| | | | the underlying storage, and yet provide string keys.
* Remove support for __members__ and __methods__. There still might beNeal Norwitz2007-08-112-17/+1
| | | | | some cleanup to do on this. Particularly in Python/traceback.c with getting rid of the getattr if possible and Demo/*metaclasses/Enum.py.
* Fix test_bsddb3.Martin v. Löwis2007-08-113-62/+64
|
* Fix what appears to be a very old bug. Tkinter in struni is more intolerantKurt B. Kaiser2007-08-111-0/+1
| | | | of non-existant text widget 'marks', it seems.
* Use an event variable to wait for the server to be ready, rather than ↵Guido van Rossum2007-08-101-3/+5
| | | | sleep(0.1).
* Remove the None tag from tagdefs dict for now, appears inoperative andKurt B. Kaiser2007-08-101-1/+3
| | | | causes a _tkinter error in py3k.
* Make sure the mock object passed to finish_request() is buffered.Jeremy Hylton2007-08-101-4/+6
|