summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 57152-57220 via svnmerge fromGuido van Rossum2007-08-207-13/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57155 | brett.cannon | 2007-08-17 11:51:57 -0700 (Fri, 17 Aug 2007) | 2 lines Clarify the comment about setting the PYTHON variable for the Doc Makefile. ........ r57156 | brett.cannon | 2007-08-17 11:59:58 -0700 (Fri, 17 Aug 2007) | 3 lines Remove news entry for test.test_support.guard_warnings_filter as it has been removed. ........ r57158 | facundo.batista | 2007-08-17 12:16:44 -0700 (Fri, 17 Aug 2007) | 9 lines Added a flag (_send_traceback_header) to the SimpleXMLRPCServer class that allows sending back exception/stack trace information about internal server errors (this flag defaults to False to avoid sending such information unless explicitly enabled). Added tests to verify behavior of this new feature (these tests are skipped on win32 because of problems with WSAEWOULDBLOCK). Renamed HTTPTestCase to SimpleServerTestCase. [GSoC - Alan McIntyre] ........ r57160 | brett.cannon | 2007-08-17 13:16:15 -0700 (Fri, 17 Aug 2007) | 2 lines Make test_warnings re-entrant. ........ r57175 | georg.brandl | 2007-08-17 23:05:56 -0700 (Fri, 17 Aug 2007) | 2 lines Fix PDB command descriptions. ........ r57182 | brett.cannon | 2007-08-18 11:30:36 -0700 (Sat, 18 Aug 2007) | 3 lines Remove Mikael as the maintainer of BeOS at his request. With no maintainer should the port be deprecated in 2.6? ........ r57199 | georg.brandl | 2007-08-19 11:43:50 -0700 (Sun, 19 Aug 2007) | 2 lines Fix stray backticks. ........ r57211 | hyeshik.chang | 2007-08-19 23:49:18 -0700 (Sun, 19 Aug 2007) | 2 lines Add cheot-ga-keut composed make-up sequence support in EUC-KR codec. ........ r57216 | guido.van.rossum | 2007-08-20 08:18:04 -0700 (Mon, 20 Aug 2007) | 4 lines Add a hack (originally devised in a slightly different form by Thomas Wouters) to prevent spurious tracebacks when a daemon thread's cleanup happens to wake up when the world around it has already been destroyed. ........
* Fix xmlrpc unittest. While it now passes on Linux, it still failsHye-Shik Chang2007-08-192-25/+7
| | | | on FreeBSD due to the difference of socket blocking mode inheritance.
* Code review of the new buffer protocol. Mostly add questions that shouldNeal Norwitz2007-08-191-0/+1
| | | | | | | | | | | be answered with the comments removed. There are many places that require checks when doing arithmetic for memory sizes when allocating memory. Otherwise, overflow is possible with a subsequent crash. Fix SF #1777057 which was a result of not initializing the new BufferError properly. Had to update the test for exceptions for BufferError too.
* Fix an unfinished though in my own test code.Guido van Rossum2007-08-181-19/+21
| | | | (testNewlinesInput and testNewlinesOutput are mine, not Tony's.)
* New I/O code from Tony Lownds implement newline feature correctly,Guido van Rossum2007-08-183-73/+248
| | | | and implements .newlines attribute in a 2.x-compatible fashion.
* Make the cleanup between -R passes deal better with ABC registries,Guido van Rossum2007-08-181-9/+12
| | | | | | *restoring* selected registries instead of *resetting* them all. Also change the default for the huntrleaks parameter to None everywhere, as its other value is a list of three elements, so it is not a bool.
* Fix _dump_registry() to use the correct prefix for the privateGuido van Rossum2007-08-181-2/+2
| | | | | | methods. Reset the negative cache *before* resetting the invalidation counter, hoping this may plug a race condition (but then again, this whole module isn't coded to be thread-safe).
* Allow -R4:3 instead of -R4:3: -- I never use the 3rd arg.Guido van Rossum2007-08-171-7/+7
|
* Change the usage() function. Don't print the entire multi-pageGuido van Rossum2007-08-171-10/+11
| | | | docstring when there's a command line syntax error.
* Fix stupid typo in Lib/encodings/utf_32.py which led to failing testsWalter Dörwald2007-08-171-1/+1
| | | | | | on big endian machines. Update documentation: UTF-32 codecs will be in 2.6.
* 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.