Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1688274: add documentation for C-level class objects. | Collin Winter | 2007-03-30 | 1 | -0/+29 |
| | |||||
* | Added the posibility to pass the timeout to FTP.connect, not only when | Facundo Batista | 2007-03-30 | 3 | -7/+40 |
| | | | | instantiating the class. Docs and tests are updated. | ||||
* | Added timout parameter to telnetlib.Telnet. Also created | Facundo Batista | 2007-03-29 | 4 | -20/+95 |
| | | | | | test_telnetlib.py with a basic test and timeout ones. Docs are also updated. | ||||
* | In Windows' time.clock(), when QueryPerformanceFrequency() fails, | Georg Brandl | 2007-03-29 | 1 | -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 Brandl | 2007-03-29 | 1 | -6/+6 |
| | |||||
* | Make test_zipfile clean up its temporary files properly. | Collin Winter | 2007-03-29 | 1 | -7/+12 |
| | |||||
* | Consolidate patches #1690164, 1683397, and 1690169, all of which refactor ↵ | Collin Winter | 2007-03-28 | 5 | -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 created | Facundo Batista | 2007-03-28 | 3 | -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 in | Facundo Batista | 2007-03-28 | 2 | -2/+15 |
| | | | | socket.recvfrom, which caused an ugly crash. | ||||
* | The basic test cases of poplib.py. | Facundo Batista | 2007-03-27 | 1 | -0/+71 |
| | |||||
* | Added an optional timeout to poplib.POP3. Also created a | Facundo Batista | 2007-03-27 | 2 | -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 go | Facundo Batista | 2007-03-26 | 2 | -25/+91 |
| | | | | the ftplib tests. | ||||
* | Some nits. | Georg Brandl | 2007-03-26 | 3 | -10/+10 |
| | |||||
* | Added an optional timeout to FTP class. Also I started a test_ftplib.py | Facundo Batista | 2007-03-26 | 1 | -1/+4 |
| | | | | | file to test the ftp lib (right now I included a basic test, the timeout one, and nothing else). | ||||
* | Markup fix. | Georg Brandl | 2007-03-25 | 1 | -4/+4 |
| | |||||
* | Markup fix. | Georg Brandl | 2007-03-25 | 1 | -2/+2 |
| | |||||
* | Closing the HTTP connection after each test, and listening more. | Facundo Batista | 2007-03-25 | 1 | -1/+4 |
| | |||||
* | Redone the tests, using the infrastructure already present | Facundo Batista | 2007-03-25 | 1 | -53/+65 |
| | | | | for threading and socket serving. | ||||
* | Change the docs to no longer claim that unittest is preferred over doctest for | Brett Cannon | 2007-03-25 | 1 | -7/+7 |
| | | | | regression tests. | ||||
* | Revert accidental change. | Georg Brandl | 2007-03-24 | 1 | -1/+1 |
| | |||||
* | Remove typo accent. | Georg Brandl | 2007-03-24 | 1 | -2/+2 |
| | |||||
* | Patch #1489771: update syntax rules in Python Reference Manual. | Žiga Seilnacht | 2007-03-24 | 5 | -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 Winter | 2007-03-23 | 1 | -9/+13 |
| | |||||
* | Surrounded with try/finally to socket's default timeout setting | Facundo Batista | 2007-03-23 | 2 | -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 size | Thomas Heller | 2007-03-23 | 1 | -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 Rossum | 2007-03-23 | 1 | -1/+2 |
| | |||||
* | Added a 'create_connect()' function to socket.py, which creates a | Facundo Batista | 2007-03-23 | 7 | -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 as | Guido van Rossum | 2007-03-23 | 2 | -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öwis | 2007-03-23 | 3 | -5/+4 |
| | | | | Will backport. | ||||
* | Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}. | Martin v. Löwis | 2007-03-23 | 2 | -3/+6 |
| | | | | Will backport. | ||||
* | Add Mark Dickinson for SF # 1675423. | Neal Norwitz | 2007-03-23 | 1 | -0/+1 |
| | |||||
* | - Bug #1683368: The object.__init__() and object.__new__() methods are | Guido van Rossum | 2007-03-23 | 3 | -14/+99 |
| | | | | | | | | | | | | | now stricter in rejecting excess arguments. The only time when either allows excess arguments is when it is not overridden and the other one is. For backwards compatibility, when both are overridden, it is a deprecation warning (for now; maybe a Py3k warning later). When merging this into 3.0, the warnings should become errors. Note: without the change to string.py, lots of spurious warnings happen. What's going on there? | ||||
* | Explain the purpose of the b_needsfree flag (forward ported from ↵ | Thomas Heller | 2007-03-22 | 1 | -0/+6 |
| | | | | release25-maint). | ||||
* | Back out "Patch #1643874: memory leak in ctypes fixed." | Thomas Heller | 2007-03-22 | 2 | -23/+8 |
| | | | | | The code in this patch leaves no way to give up the ownership of a BSTR instance. | ||||
* | Bug #1685704: use -m switch in timeit docs. | Georg Brandl | 2007-03-22 | 1 | -1/+1 |
| | |||||
* | Add test and fix for fromkeys() optional argument. | Raymond Hettinger | 2007-03-21 | 2 | -2/+5 |
| | |||||
* | Bug #1675967: re patterns pickled with older Python versions can | Žiga Seilnacht | 2007-03-21 | 3 | -1/+13 |
| | | | | now be unpickled. Will backport. | ||||
* | Minor clarification, saying that blocking means no timeout (from bug #882297) | Facundo Batista | 2007-03-21 | 1 | -1/+1 |
| | |||||
* | Put code examples at left margin instead of indenting them | Andrew M. Kuchling | 2007-03-21 | 1 | -19/+19 |
| | |||||
* | Fix sentence, and fix typo in example | Andrew M. Kuchling | 2007-03-21 | 1 | -2/+3 |
| | |||||
* | Add comments on maintenance of this file | Andrew M. Kuchling | 2007-03-21 | 1 | -0/+40 |
| | |||||
* | Fix #1684254: split BROWSER contents with shlex to avoid displaying 'URL'. | Georg Brandl | 2007-03-21 | 1 | -1/+6 |
| | |||||
* | Patch #1684834: document some utility C API functions. | Georg Brandl | 2007-03-21 | 1 | -0/+91 |
| | |||||
* | New test for rev. 54407 which only uses directories under TESTFN. | Georg Brandl | 2007-03-21 | 4 | -32/+70 |
| | |||||
* | Patch #1682205: a TypeError while unpacking an iterable is no longer | Georg Brandl | 2007-03-21 | 3 | -6/+7 |
| | | | | masked by a generic one with the message "unpack non-sequence". | ||||
* | Remove unused file spotted by Paul Hankin | Neal Norwitz | 2007-03-21 | 2 | -27/+2 |
| | |||||
* | Fix for glob.py if filesystem encoding is None. | Georg Brandl | 2007-03-20 | 1 | -1/+2 |
| | |||||
* | Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() ↵ | Raymond Hettinger | 2007-03-20 | 4 | -3/+42 |
| | | | | calls and fixing set/dict interoperability. | ||||
* | Try to get test_urllib to pass on Windows by closing the file. | Neal Norwitz | 2007-03-20 | 1 | -2/+4 |
| | | | | | | | | | I'm guessing that's the problem. h.getfile() must be called *after* h.getreply() and the fp can be None. I'm not entirely convinced this is the best fix (or even correct). The buildbots will tell us if things improve or not. I don't know if this needs to be backported (assuming it actually works). | ||||
* | Try to be a little more resilient to errors. This might help the test | Neal Norwitz | 2007-03-20 | 1 | -2/+2 |
| | | | | | | pass, but my guess is that it won't. I'm guessing that some other test is leaving this file open which means it can't be removed under Windows AFAIK. |