summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1051: Add a script (Lib/test/make_ssl_certs.py) to generate theAntoine Pitrou2010-10-085-52/+123
| | | | custom certificate and private key files used by SSL-related certs.
* Add some debug output in verbose modeAntoine Pitrou2010-10-081-0/+4
|
* Better Python spawning primitives in test.script_helper, forAntoine Pitrou2010-10-084-85/+68
| | | | easier writing of unit tests and better error reporting.
* #4661: add bytes parsing and generation to email (email version bump to 5.1.0)R. David Murray2010-10-086-74/+554
| | | | | | | | The work on this is not 100% complete, but everything is present to allow real-world testing of the code. The only remaining major todo item is to (hopefully!) enhance the handling of non-ASCII bytes in headers converted to unicode by RFC2047 encoding them rather than replacing them with '?'s.
* Issue #1589: Add ssl.match_hostname(), to help implement server identityAntoine Pitrou2010-10-082-0/+130
| | | | verification for higher-level protocols.
* Issue #9978: Wait until subprocess completes initialization. (Win32KillTests ↵Hirokazu Yamamoto2010-10-082-2/+20
| | | | in test_os)
* Fix handling on negative numbers in ast.literal_eval().Raymond Hettinger2010-10-082-8/+16
|
* Fix #8584. Fix the skipping of a number of tests due to incorrect importing.Brian Curtin2010-10-071-18/+12
| | | | | | | | This undoes a previous attempt to fix some of the skips. Value and copy come from sharedctypes rather than plain ctypes, and the test skipping is then done at the class level rather than test-by-test. There are zero skipped tests after the fix.
* Issue #9759: GzipFile now raises ValueError when an operation is attemptedAntoine Pitrou2010-10-062-0/+32
| | | | after the file is closed. Patch by Jeffrey Finkelstein.
* FakeSocket is (supposed to be) gone in 3.xAntoine Pitrou2010-10-061-7/+0
|
* Fixes 9903: test_concurrent_futures writes on stderrBrian Quinlan2010-10-062-22/+33
|
* #2982 More test coverage for the pyexpat parser.Amaury Forgeot d'Arc2010-10-051-33/+80
|
* Fix test_tk under OS X with Tk 8.4. Patch by Ned Deily.Antoine Pitrou2010-10-051-2/+7
| | | | This should fix some buildbot failures.
* Fix interaction of custom translation classes and caching (#9042)Éric Araujo2010-10-042-1/+32
|
* GzipFile.peek improvements, suggested by Nir Aides.Antoine Pitrou2010-10-041-3/+5
|
* Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcherGiampaolo Rodolà2010-10-047-32/+46
|
* Issue #9065: no longer use "root" as the default for theLars Gustäbel2010-10-041-4/+4
| | | | | | | | | | | | | | uname and gname field. If tarfile creates a new archive and adds a file with a uid/gid that doesn't have a corresponding name on the system (e.g. because the user/group account was deleted) it uses the empty string in the uname/gname field now instead of "root". Using "root" as the default was a bad idea because on extraction the uname/gname fields are supposed to override the uid/gid fields. So, all archive members with nameless uids/gids belonged to the root user after extraction.
* Remove the debugging print line from the test.Senthil Kumaran2010-10-041-1/+0
|
* Fix Issue10012 - httplib headers, which are (sometimes mistakenly) int are ↵Senthil Kumaran2010-10-032-0/+11
| | | | explicitly cast to str (bytes - in py3k).
* Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of ↵Senthil Kumaran2010-10-032-4/+13
| | | | os.environ
* Fixed #8980: distutils.command.check was failing w/ docutils installedTarek Ziadé2010-10-032-7/+7
|
* add a test and a note about metaclasses now being abcsBenjamin Peterson2010-10-021-0/+13
|
* #1050268: make parseaddr 'quote' the contents of quoted strings in addresses.R. David Murray2010-10-022-2/+25
| | | | | | Also made the doc string for email._parseaddr's 'quote' function more accurate; I'd love to make the function match the old docstring instead, but other code uses it according the existing semantics.
* Make the printing of sqlite version in verbose mode work with regrtest -w.R. David Murray2010-10-021-6/+8
|
* Issue #8670: Rename testcapi unicode test methodsVictor Stinner2010-10-021-11/+11
| | | | | * test_aswidechar() => unicode_aswidechar() * test_aswidecharstring() => unicode_aswidecharstring()
* Oops, revert unwanted _testcapi changes of r85174Victor Stinner2010-10-021-11/+11
|
* Issue #8670: ctypes.c_wchar supports non-BMP characters with 32 bits wchar_tVictor Stinner2010-10-022-11/+18
|
* Issue #8670: PyUnicode_AsWideChar() and PyUnicode_AsWideCharString() replaceVictor Stinner2010-10-021-0/+20
| | | | | UTF-16 surrogate pairs by single non-BMP characters for 16 bits Py_UNICODE and 32 bits wchar_t (eg. Linux in narrow build).
* Issue #8870: PyUnicode_AsWideCharString() doesn't count the trailing nul ↵Victor Stinner2010-10-021-0/+39
| | | | | | character And write unit tests for PyUnicode_AsWideChar() and PyUnicode_AsWideCharString().
* Use proper variable name 'data' instead of 'str' in the send method.Senthil Kumaran2010-10-021-10/+10
|
* type.__abstractmethods__ should raise an AttributeError #10006Benjamin Peterson2010-10-021-0/+7
|
* Fix docstring typo.R. David Murray2010-10-011-1/+1
|
* #10004: in Q encoded word ignore '=xx' when xx is not valid hex.R. David Murray2010-10-012-1/+7
| | | | Bug report and fix by Thomas Guettler.
* Fix #10003. Add SIGBREAK to the set of valid signals on Windows.Brian Curtin2010-10-011-6/+6
| | | | This fixes a regression noticed by bzr, introduced by issue #9324.
* Issue #6608: time.asctime is now checking struct tm fields its inputAlexander Belopolsky2010-10-011-17/+23
| | | | before passing it to the system asctime. Patch by MunSic Jeong.
* Fix a couple spelling errors in comments and delete redundant __len__ def.R. David Murray2010-10-011-5/+2
|
* Issue1491 - BaseHTTPServer incorrectly implements response code 100Senthil Kumaran2010-09-302-3/+128
|
* Issue #9599: Further accuracy tweaks to loghelper. For an integer n that's ↵Mark Dickinson2010-09-291-2/+9
| | | | small enough to be converted to a float without overflow, log(n) is now computed as log(float(n)), and similarly for log10.
* Add testcases from bug report #9980.Mark Dickinson2010-09-291-0/+5
|
* test_imp: getfilesystemencoding() cannot be None anymoreVictor Stinner2010-09-291-1/+0
| | | | And the codec name is normalized.
* Use os.fsencode() to support surrogatesVictor Stinner2010-09-291-1/+1
|
* Fix NNTP when there's a ".netrc" fileAntoine Pitrou2010-09-292-3/+5
|
* Disable the usenetrc option when testing nntplibAntoine Pitrou2010-09-291-1/+2
|
* Issue #9360: Cleanup and improvements to the nntplib module. The APIAntoine Pitrou2010-09-292-290/+1747
| | | | | now conforms to the philosophy of bytes and unicode separation in Python 3. A test suite has also been added.
* Fix #9978. WINFUNCTYPE is from ctypes, not from ctypes.wintypes.Brian Curtin2010-09-291-2/+2
| | | | | r85073 changed the importing in wintypes to not use *, so the previous usage here became even more incorrect.
* Issue #9962: GzipFile now has the peek() method.Antoine Pitrou2010-09-292-1/+46
|
* linecache.updatecache(): don't the lines into the cache on IOErrorVictor Stinner2010-09-291-1/+1
| | | | Use the same behaviour than Python 2.7.
* linecache.updatecache() returns an empty list on errorVictor Stinner2010-09-291-1/+1
| | | | lines variable was not set on IOError
* Have test_sqlite print version info when run in verbose mode.R. David Murray2010-09-291-1/+6
|
* #7110: have regrtest print test failures and tracebacks to stderr not stdout.R. David Murray2010-09-291-6/+6
| | | | Patch by Sandro Tosi.