Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix gb18030 codec's bug that doesn't map two-byte characters on | Hye-Shik Chang | 2007-08-04 | 4 | -1/+26 | |
| | | | | GB18030 extension in encoding. (bug reported by Bjorn Stabell) | |||||
* | Py_ssize_t is defined regardless of HAVE_LONG_LONG. Will backport | Neal Norwitz | 2007-08-03 | 2 | -1/+5 | |
| | ||||||
* | - Allow Emacs 22 for building the documentation in info format. | Matthias Klose | 2007-08-02 | 2 | -2/+3 | |
| | ||||||
* | Allow the OS to select a free port for each test server. For | Facundo Batista | 2007-08-01 | 1 | -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öwis | 2007-07-31 | 4 | -15/+36 | |
| | ||||||
* | Eliminate RLock race condition reported in SF bug #1764059 | Nick Coghlan | 2007-07-31 | 1 | -1/+2 | |
| | ||||||
* | When running asynchat tests on OS X (darwin), the test client now | Facundo Batista | 2007-07-31 | 1 | -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 is | Mark Hammond | 2007-07-30 | 1 | -7/+7 | |
| | | | | | referenced, and also fix definition of _WIN32_WINNT. Resolves patch 1761803. | |||||
* | Bug #1763149: use proper slice syntax in docstring. | Georg Brandl | 2007-07-29 | 2 | -4/+4 | |
| | | | | (backport) | |||||
* | Added tests for asynchat classes simple_producer & fifo, and the | Facundo Batista | 2007-07-29 | 1 | -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 Brandl | 2007-07-29 | 1 | -1/+3 | |
| | ||||||
* | Clarify PEP 343 description. | Georg Brandl | 2007-07-29 | 1 | -9/+18 | |
| | ||||||
* | Moved all of the capture_server socket setup code into the try block | Facundo Batista | 2007-07-28 | 1 | -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 cannot | Martin v. Löwis | 2007-07-28 | 3 | -16/+17 | |
| | | | | represent the result in a single character. | |||||
* | Bug #978833: Close https sockets by releasing the _ssl object. | Martin v. Löwis | 2007-07-27 | 4 | -0/+28 | |
| | ||||||
* | Make test_math error messages more meaningful for small discrepancies in results | Nick Coghlan | 2007-07-27 | 1 | -1/+5 | |
| | ||||||
* | Correctly detect AMD64 architecture on VC2003 | Mark Hammond | 2007-07-27 | 1 | -1/+1 | |
| | ||||||
* | In consultation with Kristjan Jonsson, only define WINVER and _WINNT_WIN32 | Mark Hammond | 2007-07-27 | 1 | -4/+18 | |
| | | | | if (a) we are building Python itself and (b) no one previously defined them | |||||
* | Add explicit test for a misbehaving math.floor | Nick Coghlan | 2007-07-26 | 2 | -6/+7 | |
| | ||||||
* | tabs, newlines and crs are valid XML characters. | Georg Brandl | 2007-07-26 | 1 | -1/+2 | |
| | ||||||
* | Change location of the package index to pypi.python.org/pypi | Martin v. Löwis | 2007-07-25 | 3 | -2/+4 | |
| | ||||||
* | Add a temporary diagnostic message before a strange failure on the alpha ↵ | Nick Coghlan | 2007-07-25 | 1 | -0/+6 | |
| | | | | Debian buildbot | |||||
* | More buildbot cleanup - let the OS assign the port for test_urllib2_localnet | Nick Coghlan | 2007-07-25 | 1 | -29/+11 | |
| | ||||||
* | New tests for basic behavior of smtplib.SMTP and | Facundo Batista | 2007-07-24 | 1 | -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 Coghlan | 2007-07-24 | 1 | -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 Coghlan | 2007-07-24 | 3 | -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 Coghlan | 2007-07-24 | 1 | -3/+5 | |
| | | | | manipulated correctly | |||||
* | Correctly cleanup sys.modules after executing runpy relative import | Nick Coghlan | 2007-07-23 | 2 | -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_module | Nick Coghlan | 2007-07-22 | 1 | -5/+66 | |
| | ||||||
* | Selectively enable tests for asyncore.readwrite based on the presence | Facundo Batista | 2007-07-22 | 1 | -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 keeping | Martin v. Löwis | 2007-07-21 | 129 | -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 the | Facundo Batista | 2007-07-19 | 1 | -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örwald | 2007-07-19 | 1 | -4/+5 | |
| | | | | (fixes SF bug #1754453). | |||||
* | Add description for wave.setcomptype() values | Georg Brandl | 2007-07-18 | 1 | -0/+2 | |
| | ||||||
* | Fix failing unicode test caused by change to ast.c at r56441 | Kurt B. Kaiser | 2007-07-18 | 1 | -3/+3 | |
| | ||||||
* | SF patch# 1755885 by Kurt Kaiser: show location of Unicode escape errors. | Guido van Rossum | 2007-07-18 | 2 | -2/+25 | |
| | | | | (Slightly tweaked for style and refcounts.) | |||||
* | Use "Unix" as platform name, not "UNIX". | Georg Brandl | 2007-07-18 | 1 | -1/+1 | |
| | ||||||
* | Prevent asyncore.dispatcher tests from hanging by adding loop counters | Facundo Batista | 2007-07-17 | 1 | -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 uses | Facundo Batista | 2007-07-15 | 1 | -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 Batista | 2007-07-14 | 1 | -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. Kuchling | 2007-07-14 | 2 | -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 fix | Andrew M. Kuchling | 2007-07-14 | 1 | -1/+1 | |
| | ||||||
* | Clarify webbrowser.open description. | Georg Brandl | 2007-07-14 | 1 | -1/+1 | |
| | ||||||
* | Bug #1753406: missing \versionadded for subprocess.check_call. | Georg Brandl | 2007-07-14 | 1 | -0/+2 | |
| | ||||||
* | In response to this SF bug: | Barry Warsaw | 2007-07-13 | 2 | -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 be | Thomas Heller | 2007-07-13 | 1 | -2/+0 | |
| | | | | Py_DECREF'd. | |||||
* | Fix for SF# 1649098: avoid zero-sized array declaration in structure. | Thomas Heller | 2007-07-13 | 3 | -2/+5 | |
| | ||||||
* | Fix for SF# 1701409: segfault in c_char_p of ctypes. The repr output | Thomas Heller | 2007-07-13 | 2 | -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 test | Thomas Heller | 2007-07-13 | 1 | -24/+2 | |
| | | | | | adds little value, but has a large problem on OS X, as explained in SF# 1581906. | |||||
* | Add tests for _ctypes.COMError. | Thomas Heller | 2007-07-13 | 1 | -0/+9 | |
| |