summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix gb18030 codec's bug that doesn't map two-byte characters onHye-Shik Chang2007-08-044-1/+26
| | | | GB18030 extension in encoding. (bug reported by Bjorn Stabell)
* Py_ssize_t is defined regardless of HAVE_LONG_LONG. Will backportNeal Norwitz2007-08-032-1/+5
|
* - Allow Emacs 22 for building the documentation in info format.Matthias Klose2007-08-022-2/+3
|
* Allow the OS to select a free port for each test server. ForFacundo Batista2007-08-011-30/+99
| | | | | | | | | DebuggingServerTests, construct SMTP objects with a localhost argument to avoid abysmally long FQDN lookups (not relevant to items under test) on some machines that would cause the test to fail. Moved server setup code in the server function inside the try block to avoid the possibility of setup failure hanging the test. Minor edits to conform to PEP 8. [GSoC - Alan McIntyre]
* Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.Martin v. Löwis2007-07-314-15/+36
|
* Eliminate RLock race condition reported in SF bug #1764059Nick Coghlan2007-07-311-1/+2
|
* When running asynchat tests on OS X (darwin), the test client nowFacundo Batista2007-07-311-8/+14
| | | | | | | | overrides asyncore.dispatcher.handle_expt to do nothing, since select.poll gives a POLLHUP error at the completion of these tests. Added timeout & count arguments to several asyncore.loop calls to avoid the possibility of a test hanging up a build. [GSoC - Alan McIntyre]
* Correct use of Py_BUILD_CORE - now make sure it is defined before it isMark Hammond2007-07-301-7/+7
| | | | | referenced, and also fix definition of _WIN32_WINNT. Resolves patch 1761803.
* Bug #1763149: use proper slice syntax in docstring.Georg Brandl2007-07-292-4/+4
| | | | (backport)
* Added tests for asynchat classes simple_producer & fifo, and theFacundo Batista2007-07-291-26/+179
| | | | | | | | | find_prefix_at_end function. Check behavior of a string given as a producer. Added tests for behavior of asynchat.async_chat when given int, long, and None terminator arguments. Added usepoll attribute to TestAsynchat to allow running the asynchat tests with poll support chosen whether it's available or not (improves coverage of asyncore code). [GSoC - Alan McIntyre]
* try-except-finally is new in 2.5.Georg Brandl2007-07-291-1/+3
|
* Clarify PEP 343 description.Georg Brandl2007-07-291-9/+18
|
* Moved all of the capture_server socket setup code into the try blockFacundo Batista2007-07-281-9/+26
| | | | | | | | | so that the event gets set if a failure occurs during server setup (otherwise the test will block forever). Changed to let the OS assign the server port number, and client side of test waits for port number assignment before proceeding. The test data in DispatcherWithSendTests is also sent in multiple send() calls instead of one to make sure this works properly. [GSoC - Alan McIntyre]
* Bug #1704793: Return UTF-16 pair if unicodedata.lookup cannotMartin v. Löwis2007-07-283-16/+17
| | | | represent the result in a single character.
* Bug #978833: Close https sockets by releasing the _ssl object.Martin v. Löwis2007-07-274-0/+28
|
* Make test_math error messages more meaningful for small discrepancies in resultsNick Coghlan2007-07-271-1/+5
|
* Correctly detect AMD64 architecture on VC2003Mark Hammond2007-07-271-1/+1
|
* In consultation with Kristjan Jonsson, only define WINVER and _WINNT_WIN32Mark Hammond2007-07-271-4/+18
| | | | if (a) we are building Python itself and (b) no one previously defined them
* Add explicit test for a misbehaving math.floorNick Coghlan2007-07-262-6/+7
|
* tabs, newlines and crs are valid XML characters.Georg Brandl2007-07-261-1/+2
|
* Change location of the package index to pypi.python.org/pypiMartin v. Löwis2007-07-253-2/+4
|
* Add a temporary diagnostic message before a strange failure on the alpha ↵Nick Coghlan2007-07-251-0/+6
| | | | Debian buildbot
* More buildbot cleanup - let the OS assign the port for test_urllib2_localnetNick Coghlan2007-07-251-29/+11
|
* New tests for basic behavior of smtplib.SMTP andFacundo Batista2007-07-241-10/+121
| | | | | | | smtpd.DebuggingServer. Change to use global host & port number variables. Modified the 'server' to take a string to send back in order to vary test server responses. Added a test for the reaction of smtplib.SMTP to a non-200 HELO response. [GSoC - Alan McIntyre]
* Try to get rid of spurious failure in test_resource on the Debian buildbots ↵Nick Coghlan2007-07-241-9/+16
| | | | by changing the file size limit before attempting to close the file
* Fix an incompatibility between the -i and -m command line switches as ↵Nick Coghlan2007-07-243-48/+43
| | | | reported on python-dev by PJE - runpy.run_module now leaves any changes it makes to the sys module intact after the function terminates
* Tweak runpy test to do a better job of confirming that sys has been ↵Nick Coghlan2007-07-241-3/+5
| | | | manipulated correctly
* Correctly cleanup sys.modules after executing runpy relative importNick Coghlan2007-07-232-8/+11
| | | | | | tests Restore Python 2.4 ImportError when attempting to execute a package (as imports cannot be guaranteed to work properly if you try it)
* Add explicit relative import tests for runpy.run_moduleNick Coghlan2007-07-221-5/+66
|
* Selectively enable tests for asyncore.readwrite based on the presenceFacundo Batista2007-07-221-81/+77
| | | | | of poll support in the select module (since this is the only case in which readwrite can be called). [GSoC - Alan McIntyre]
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-21129-1250/+1090
| | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
* Added a select.select call in the test server loop to make sure theFacundo Batista2007-07-191-5/+7
| | | | | | socket is ready to be read from before attempting a read (this prevents an error 10035 on some Windows platforms). [GSoC - Alan McIntyre]
* Document that codecs.lookup() returns a CodecInfo object.Walter Dörwald2007-07-191-4/+5
| | | | (fixes SF bug #1754453).
* Add description for wave.setcomptype() valuesGeorg Brandl2007-07-181-0/+2
|
* Fix failing unicode test caused by change to ast.c at r56441Kurt B. Kaiser2007-07-181-3/+3
|
* SF patch# 1755885 by Kurt Kaiser: show location of Unicode escape errors.Guido van Rossum2007-07-182-2/+25
| | | | (Slightly tweaked for style and refcounts.)
* Use "Unix" as platform name, not "UNIX".Georg Brandl2007-07-181-1/+1
|
* Prevent asyncore.dispatcher tests from hanging by adding loop countersFacundo Batista2007-07-171-20/+46
| | | | | | to server & client, and by adding asyncore.close_all calls in tearDown. Also choose correct expected logging results based on the value of __debug__ [Alan McIntyre - GSoC]
* Changed the used port and commented out some tests that usesFacundo Batista2007-07-151-72/+82
| | | | | a non documented function that appers to uses resources not present in Windows.
* First version. Includes tests for helper functions: read, write,Facundo Batista2007-07-141-0/+370
| | | | | | _exception, readwrite, closeall, compact_traceback; and for classes dispatcher, dispatcher_with_send, and file_wrapper. [Alan McIntyre - GSoC]
* Avoid exception if there's a stray directory inside a Maildir folder.Andrew M. Kuchling2007-07-142-2/+17
| | | | | | | The Maildir specification doesn't seem to say anything about this situation, and it can happen if you're keeping a Maildir mailbox in Subversion (.svn directories) or some similar system. The patch just ignores directories in the cur/, new/, tmp/ folders.
* Typo fixAndrew M. Kuchling2007-07-141-1/+1
|
* Clarify webbrowser.open description.Georg Brandl2007-07-141-1/+1
|
* Bug #1753406: missing \versionadded for subprocess.check_call.Georg Brandl2007-07-141-0/+2
|
* In response to this SF bug:Barry Warsaw2007-07-132-0/+23
| | | | | | | | | | [ 1752723 ] email.message_from_string: initial line gets discarded I added a test to assert that when the first line of text passed to message_from_string() contains a leading space, the message ends up with the appropriate FirstHeaderLineIsContinuationDefect on its defects list. The bug is invalid.
* PyType_stgdict() returns a borrowed reference which must not beThomas Heller2007-07-131-2/+0
| | | | Py_DECREF'd.
* Fix for SF# 1649098: avoid zero-sized array declaration in structure.Thomas Heller2007-07-133-2/+5
|
* Fix for SF# 1701409: segfault in c_char_p of ctypes. The repr outputThomas Heller2007-07-132-0/+12
| | | | of c_char_p and c_wchar_p has changed as a sideeffect.
* Do not try to load the GLUT library in the ctypes tests. This testThomas Heller2007-07-131-24/+2
| | | | | adds little value, but has a large problem on OS X, as explained in SF# 1581906.
* Add tests for _ctypes.COMError.Thomas Heller2007-07-131-0/+9
|