summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* typoBenjamin Peterson2010-08-091-1/+1
|
* don't alias directly, so that extra arguments don't appear #6678Benjamin Peterson2010-08-091-4/+3
|
* issue #9452:Fred Drake2010-08-092-120/+376
| | | | | Add read_file, read_string, and read_dict to the configparser API; new source attribute to exceptions.
* Also temporarily revert r83871, to fix compilation on buildbotsAntoine Pitrou2010-08-092-14/+53
|
* Revert r83877 in order to fix compilationAntoine Pitrou2010-08-092-12/+82
|
* reapply the revert made in r83875Senthil Kumaran2010-08-092-82/+12
| | | | | | | | | Now the _collections is statically built, the build dependencies are in proper order and build works fine. Commit Log from r83874: Issue 9396. Apply functools.lru_cache in the place of the random flushing cache in the re module.
* Revert 83784 adding functools.lru_cache() to the re module.Raymond Hettinger2010-08-092-12/+82
| | | | | | | | | | | The problem is that the re module is imported by sysconfig and re needs functools which uses collections.OrderedDict() but the _collectionsmodule.c code is not yet constructed at this point in the build. The likely best solution will be to include _collections as part of the static build before the rest of the boot-strapping.
* Issue 9396. Apply functools.lru_cache in the place of theRaymond Hettinger2010-08-092-82/+12
| | | | random flushing cache in the re module.
* Issue 7846: fnmatch cache can grow without boundRaymond Hettinger2010-08-092-53/+14
| | | | | | Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big).
* Issue #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-082-3/+15
| | | | | socket into the closed state without closing the underlying file descriptor.
* Fix xml.etree.ElementInclude to include the tail of the current node. Issue ↵Florent Xicluna2010-08-082-1/+19
| | | | #6231
* Fix BytesWarning in test_xml_etree, introduced with r83851.Florent Xicluna2010-08-081-2/+2
|
* Issue #9425: file system encoding is not always utf-8Victor Stinner2010-08-081-4/+1
| | | | Fix a regression introduced in test_sys by r83778.
* Issue #477863: Print a warning at shutdown if gc.garbage is not empty.Antoine Pitrou2010-08-081-1/+37
|
* Issue #8047: Fix the xml.etree serializer to return bytes by default.Florent Xicluna2010-08-082-48/+57
| | | | Use ``encoding="unicode"`` to generate a Unicode string.
* revert r83830, breaks tests on unixesBenjamin Peterson2010-08-082-43/+1
|
* Merged revisions ↵Benjamin Peterson2010-08-089-95/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82779,82855,83740,83789-83791,83797-83801,83803,83811,83827,83844 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r82779 | benjamin.peterson | 2010-07-10 14:45:08 -0500 (Sat, 10 Jul 2010) | 1 line typo in attribute name #9217 ........ r82855 | benjamin.peterson | 2010-07-13 16:27:38 -0500 (Tue, 13 Jul 2010) | 1 line remove more extraneous commas #9245 ........ r83740 | alexandre.vassalotti | 2010-08-05 01:58:36 -0500 (Thu, 05 Aug 2010) | 4 lines Issue 5077: Update fixer for the other functions gone from the operator module. Patch by Meador Inge. ........ r83789 | benjamin.peterson | 2010-08-07 17:45:14 -0500 (Sat, 07 Aug 2010) | 1 line cleanup and use unicode consistently ........ r83790 | benjamin.peterson | 2010-08-07 17:52:06 -0500 (Sat, 07 Aug 2010) | 1 line unicode literal ........ r83791 | benjamin.peterson | 2010-08-07 17:52:55 -0500 (Sat, 07 Aug 2010) | 1 line .get() is pointless here ........ r83797 | benjamin.peterson | 2010-08-07 18:54:51 -0500 (Sat, 07 Aug 2010) | 1 line add a function to find how a node is indented ........ r83798 | benjamin.peterson | 2010-08-07 18:55:28 -0500 (Sat, 07 Aug 2010) | 1 line when splitting import statements, use correct indentation #9386 ........ r83799 | benjamin.peterson | 2010-08-07 18:57:43 -0500 (Sat, 07 Aug 2010) | 1 line double quotes ........ r83800 | benjamin.peterson | 2010-08-07 18:58:52 -0500 (Sat, 07 Aug 2010) | 1 line add another test ........ r83801 | benjamin.peterson | 2010-08-07 19:02:10 -0500 (Sat, 07 Aug 2010) | 1 line cleanup; style-nits ........ r83803 | benjamin.peterson | 2010-08-07 19:05:08 -0500 (Sat, 07 Aug 2010) | 1 line slightly more explicit ........ r83811 | benjamin.peterson | 2010-08-07 22:56:44 -0500 (Sat, 07 Aug 2010) | 4 lines Fix node.pre_order() to call the right method on its children. This was a rather tragic copy-paste error. ........ r83827 | benjamin.peterson | 2010-08-08 08:12:48 -0500 (Sun, 08 Aug 2010) | 1 line cause test to actually run and fix it ........ r83844 | benjamin.peterson | 2010-08-08 13:46:37 -0500 (Sun, 08 Aug 2010) | 1 line fix whitespace ........
* Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.Florent Xicluna2010-08-081-1/+9
|
* Remove unused import.Mark Dickinson2010-08-081-1/+0
|
* Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608.Florent Xicluna2010-08-081-2/+22
|
* Issue #2304: Add additional quotes when using cmd shell on Windows. Original ↵Tim Golden2010-08-082-1/+43
| | | | patch from Gabriel Genellina
* Use unittest specific methods for some urllib test cases. And replace ↵Florent Xicluna2010-08-083-37/+36
| | | | urllib2 with urllib.request in comments.
* use same quoting as the rest of the fileBenjamin Peterson2010-08-081-6/+6
|
* Fix Issue8280 - urllib2's Request method will remove fragements in the url.Senthil Kumaran2010-08-083-1/+19
| | | | This is how it should work,wget and curl work like this way too. Old behavior was wrong.
* Issue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto ↵Tim Golden2010-08-081-14/+13
| | | | instead
* Issue #9507: Named tuple repr will now automatically display the rightRaymond Hettinger2010-08-082-1/+11
| | | | name in a tuple subclass.
* kill outdated commentBenjamin Peterson2010-08-071-1/+0
|
* Issue #8433: Fix test_curses failure for platforms with recent versions of ↵Mark Dickinson2010-08-071-1/+1
| | | | ncurses.
* Issue #9425: skip tests if a filename is not encodableVictor Stinner2010-08-076-4/+29
|
* Fix an assertRaises situation and typo. Also pass all tests to run_unittestBrian Curtin2010-08-071-6/+6
| | | | rather than do it by platform -- the proper skips are in place already.
* Fix #9324: Add parameter validation to signal.signal on Windows in orderBrian Curtin2010-08-061-5/+28
| | | | to prevent crashes.
* Issue #3210: Ensure stdio handles are closed if CreateProcess failsTim Golden2010-08-061-0/+20
|
* Issue #6683: For SMTP logins we now try all authentication methods advertisedGerhard Häring2010-08-051-28/+29
| | | | | | | by the server. Many servers are buggy and advertise authentication methods they o not support in reality. This change makes smtplib.auth() work more often in the real world, where we face misconfigured servers and servers that advertise methods they don't support due to the madness that is SASL.
* Issue #9337: Make float.__str__ identical to float.__repr__.Mark Dickinson2010-08-044-43/+38
| | | | (And similarly for complex numbers.)
* Issue #8814: function annotations (the `__annotations__` attribute)Antoine Pitrou2010-08-042-4/+9
| | | | | are now included in the set of attributes copied by default by functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
* Sending the auth info as string. Fix BytesWarning: str() on a bytes instance ↵Senthil Kumaran2010-08-041-2/+2
| | | | Exception on buildbot.
* Try to fix issue #9415: skip some tests on broken Ubuntu OpenSSLAntoine Pitrou2010-08-041-0/+23
|
* In verbose mode, identify OpenSSL build and platform more preciselyAntoine Pitrou2010-08-041-0/+18
|
* Fix #9513 to remove relative imports from multiprocessing.Brian Curtin2010-08-044-4/+4
| | | | | | | The test suite currently skips test_multiprocessing on Windows because it fails on finding _multiprocessing in several win32-specific blocks. Removing the relative import lets this through and allows the test to run (and pass).
* Issue #9496: Provide a test suite for the rlcompleter module. Patch byAntoine Pitrou2010-08-042-1/+73
| | | | Michele Orrù.
* fix test_smtplib/test_smtpd collision through pre-loaded reply data in ↵Richard Jones2010-08-043-4/+10
| | | | mock_socket
* Factor out stripping of interpreter debug output in ↵Antoine Pitrou2010-08-043-3/+13
| | | | test.support.strip_python_stderr()
* as per discussion with antoine revert changes made in 83708 as the user ↵Giampaolo Rodolà2010-08-042-49/+12
| | | | useing ftplib's readline methods is supposed to always use a binary file
* fix issue #6822: ftplib's storline method doesn't work with text filesGiampaolo Rodolà2010-08-042-12/+49
|
* issue #8687: provides a test suite for sched.py moduleGiampaolo Rodolà2010-08-042-1/+80
|
* fix issue #2944: asyncore doesn't handle connection refused correctly (patch ↵Giampaolo Rodolà2010-08-041-1/+4
| | | | by Alexander Shigin). Merged from 2.7 branch.
* Fix Issue754016 - urlparse goes wrong with IP:port without schemeSenthil Kumaran2010-08-042-5/+27
|
* improve smtpd module test coverageRichard Jones2010-08-041-5/+83
|
* That test was never run (since thread has been renamed to _thread in 3.x)Antoine Pitrou2010-08-041-14/+8
|
* #3196: if needed pad a short base64 encoded word before trying to decode.R. David Murray2010-08-032-1/+13
| | | | | | | | | The RFCs encourage following Postel's law: be liberal in what you accept. So if someone forgot to pad the base64 encoded word payload to an even four bytes, we add the padding before handing it to base64mime.decode. Previously, missing padding resulted in a HeaderParseError. Patch by Jason Williams.