13137 Commits

Author SHA1 Message Date
Benjamin Peterson
0c8cae1600 use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896) 2014-03-12 18:05:53 -05:00
Stefan Krah
b4466f0037 Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. 2014-01-21 22:58:40 +01:00
Benjamin Peterson
e834ed9437 open retrieved file in binary mode, since it's now compressed 2014-02-19 22:56:35 -05:00
Benjamin Peterson
7978357bab update logo url (#20695) 2014-02-19 22:55:16 -05:00
Benjamin Peterson
92acc9fa2a complain when nbytes > buflen to fix possible buffer overflow (closes #20246) 2014-01-13 23:06:14 -05:00
Benjamin Peterson
28cf368c1b complain when nbytes > buflen to fix possible buffer overflow (closes #20246) 2014-01-13 22:59:38 -05:00
Serhiy Storchaka
d804f53679 Backported test for the open of non-existent tarfile. 2014-01-13 19:08:51 +02:00
Serhiy Storchaka
e198692c39 Issue #20138: Backport tests for handling non-ASCII URLs in the
wsgiref.application_uri() and wsgiref.request_uri() functions.
2014-01-12 12:11:47 +02:00
Senthil Kumaran
fa6cecbc68 Adding test coverage for cgi.FieldStorage based on the scenario mentioned in issue #19097 2014-01-11 22:16:55 -08:00
Serhiy Storchaka
ee105dcc62 Fixed test_tempfilepager in test_pydoc on Windows.
Filename such as r'c:\users\db3l\appdata\local\temp\tmph3vkvf' contains '\t'
which is interpreted by ast.literal_eval() as a tabulation.
2014-01-10 22:43:03 +02:00
Serhiy Storchaka
664ebb03af Issue #20086: Output more details when test_getsetlocale_issue1813 is failed. 2014-01-10 15:34:51 +02:00
Serhiy Storchaka
0f11d0f778 Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.
2014-01-10 15:05:27 +02:00
Serhiy Storchaka
c9da0893d3 Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.
2014-01-10 13:36:56 +02:00
Serhiy Storchaka
9f8621fa7d Issue #13107: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS.  Based on patch by
Elazar Gershuni.
2014-01-09 23:13:48 +02:00
Antoine Pitrou
3b2afbbf88 Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for. 2014-01-09 19:52:12 +01:00
Benjamin Peterson
27b029bd00 clear zip stat cache after each ref leak run 2014-01-09 11:10:30 -06:00
Gregory P. Smith
f5dee4ddbd normalize whitespace from prior issue19081 fix commit. 2014-01-06 09:51:32 -08:00
Gregory P. Smith
b48c5d5107 Fixes issue19081: When a zipimport .zip file in sys.path being imported
from is modified during the lifetime of the Python process after
zipimport has already opened and cached the zip's table of contents
it now fstat's the file after opening it upon every attempt to access
anything within and will re-read the table of contents if the .zip file
inode, size or mtime have changed.

It would've been nicer to hold any .zip file used by zipimport open for the
duration of the process but that would be more invasive and add an additional
open file descriptor to all zipimport using processes.  It also would likely
not fix the problem on Windows due to different filesystem semantics.
2014-01-06 09:46:46 -08:00
R David Murray
984f630f0a #1065986: Make pydoc handle unicode strings.
Patch by Akira Kitada.
2014-01-05 12:35:59 -05:00
R David Murray
1d2ef64df6 #16039/#20118: temporarily skip failing imaplib SSL test.
The fix the test is testing prevents a DOS attack, and the failure
mode will also prevent the DOS attack, so for now skip the test.
Either the test or the code does need fixing, however.
2014-01-03 17:26:21 -05:00
R David Murray
020d7c379a closes 16039: CVE-2013-1752: limit line length in imaplib readline calls. 2014-01-03 13:59:22 -05:00
Benjamin Peterson
22d9ee7e17 complain if the codec doesn't return unicode 2013-12-28 10:33:58 -06:00
Antoine Pitrou
63cc99d9a6 Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data. 2013-12-28 17:26:33 +01:00
Serhiy Storchaka
e891de3cbb Fixed the wave module testing on big-endian platforms.
array.fromfile() works only with file objects, not io.FileIO instances.
2013-12-28 10:18:44 +02:00
Serhiy Storchaka
d551b28571 Issue #20027: Fixed locale aliases for devanagari locales. 2013-12-26 21:20:46 +02:00