summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changed the whole structure of startup and checking if theFacundo Batista2007-04-031-26/+36
| | | | server is available. Hope to not get more false alarms.
* Implement a contextmanager test.test_support.catch_warning that canWalter Dörwald2007-04-034-111/+129
| | | | | | | be used to catch the last warning issued by the warning framework. Change test_warnings.py and test_structmembers.py to use this new contextmanager.
* Added a SSL server to test_socket_ssl.py to be able to testFacundo Batista2007-04-033-11/+103
| | | | | | locally. Now, it checks if have openssl available and run those specific tests (it starts openssl at the beggining of all the tests and then kills it at the end).
* Add tests for the filename.Walter Dörwald2007-04-032-0/+33
| | | | Test that the stacklevel is handled correctly.
* Document that CatchWarningTests is reused by test_structmembers.py.Walter Dörwald2007-04-031-0/+2
|
* Move the functionality for catching warnings in test_warnings.py into a separateWalter Dörwald2007-04-032-2/+4
| | | | | class to that reusing the functionality in test_structmembers.py doesn't rerun the tests from test_warnings.py.
* Now using unittest for the tests infraestructure. Also split theFacundo Batista2007-04-032-113/+118
| | | | tests in those who need the network, and that who doesn't.
* Fix the strange case ofGeorg Brandl2007-04-031-8/+8
| | | | | | | | | \begin{methoddesc}[NNTP]{...} where \ifx#1\@undefined ended up comparing N and N, therefore executing the true part of the conditional, blowing up at \@undefined.
* - Fix an off-by-one bug in locale.strxfrm().Matthias Klose2007-04-032-1/+4
| | | | patch taken from http://bugs.debian.org/416934.
* SF #1382213: Tutorial section 9.5.1 ignores MRO for new-style classesRaymond Hettinger2007-04-031-11/+20
|
* SF 1602378 Clarify docstrings for bisectRaymond Hettinger2007-04-031-4/+4
|
* Fix warnings about object.__init__() signature.Guido van Rossum2007-04-023-3/+2
| | | | | | Two (test_array and test_descr) were bug IMO; the third (copy_reg) is a work-around which recognizes that object.__init__() doesn't do anything.
* Array module's buffer interface can now handle empty arrays.Raymond Hettinger2007-04-022-0/+13
|
* SF #1693079: Cannot save empty array in shelveRaymond Hettinger2007-04-022-6/+28
|
* Fix the class name of strings.Georg Brandl2007-04-011-37/+37
|
* Remove bogus entry.Georg Brandl2007-04-011-3/+0
|
* Some semantic fixes.Georg Brandl2007-04-013-4/+3
|
* Explicit class names.Georg Brandl2007-04-011-3/+3
|
* Lots of explicit class names for method and member descs.Georg Brandl2007-04-0142-489/+489
|
* Another fix.Georg Brandl2007-04-011-1/+1
|
* Fix a lot of markup and meta-information glitches.Georg Brandl2007-04-0121-143/+143
|
* Fix the test for recreating the locale cache object by not worrying about ifBrett Cannon2007-04-011-4/+16
| | | | one of the test locales cannot be set.
* time.strptime's caching of its locale object was being recreated when theBrett Cannon2007-04-013-5/+24
| | | | | | | | | locale changed but not used during the function call it was recreated during. The test in this checkin is untested (OS X does not have the proper locale support for me to test), although the fix for the bug this deals with was tested by the OP (#1290505). Once the buildbots verify the test at least doesn't fail it becomes a backport candidate.
* SF #1685563, MSVCCompiler creates redundant and long PATH stringsNeal Norwitz2007-04-012-1/+17
| | | | | | | | | | | If MSVCCompiler.initialize() was called multiple times, the path would get duplicated. On Windows, this is a problem because the path is limited to 4k. There's no benefit in adding a path multiple times, so prevent that from occuring. We also normalize the path before checking for duplicates so things like /a and /a/ won't both be stored. Will backport.
* Shut up an occaisonal buildbot error due to test files being left around.Collin Winter2007-03-311-0/+8
|
* Bug #1655392: don't add -L/usr/lib/pythonX.Y/config to the LDFLAGSGeorg Brandl2007-03-312-1/+7
| | | | | returned by python-config if Python was built with --enable-shared because that prevented the shared library from being used.
* Fix method names. Will backport.Neal Norwitz2007-03-311-3/+4
|
* Typo fix.Georg Brandl2007-03-311-1/+1
|
* Duplicate label fix.Georg Brandl2007-03-311-1/+1
|
* Markup fix.Georg Brandl2007-03-311-1/+1
|
* repair string literal.Georg Brandl2007-03-311-1/+1
|
* Markup fix.Georg Brandl2007-03-301-1/+1
|
* Duplicate label fix.Georg Brandl2007-03-301-1/+1
|
* Add item. (Oops, accidentally checked this in on my branch)Andrew M. Kuchling2007-03-301-0/+11
|
* Markup fix.Georg Brandl2007-03-301-3/+3
|
* Duplicate label fix.Georg Brandl2007-03-301-1/+0
|
* Label name fix.Georg Brandl2007-03-301-1/+1
|
* Markup fix.Georg Brandl2007-03-301-1/+1
|
* Bump the patch level version of distutils since there were a few bug fixes sinceMarc-André Lemburg2007-03-301-1/+1
| | | | the 2.5.0 release.
* Bug #1688274: add documentation for C-level class objects.Collin Winter2007-03-301-0/+29
|
* Added the posibility to pass the timeout to FTP.connect, not only whenFacundo Batista2007-03-303-7/+40
| | | | instantiating the class. Docs and tests are updated.
* Added timout parameter to telnetlib.Telnet. Also createdFacundo Batista2007-03-294-20/+95
| | | | | test_telnetlib.py with a basic test and timeout ones. Docs are also updated.
* In Windows' time.clock(), when QueryPerformanceFrequency() fails,Georg Brandl2007-03-291-1/+2
| | | | | the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC as for the POSIX implementation (thanks to #pypy).
* These are actually methods.Georg Brandl2007-03-291-6/+6
|
* Make test_zipfile clean up its temporary files properly.Collin Winter2007-03-291-7/+12
|
* Consolidate patches #1690164, 1683397, and 1690169, all of which refactor ↵Collin Winter2007-03-285-2820/+2232
| | | | | | XML-related test suites. The patches are applied together because they use a common output/xmltests file. Thanks to Jerry Seutter for all three patches.
* Added timeout to smtplib (to SMTP and SMTP_SSL). Also createdFacundo Batista2007-03-283-27/+89
| | | | | the test_smtplib.py file, with a basic test and the timeout ones. Docs are updated too.
* Bug 1688393. Adds a control of negative values inFacundo Batista2007-03-282-2/+15
| | | | socket.recvfrom, which caused an ugly crash.
* The basic test cases of poplib.py.Facundo Batista2007-03-271-0/+71
|
* Added an optional timeout to poplib.POP3. Also created aFacundo Batista2007-03-272-17/+6
| | | | | test_poplib.py file with a basic test and the timeout ones. Docs are also updated.