summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove the rgbimg module. It has been deprecated since Python 2.5.Brett Cannon2007-05-203-100/+8
|
* Fix docstring for add_package in site.py.Georg Brandl2007-05-191-2/+4
|
* Give some clue as to what happened if the test fails.Neal Norwitz2007-05-191-1/+1
|
* Fix beginner mistake -- don't mix spaces and tabs.Raymond Hettinger2007-05-191-1/+1
|
* Improvements to NamedTuple's implementation, tests, and documentationRaymond Hettinger2007-05-192-25/+25
|
* Backport PEP 3110's new 'except' syntax to 2.6.Collin Winter2007-05-182-3/+3
|
* Verify neither dumps or loads overflow the stack and segfault.Neal Norwitz2007-05-181-1/+21
|
* calendar.py gets no benefit from xrange() instead of range()Raymond Hettinger2007-05-171-16/+16
|
* Remove the gopherlib module. It has been raising a DeprecationWarning sinceBrett Cannon2007-05-166-285/+2
| | | | | | | Python 2.5. Also remove gopher support from urllib/urllib2. As both imported gopherlib the usage of the support would have raised a DeprecationWarning.
* Fix bug in marshal where bad data would cause a segfault due toNeal Norwitz2007-05-161-0/+4
| | | | | | lack of an infinite recursion check. Contributed by Damien Miller at Google.
* HTML-escape the plain traceback in cgitb's HTML output, to preventGeorg Brandl2007-05-151-1/+2
| | | | | the traceback inadvertently or maliciously closing the comment and injecting HTML into the error page.
* Small speedup.Raymond Hettinger2007-05-141-4/+3
|
* Remove support for freebsd[23] which haven't been released since 2000Neal Norwitz2007-05-134-383/+0
| | | | or earlier. http://www.freebsd.org/releases/index.html
* Add bz2 to content encodings.Georg Brandl2007-05-131-0/+2
|
* Better tests for posixpath.commonprefixRaymond Hettinger2007-05-111-0/+10
|
* Deprecate os.popen* and popen2 module in favor of the subprocess module.Neal Norwitz2007-05-117-27/+62
|
* Remove trailing whitespace in docstringNeal Norwitz2007-05-111-2/+0
|
* Fix typo in docstring (the module is popen2, not 3).Neal Norwitz2007-05-111-1/+1
|
* Don't ever report a failure when the sum of the reference count differencesNeal Norwitz2007-05-111-2/+3
| | | | | | | are zero. This should help reduce the false positives. The message about references leaking is maintained to provide as much info as possible rather than simply suppressing the message at the source.
* Fix a bug in test.test_support.open_urlresource().Collin Winter2007-05-091-1/+1
| | | | | | | | | If the call to requires() doesn't precede the filesystem check, we get the following situation: 1. ./python Lib/test/regrtest.py test_foo # test needs urlfetch, not enabled, so skipped 2. ./python Lib/test/regrtest.py -u urlfetch test_foo # test runs 3. ./python Lib/test/regrtest.py test_foo # test runs (!) By moving the call to requires() *before* the filesystem check, the fact that fetched files are cached on the local disk becomes an implementation detail, rather than a semantics-changing point of note.
* Deprecate BaseException.message as per PEP 352.Brett Cannon2007-05-054-45/+106
|
* Oops, these tests do not run on Windows CE.Thomas Heller2007-05-041-15/+16
|
* Do not truncate 64-bit pointers to 32-bit integers.Thomas Heller2007-05-041-0/+27
| | | | Fixes SF #1703286, will backport to release25-maint.
* Fix some ctypes test crashes, when running with a debug PythonThomas Heller2007-05-043-4/+11
| | | | | version on win64 by using proper argtypes and restype function attributes.
* Fix those parts in the testsuite that assumed that sys.maxint would cause ↵Kristján Valur Jónsson2007-05-035-12/+21
| | | | overflow on x64. Now the testsuite is well behaved on that platform.
* Fix for #1303614 and #1174712:Armin Rigo2007-05-023-34/+78
| | | | | | | - __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types Thanks zseil for the patch.
* Added new optional credentials argument to SMTPHandler.__init__, and ↵Vinay Sajip2007-05-011-7/+12
| | | | smtp.login() is now called in SMTPHandler.emit() if credentials are specified.
* Patch #1710352: add missing public functions to locale.__all__.Georg Brandl2007-05-011-3/+5
|
* This gets the test working on Solaris. It seems a little hokey to me,Neal Norwitz2007-04-271-0/+19
| | | | but the test passed on Linux and Solaris, hopefully other platforms too.
* The locale "En" appears not to be valid on windows underi VisualStudio.2005. ↵Kristján Valur Jónsson2007-04-261-1/+1
| | | | Added "English" to the test_locale.py to make the testsuite pass for that build
* Fix an issue related to the unittest conversion.Collin Winter2007-04-251-0/+6
|
* Convert test_ossaudiodev to use unittest.Collin Winter2007-04-251-120/+125
|
* Import and raise statement cleanup.Collin Winter2007-04-251-17/+9
|
* Change test_support.have_unicode to use True/False instead of 1/0.Collin Winter2007-04-251-2/+2
|
* Remove functionality from test_datetime.test_main() that does reference ↵Collin Winter2007-04-251-20/+1
| | | | count checking; 'regrtest.py -R' is the way to do this kind of testing.
* Standardize on test.test_support.run_unittest() (as opposed to a mix of ↵Collin Winter2007-04-2528-173/+74
| | | | run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().
* Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz2007-04-2538-387/+386
| | | | You might want to review this change as it's my first time. Be gentle. :-)
* Bug #1706381: Specifying the SWIG option "-c++" in the setup.py fileGeorg Brandl2007-04-241-1/+2
| | | | | (as opposed to the command line) will now write file names ending in ".cpp" too.
* Fix SF #1703110, Incorrect example for add_password() (use uri, not host)Neal Norwitz2007-04-241-1/+4
|
* Remove code that hasn't been called in years.Collin Winter2007-04-241-34/+0
|
* Convert PyUnit -> unittest.Collin Winter2007-04-241-11/+10
|
* As specified in RFC 2616, 2xx code indicates that the client'sFacundo Batista2007-04-232-4/+14
| | | | | request was successfully received, understood, and accepted. Now in these cases no error is raised. Also fixed tests.
* Added tests for other methods of SSL object. Now we coverFacundo Batista2007-04-221-0/+15
| | | | | all the object methods. This is the final step to close the #451607 bug.
* Bug #1704790: bind name "sys" locally in __del__ method so that it isGeorg Brandl2007-04-211-1/+1
| | | | not cleared before __del__ is run.
* Revert r53997 as perArmin Rigo2007-04-191-87/+61
| | | | | | | | | http://mail.python.org/pipermail/python-dev/2007-March/071796.html . I've kept a couple of still-valid extra tests in test_descr, but didn't bother to sort through the new comments and refactorings added in r53997 to see if some of them could be kept. If so, they could go in a follow-up check-in.
* Check the availability of the urlfetch resource earlier than before.Collin Winter2007-04-161-0/+2
|
* When __slots__ are set to a unicode string, make it work the same asNeal Norwitz2007-04-141-1/+17
| | | | setting a plain string, ie don't expand to single letter identifiers.
* Port r54805 from python25-maint branch:Barry Warsaw2007-04-131-0/+20
| | | | | | | | Add code to read from master_fd in the parent, breaking when we get an OSError (EIO can occur on Linux) or there's no more data to read. Without this, test_pty.py can hang on the waitpid() because the child is blocking on the stdout write. This will definitely happen on Mac OS X and could potentially happen on other platforms. See the comment for details.
* Fix utf-8-sig incremental decoder, which didn't recognise a BOM when theWalter Dörwald2007-04-122-7/+17
| | | | first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
* Patch #1695862: remove the cleanup code, now that Windows buildbots are greenŽiga Seilnacht2007-04-121-17/+0
| | | | again.