summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Forgot to add the file before the previous commit, here goFacundo Batista2007-03-262-25/+91
| | | | the ftplib tests.
* Some nits.Georg Brandl2007-03-263-10/+10
|
* Added an optional timeout to FTP class. Also I started a test_ftplib.pyFacundo Batista2007-03-261-1/+4
| | | | | file to test the ftp lib (right now I included a basic test, the timeout one, and nothing else).
* Markup fix.Georg Brandl2007-03-251-4/+4
|
* Markup fix.Georg Brandl2007-03-251-2/+2
|
* Closing the HTTP connection after each test, and listening more.Facundo Batista2007-03-251-1/+4
|
* Redone the tests, using the infrastructure already presentFacundo Batista2007-03-251-53/+65
| | | | for threading and socket serving.
* Change the docs to no longer claim that unittest is preferred over doctest forBrett Cannon2007-03-251-7/+7
| | | | regression tests.
* Revert accidental change.Georg Brandl2007-03-241-1/+1
|
* Remove typo accent.Georg Brandl2007-03-241-2/+2
|
* Patch #1489771: update syntax rules in Python Reference Manual.Žiga Seilnacht2007-03-245-42/+193
| | | | | | | | Python 2.5 added support for explicit relative import statements and yield expressions, which were missing in the manual. Also fix grammar productions that used the names from the Grammar file, markup that broke the generated grammar.txt, and wrap some lines that broke the pdf output. Will backport.
* Make test_relpath() pass on Windows.Collin Winter2007-03-231-9/+13
|
* Surrounded with try/finally to socket's default timeout settingFacundo Batista2007-03-232-16/+20
| | | | | | changes in the tests, so failing one test won't produce strange results in others. Also relaxed the timeout settings in the test (where actually the value didn't mean anything).
* Prevent creation (followed by a segfault) of array types when the sizeThomas Heller2007-03-231-3/+20
| | | | | | | overflows the valid Py_ssize_t range. Check return values of PyMem_Malloc. Will backport to release25-maint.
* Add note about type.__init__().Guido van Rossum2007-03-231-1/+2
|
* Added a 'create_connect()' function to socket.py, which creates aFacundo Batista2007-03-237-25/+181
| | | | | connection with an optional timeout, and modified httplib.py to use this function in HTTPConnection. Applies patch 1676823.
* Add a type.__init__() method that enforces the same signature asGuido van Rossum2007-03-232-4/+35
| | | | | | | | | type.__new__(), and then calls object.__init__(cls), just to be anal. This allows us to restore the code in string.py's _TemplateMetaclass that called super(...).__init__(name, bases, dct), which I commented out yesterday since it broke due to the stricter argument checking added to object.__init__().
* Bug #978833: Revert r50844, as it broke _socketobject.dup.Martin v. Löwis2007-03-233-5/+4
| | | | Will backport.