Antoine Pitrou
d0a5e9bb4a
Issue #22604 : Fix assertion error in debug mode when dividing a complex number by (nan+0j).
2014-10-10 23:49:32 +02:00
Petri Lehtinen
f85a856fb0
Issue #11694 : Raise ConversionError in xdrlib as documented
2014-10-10 21:11:34 +03:00
Benjamin Peterson
3d1f2d3b52
make _socket.socket weakrefable ( closes #22569 )
...
Patch from Alex Gaynor.
2014-10-06 14:38:20 -04:00
Serhiy Storchaka
77149a1c61
Issue #21951 : Temporary skip crashing test_user_command on AIX.
2014-07-30 10:58:34 +03:00
Victor Stinner
2af8d2f698
Issue #22023 : Fix %S, %R and %V formats of PyUnicode_FromFormat().
2014-07-30 00:39:05 +02:00
Robert Jordens
af09c774e5
Issue #21591 : add test for qualified exec in tuple form.
2014-07-29 17:24:24 +02:00
Victor Stinner
0a649c7bb1
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
...
on closed socket.
2014-07-26 14:52:55 +02:00
Charles-François Natali
5a1427c8a3
Issue #19875 : Fix random test_getsockaddrarg() failure.
2014-07-26 13:44:50 +01:00
Victor Stinner
fe9ebe4f4f
Issue #16133 : The asynchat.async_chat.handle_read() method now ignores
...
socket.error() exceptions with blocking I/O errors: EAGAIN, EALREADY,
EINPROGRESS, or EWOULDBLOCK. Initial patch written by Xavier de Gaye.
2014-07-24 19:15:00 +02:00
Victor Stinner
63a474788a
Issue #19884 : readline: Disable the meta modifier key if stdout is not a
...
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
2014-07-24 12:22:24 +02:00
Serhiy Storchaka
7cc3b0aefb
Backout 308f3c1e36d3. This change (issue21044) does not need to be merged on
...
2.7, as the os.fdopen sets the name attribute to '<fdopen>' and not to the fd.
2014-07-22 10:39:59 +03:00
Antoine Pitrou
4e64d8768f
Issue #21976 : Fix test_ssl to accept LibreSSL version strings.
...
Thanks to William Orr.
2014-07-21 18:35:01 -04:00
Serhiy Storchaka
e7829bdf12
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
...
attribute. Based on patch by Martin Panter.
2014-07-16 23:58:12 +03:00
Serhiy Storchaka
fdfe9fce8c
Add helpers for testing unicode disabled builds.
2014-07-16 23:50:37 +03:00
Ned Deily
c89376292e
Issue #21323 : Fix CGIHTTPServer to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:01:15 -07:00
Serhiy Storchaka
5fc570fc7e
Issue #21881 : Just omit tests for platform-specific NaN representation in test_tcl.
2014-07-07 14:47:17 +03:00
Serhiy Storchaka
668af7e955
Issue #21881 : Be more tolerant in test_tcl to not parsable by float() NaN
...
representations (on mips and m68k platforms).
2014-07-07 13:44:11 +03:00
Zachary Ware
6690eed48b
Issue #21151 : Fixed a segfault in the _winreg module.
...
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:57:44 -05:00
Berker Peksag
cf0a706c15
Issue #19870 : BaseCookie now parses 'secure' and 'httponly' flags.
...
Backport of issue #16611 .
2014-07-02 10:48:27 +03:00
Benjamin Peterson
bb4d3527cf
add a test for access errors from OpenKey ( closes #21871 )
...
Patch from Vladimir Iofik.
2014-06-29 13:02:12 -07:00
Benjamin Peterson
4becf85d54
don't allow unicode into type_map on Windows ( closes #21652 )
...
Patch from Vladimir Iofik.
2014-06-29 12:58:16 -07:00
Jesus Cea
fd3ba7b261
Closes #11279 : test_posix and lack of "id -G" support - less noise required? (Solaris)
2014-06-28 18:39:01 +02:00
Ned Deily
1f70b878c4
Issue #21811 : Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
2014-06-25 13:33:57 -07:00
Raymond Hettinger
58ad24512a
Issue #19145 : Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
...
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:53:45 -07:00
R David Murray
3eb76fc10b
#20155 : use fake HTTP method names so windows doesn't hang the tests.
...
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.
Patch by Jeff Allen.
2014-06-24 16:49:24 -04:00
Benjamin Peterson
550b945fd6
avoid overflow with large buffer sizes and/or offsets ( closes #21831 )
2014-06-23 20:12:27 -07:00
Benjamin Peterson
c459755df2
adjust zipfile tests for splitdrive improvements
2014-06-22 20:26:07 -07:00
Benjamin Peterson
3bef935512
fix ntpath.join on UNC-style paths by backporting py3k's splitdrive ( closes #21672 )
2014-06-22 19:07:38 -07:00
Raymond Hettinger
4575010943
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
2014-06-21 11:27:36 -07:00
Charles-François Natali
94919a44a2
Fix test_pydoc failure introduced by e89c39125892. Patch by Berker Peksag.
2014-06-20 22:57:19 +01:00
Terry Jan Reedy
729981861a
Issue #21768 : fix type in test_pydoc, patch by Claudiu Popa.
2014-06-20 14:59:07 -04:00
Benjamin Peterson
c0bc4eff50
avoid crashes and lockups from daemon threads during interpreter shutdown ( #1856 )
2014-06-16 19:39:18 -07:00
Benjamin Peterson
8d24d77c63
url unquote the path before checking if it refers to a CGI script ( closes #21766 )
2014-06-14 18:36:29 -07:00
Serhiy Storchaka
05b0a1be37
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:08 +03:00
Benjamin Peterson
75a55c3275
make sure the builtin help function doesn't fail when sys.stdin is not a valid file ( closes #11709 )
...
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
2014-06-07 20:14:26 -07:00
Benjamin Peterson
c3e1e90221
don't remove self from example code in the HTML output ( closes #13223 )
...
Patch by Víctor Terrón.
2014-06-07 16:44:00 -07:00
Benjamin Peterson
93e51aac54
allow the keyword else immediately after (no space) an integer ( closes #21642 )
2014-06-07 12:36:39 -07:00
Zachary Ware
9ce635f7bd
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:16 -05:00
Serhiy Storchaka
79fa98af9e
Issue #19656 : Running Python with the -3 option now also warns about
...
non-ascii bytes literals.
2014-06-01 22:13:39 +03:00
Benjamin Peterson
48f2e99808
backport hashlib.pbkdf2_hmac per PEP 466 ( closes #21304 )
...
Backport by Alex Gaynor.
2014-05-31 13:26:22 -07:00
Serhiy Storchaka
2a0220b18a
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the Tkinter module on 64-bit platforms.
2014-05-30 14:23:52 +03:00
Serhiy Storchaka
d11e8b6af7
Add tests for getint, getdouble and getboolean methods of the tkapp object.
2014-05-30 14:07:20 +03:00
Gregory P. Smith
0344a0643d
Fix issue #14315 : The zipfile module now ignores extra fields in the central
...
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:41:52 -07:00
Serhiy Storchaka
49b2086a2e
Issue #21493 : Added test for ntpath.expanduser(). Original patch by
...
Claudiu Popa.
2014-05-28 18:11:08 +03:00
Raymond Hettinger
fb8899a597
Issue #21481 : Teach argparse equality tests to return NotImplemented when comparing to unknown types.
2014-05-26 00:40:09 -07:00
Raymond Hettinger
f643b9a9c7
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
2014-05-25 22:13:41 -07:00
Raymond Hettinger
92df7529cb
Issue 13355: Make random.triangular degrade gracefully when low == high.
2014-05-25 17:40:25 -07:00
Serhiy Storchaka
1f94efc626
Issue #19925 : Added tests for the spwd module. Original patch by Vajrasky Kok.
2014-05-25 16:21:32 +03:00
Ned Deily
47e4b0bedb
Issue #18604 : Skip the Tk instantiation test on OS X because it can
...
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
2014-05-23 21:28:02 -07:00
Antoine Pitrou
ab4a69158b
Issue #21523 : Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
...
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00
Benjamin Peterson
5918f8f612
'sunos' not 'solaris
2014-05-17 16:33:59 -07:00
Benjamin Peterson
15773c893f
just skip this test on Solaris
2014-05-17 16:07:53 -07:00
Benjamin Peterson
6800d93eec
some platforms apparently don't care about fdopen'ing with a different mode
2014-05-17 15:50:38 -07:00
Senthil Kumaran
36f28f7ae8
Backport Fix for Issue #7776 : Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
...
Patch by Nikolaus Rath.
2014-05-16 18:51:46 -07:00
Benjamin Peterson
3428620b2b
this file now has utf-8 chars
2014-05-11 16:16:27 -07:00
Benjamin Peterson
629026aecc
backport hmac.compare_digest to partially implement PEP 466 ( closes #21306 )
...
Backport from Alex Gaynor.
2014-05-11 16:11:44 -07:00
Antoine Pitrou
b0acc1b0a3
Issue #21350 : Fix file.writelines() to accept arbitrary buffer objects, as advertised.
...
Patch by Brian Kearns.
2014-05-08 19:26:04 +02:00
Zachary Ware
2460dc880f
Issue #18604 : Consolidated checks for GUI availability.
...
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in runtktests.check_tk_availability. Also, every platform checks whether
Tk can be instantiated (if the platform-specific checks passed).
2014-05-02 10:33:49 -05:00
Antoine Pitrou
3ec903fce4
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
Tim Golden
3c5816f5e6
Issue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik
2014-04-27 16:36:47 +01:00
Terry Jan Reedy
807c9da951
Issue #18944 : backport typo fix
2014-04-26 13:55:59 -04:00
Tim Golden
3c603f3618
Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError where it previously crashed the interpreter. Patch by Brian Kearns
2014-04-26 15:47:08 +01:00
Zachary Ware
4e0df17bd7
Issue #21346 : Fix typos in test_itertools. Patch by Brian Kearns.
2014-04-24 13:20:27 -05:00
Andrew Kuchling
cb4069c329
#1704474 : mark refleak test as specific to CPython
...
Patch by Christian Hudon.
2014-04-15 16:44:43 -04:00
Benjamin Peterson
5c863bf938
when an exception is raised in fdopen, never close the fd (changing on my mind on #21191 )
2014-04-14 19:45:46 -04:00
Eric V. Smith
9a55cd8857
Issue #12546 : Allow \x00 as a fill character for builtin type __format__ methods.
2014-04-14 11:22:33 -04:00
Benjamin Peterson
02ab7a84ef
make sure fdopen always closes the fd in error cases ( closes #21191 )
2014-04-09 15:40:18 -04:00
Benjamin Peterson
3c0027b721
use with statement
2014-04-04 13:59:33 -04:00
Benjamin Peterson
c2dafe60bc
explicitly close file object ( #21128 )
2014-04-04 13:56:44 -04:00
Benjamin Peterson
7b26a5a32d
properly explicitly close file ( #21128 )
2014-04-04 13:56:26 -04:00
Benjamin Peterson
d7ffb77e6f
make temporary read-only files writable, so rmtree can remove them ( #21128 )
2014-04-04 13:55:56 -04:00
Benjamin Peterson
352eb4f432
properly close files in test_zipfile ( #20887 )
...
Patch by Matti Picus.
2014-04-03 10:31:25 -04:00
Benjamin Peterson
07681001c9
make sure to test UnicodeEncodeError, too
2014-04-02 15:51:38 -04:00
Benjamin Peterson
c4e6e0a279
bail in unicode error's __str__ methods if the objects are not properly initialized ( closes #21134 )
2014-04-02 12:15:06 -04:00
Benjamin Peterson
38534381f3
use https docs url ( #21115 )
2014-03-31 13:44:53 -04:00
Benjamin Peterson
d42f60ed81
fix overflow detection of strop.expandtabs
2014-03-30 20:09:44 -04:00
Ned Deily
b693e9fc5b
Issue #6676 : Ensure a meaningful exception is raised when attempting
...
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:38:32 -07:00
Ned Deily
c727533cf5
Issue #20939 : Use www.example.com instead of www.python.org to avoid test
...
failures when ssl is not present.
2014-03-26 23:25:02 -07:00
Victor Stinner
988bc970eb
Issue #21038 : Cleanup test_epoll.py
...
Remove useless test and unused variables. Initial patch by Andreas Schwab.
2014-03-25 12:53:47 +01:00
Victor Stinner
367f5d379c
Issue #21058 : Fix a leak of file descriptor in tempfile.NamedTemporaryFile(),
...
close the file descriptor if os.fdopen() fails
2014-03-25 09:08:16 +01:00
Ned Deily
a146df8dd6
Issue #20939 : Fix test_geturl failure in test_urllibnet due to
...
new redirect of http://www.python.org/ to https://www.python.org .
2014-03-15 13:14:15 -07:00
Benjamin Peterson
ae80f450a6
use ssl.PROTOCOL_SSLv23 for maximum compatibility ( closes #20896 )
2014-03-12 18:05:53 -05:00
Serhiy Storchaka
e50fe4c9eb
Issue #20283 : RE pattern methods now accept the string keyword parameters
...
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
2014-03-06 12:24:29 +02:00
Serhiy Storchaka
fd48a56b27
Correct and improve comments in test_fileinput ( closes #20501 ).
...
Thanks Vajrasky Kok and Zachary Ware.
2014-03-03 21:16:27 +02:00
Benjamin Peterson
bde1cfb0cd
fix test_posix.test_initgroups to work without supplemental groups ( closes #20249 )
2014-03-01 19:14:12 -05:00
Terry Jan Reedy
44fad467b9
Issue #20567 : Delete class attribute gui widgets in idle tests.
...
Code patch by Serhiy Storchaka
2014-02-27 18:47:23 -05:00
Serhiy Storchaka
68b8a94c91
Issue #20501 : fileinput module no longer reads whole file into memory when using
...
fileinput.hook_encoded.
2014-02-26 20:59:08 +02:00
Terry Jan Reedy
bd7cf3ade3
Issue #9974 : When untokenizing, use row info to insert backslash+newline.
...
Original patches by A. Kuchling and G. Rees (#12691 ).
2014-02-23 23:32:59 -05:00
Antoine Pitrou
aa73ea0408
Issue #20743 : Fix a reference leak in test_tcl.
2014-02-23 19:39:06 +01:00
Benjamin Peterson
0b1faeab6f
update logo url ( #20695 )
2014-02-19 22:51:08 -05:00
Serhiy Storchaka
2ac9d31108
Issue #6815 : os.path.expandvars() now supports non-ASCII Unicode environment
...
variables names and values.
2014-02-19 23:27:37 +02:00
Zachary Ware
c77d4ba85b
Issue #20510 : Confirm that the code attribute of the SystemExit
...
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
2014-02-19 10:43:13 -06:00
Zachary Ware
dd091d7531
Issue #20510 : Rewrote test_exit in test_sys to match existing comments
...
and to modernize. Initial patch by Gareth Rees.
2014-02-18 08:36:14 -06:00
Terry Jan Reedy
6858f00dab
Issue #8478 : Untokenizer.compat now processes first token from iterator input.
...
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
2014-02-17 23:12:07 -05:00
Terry Jan Reedy
7751a34400
Untokenize: An logically incorrect assert tested user input validity.
...
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
2014-02-17 16:45:38 -05:00
Benjamin Peterson
5503579db6
backout 369bf9fbaeff
2014-02-16 14:51:17 -05:00
Benjamin Peterson
f387e96768
remove tests for #19081
2014-02-16 14:48:26 -05:00
Benjamin Peterson
e9aab0fb98
backout #19081 to fix #20621
2014-02-16 14:20:14 -05:00
Ned Deily
e789a1d866
Issue #20605 : Make test_socket getaddrinfo OS X segfault test more robust.
2014-02-13 22:49:30 -08:00
Serhiy Storchaka
1d19f97eed
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
...
Based on patch by Stephen Tu.
2014-02-12 10:52:07 +02:00
Serhiy Storchaka
a4b9c878e4
Issue #19856 : shutil.move() failed to move a directory to other directory
...
on Windows if source name ends with os.altsep.
2014-02-11 10:30:06 +02:00
Serhiy Storchaka
79b6f17d70
Issue #20549 : Use specific asserts in mailbox, smtplib and poplib tests.
2014-02-08 15:05:53 +02:00
Serhiy Storchaka
528bed8e4a
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:49:55 +02:00
Serhiy Storchaka
708a5ea964
Issue #20546 : Use specific asserts in int tests.
2014-02-08 14:28:20 +02:00
Serhiy Storchaka
76249ea4a7
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:06:05 +02:00
Serhiy Storchaka
6a036793b6
Issue #20520 : Fixed readline test in test_codecs.
2014-02-06 09:26:32 +02:00
Serhiy Storchaka
cfc2c7bb86
Issue #19920 : Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
2014-02-05 20:55:13 +02:00
Serhiy Storchaka
dd9d64eb53
Issue #20498 : Fixed io.StringIO tests for newline='\n'. Added new tests.
2014-02-05 13:41:38 +02:00
Serhiy Storchaka
90ecc00183
Skip expr* tests for large integers for Tcl <8.5.
...
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
2014-02-03 22:30:22 +02:00
Antoine Pitrou
f581411255
Issue #20426 : When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
2014-02-03 20:59:59 +01:00
Serhiy Storchaka
ccffb25c54
Issue #20368 : The null character now correctly passed from Tcl to Python (in
...
unicode strings only). Improved error handling in variables-related commands.
2014-02-03 21:23:46 +02:00
Serhiy Storchaka
d2eff237a6
Issue #20368 : Add tests for Tkinter methods exprstring(), exprdouble(),
...
exprlong() and exprboolean().
2014-02-03 20:41:04 +02:00
Antoine Pitrou
c06634acfc
Issue #20435 : Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
2014-02-02 23:37:29 +01:00
Serhiy Storchaka
15b67d7d5b
Issue #19320 : Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
2014-02-02 23:04:06 +02:00
Ezio Melotti
5a88853bdc
#20288 : fix handling of invalid numeric charrefs in HTMLParser.
2014-02-01 21:20:22 +02:00
Serhiy Storchaka
47cb38cdcc
Backported a test for lone surrogates support in io.StringIO.
2014-01-29 11:49:13 +02:00
Gregory P. Smith
9ca520a09c
Remove unneeded use of globals() and locals() in test on imports
...
introduced with the issue19081 tests.
2014-01-28 00:29:46 -08:00
Gregory P. Smith
1a47955255
Refactor the new test for issue19081 to exec import statements into a
...
test_ns dict instead of the actual globals() and locals(). Suggested
after review by Thomas Wouters.
2014-01-27 22:06:51 -08:00
Serhiy Storchaka
31f5121275
Issue #19456 : ntpath.join() now joins relative paths correctly when a drive
...
is present.
2014-01-27 23:14:51 +02:00
Gregory P. Smith
027ab39014
Issue #19081 : Remove the zipimporter.files reference as the zip TOC
...
caches are module global in the zip_directory_cache. When it is
updated due to a changed zip file, all zipimporter instances need to
see the same updates TOC cache. This fixes the bug for the overlooked
submodule import case from the earlier round of changes. Includes
tests that would fail otherwise.
It also refactors zipimporter_init in the process to make it a bit
easier to read and understand. Less reuse of the same variable for
multiple purposes and the local path buffer is malloc'ed instead
of consuming a large MAXPATHLEN+2 chunk stack space.
2014-01-27 00:15:10 -08:00
Serhiy Storchaka
30d68c66e3
Issue #19990 : Added tests for the imghdr module.
...
Based on patch by Claudiu Popa.
2014-01-26 23:48:20 +02:00
Serhiy Storchaka
2403a787b9
Issue #8260 : The read(), readline() and readlines() methods of
...
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
2014-01-26 19:20:24 +02:00
Serhiy Storchaka
eb7ef94166
Third attempt to fix test_user_command on OpenSolaris.
2014-01-23 16:08:35 +02:00
Serhiy Storchaka
dc97667254
Other attempt to fix test_user_command on OpenSolaris.
2014-01-23 14:38:44 +02:00
Serhiy Storchaka
83515ecf42
Try to fix test_user_command on OpenSolaris where floats can have different
...
string representation in Tcl and Python.
2014-01-23 11:03:02 +02:00
Serhiy Storchaka
29d8e856b4
Added test_user_command in test_tcl.
...
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
2014-01-23 09:42:46 +02:00
Stefan Krah
70fdd79c92
Fix test failures --without-threads.
2014-01-22 13:18:09 +01:00
Florent Xicluna
edfd9addf6
Issue #17825 : Cursor ^ is correctly positioned for SyntaxError and IndentationError.
2014-01-22 01:33:59 +01:00
Stefan Krah
70df667dfe
Issue #20246 : Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
2014-01-21 23:05:52 +01:00
Serhiy Storchaka
49259359ee
Issue #20262 : Warnings are raised now when duplicate names are added in the
...
ZIP file or too long ZIP file comment is truncated.
2014-01-20 21:57:09 +02:00
Serhiy Storchaka
326b5ab05a
Issue #20270 : urllib and urlparse now support empty ports.
2014-01-18 18:30:09 +02:00
Serhiy Storchaka
7a278da4ee
Issue #20243 : TarFile no longer raise ReadError when opened in write mode.
2014-01-18 16:14:00 +02:00
Serhiy Storchaka
cdf1ebd8fe
Backported test for issue #20238 .
2014-01-18 15:54:32 +02:00
Serhiy Storchaka
75ba21a77d
Issue #20245 : The open functions in the tarfile module now correctly handle empty mode.
2014-01-18 15:35:19 +02:00
Serhiy Storchaka
af080876dc
Issue #20086 : Restored the use of locale-independing mapping instead of
...
locale-depending str.lower() in locale.normalize().
2014-01-17 09:27:56 +02:00
Serhiy Storchaka
e0ed2d75c8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Benjamin Peterson
d93d6332ee
add test for #20251
2014-01-14 00:27:42 -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
Serhiy Storchaka
5542b15d25
Issue #19320 : test_tcl no longer fails when wantobjects is false.
2013-12-25 17:28:50 +02:00
Serhiy Storchaka
18ab51d2ee
Merge heads
2013-12-19 22:31:23 +02:00
Serhiy Storchaka
80b76bf0f9
Don't use sebTest() in tests for issue #5815 .
2013-12-19 22:28:25 +02:00
Zachary Ware
1875536480
Issue #19683 : Removed empty tests from test_minidom.
...
Initial patch by Ajitesh Gupta.
2013-12-19 13:44:19 -06:00
Serhiy Storchaka
bd78986279
Issue #5815 : Fixed support for locales with modifiers. Fixed support for
...
locale encodings with hyphens.
2013-12-19 21:21:06 +02:00
Serhiy Storchaka
0c221beed4
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:26:56 +02:00
Antoine Pitrou
bd4b667ea4
Issue #20006 : Fix sporadic failures in test_weakset.
2013-12-18 00:28:36 +01:00
Serhiy Storchaka
c97f5ede8f
Issue #20007 : HTTPResponse.read(0) no more prematurely closes connection.
...
Original patch by Simon Sapin.
2013-12-17 21:49:48 +02:00
Serhiy Storchaka
84e7e5f40e
Skip test for issue #17976 if /dev/null is not available.
2013-12-17 14:53:32 +02:00
Serhiy Storchaka
6d562319d2
Issue #17976 : Fixed potential problem with file.write() not detecting IO error
...
by inspecting the return value of fwrite(). Based on patches by Jaakko Moisio
and test by Victor Stinner.
2013-12-17 14:40:06 +02:00
Zachary Ware
51e90bcee5
Issue #19987 : Re-write test_alias_fallback in test_winsound to have two
...
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
2013-12-16 08:58:10 -06:00
Serhiy Storchaka
dd5a46c696
Issue #19912 : Fixed numerous bugs in ntpath.splitunc().
...
* splitunc() no more returns illegal result for paths with redundant slashes.
* splitunc() now correctly processes the u'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Added new tests for splitunc().
2013-12-16 15:15:29 +02:00
Serhiy Storchaka
d1a61dcc65
Issue #19623 : Fixed writing to unseekable files in the aifc module.
...
Fixed writing 'ulaw' (lower case) compressed AIFC files.
2013-12-14 20:34:33 +02:00
Serhiy Storchaka
a92cc91ee6
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:11:04 +02:00
Serhiy Storchaka
17f22c9281
Issue #17919 : select.poll.poll() again works with poll.POLLNVAL on AIX.
2013-12-13 12:09:05 +02:00
Victor Stinner
66c6e9dcb4
Issue #14432 : Generator now clears the borrowed reference to the thread state
...
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
2013-12-13 02:37:09 +01:00
Zachary Ware
b06231a9c9
Issue #19572 : Replace a return that shouldn't have been removed from test_os.
...
This should fix the test_os failure on the AMD64 Windows 7 buildbot.
2013-12-10 16:06:46 -06:00
Zachary Ware
227c01a194
Issue #19928 : Fix test on Windows
2013-12-10 14:14:28 -06:00
Zachary Ware
1f70221b86
Issue #19572 : More silently skipped tests explicitly skipped.
2013-12-10 14:09:20 -06:00
Nadeem Vawda
284164b476
Skip test for #19878 on Windows.
2013-12-10 17:23:00 +01:00
Serhiy Storchaka
95d721927a
Issue #19928 : Implemented a test for repr() of cell objects.
2013-12-10 10:20:11 +02:00
Serhiy Storchaka
5493d5ea2a
Issue #19099 : The struct module now supports Unicode format strings.
2013-12-08 17:44:50 +02:00
Nadeem Vawda
337c50b8cb
Closes #19878 : Fix segfault in bz2 module.
...
Initial patch by Vajrasky Kok.
2013-12-08 15:31:50 +01:00
Serhiy Storchaka
7c573857c7
Issue #16373 : Prevent infinite recursion for ABC Set class comparisons.
2013-12-06 23:23:15 +02:00
Kristján Valur Jónsson
222b284911
Issue #7105 : weak dict iterators are fragile because of unpredictable GC runs
...
Backport the fix from pyton 3.x for this issue.
2013-12-05 10:03:45 +00:00
Tim Peters
c289fa7556
Fudge - http.client doesn't exist in 2.7. Use Queue.Empty instead.
2013-12-03 21:49:30 -06:00
Tim Peters
0ee9baa8d4
Issue #19138 : doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
...
Grafted from c80083ad142d.
2013-12-03 21:02:05 -06:00
Alexandre Vassalotti
df9460f8dc
Issue #6477 : Revert fbb97f6eb3b3 as it broke test_xpickle.
2013-11-30 17:43:42 -08:00
Alexandre Vassalotti
a2934280e5
Issue #6477 : Added pickling support for singletons and their types.
2013-11-30 16:52:03 -08:00
Alexandre Vassalotti
1d3a173326
Issue #16231 : Allow false values other than None to be used as persistent IDs.
2013-11-30 13:24:13 -08:00
Zachary Ware
72a01b29bf
Issue #19595 : Re-enable a long-disabled test in test_winsound
2013-11-27 23:56:04 -06:00
Eli Bendersky
f933e081dd
Issue #19815 : Fix segfault when parsing empty namespace declaration.
...
Based on patches by Christian Heimes and Vajrasky Kok
2013-11-28 06:25:45 -08:00
Serhiy Storchaka
cf6a3e2a27
Skip test_find_mac on Windows (issue #19804 ).
...
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
2013-11-27 08:57:33 +02:00
Zachary Ware
2a57009b04
Merge heads
2013-11-26 14:55:46 -06:00
Zachary Ware
c0aa2457d8
Issue #19588 : Fixed tests in test_random that were silently skipped most
...
of the time. Patch by Julian Gindi.
2013-11-26 14:49:42 -06:00
Serhiy Storchaka
6d9d30da6a
Issue #11508 : Fixed uuid.getnode() and uuid.uuid1() on environment with
...
virtual interface. Original patch by Kent Frazier.
2013-11-26 22:47:05 +02:00
Antoine Pitrou
60e361fe42
Fix misuse of the bigmemtest decorator
2013-11-26 20:00:34 +01:00
Mark Dickinson
c02c6df2c7
Issue #19638 : Skip large digit string tests on 32-bit platforms.
2013-11-26 17:02:46 +00:00
Mark Dickinson
c2f8c81af0
Issue #19638 : Raise ValueError instead of crashing when converting billion character strings to float.
2013-11-26 16:38:25 +00:00
Gregory P. Smith
d899caa6ca
Fix test_fcntl to run properly on systems that do not support the flags
...
used in the "does the value get passed in properly" test.
2013-11-25 04:45:27 +00:00
Gregory P. Smith
d82634d606
Fix test.test_support.bind_port() to not cause an error when Python was
...
compiled on a system with SO_REUSEPORT defined in the headers but run on
a system with an OS kernel that does not support that new socket option.
2013-11-24 19:42:15 -08:00
Antoine Pitrou
358da5b9f8
Issue #19308 : fix the gdb plugin on gdbs linked with Python 3
2013-11-23 17:40:36 +01:00
Richard Oudkerk
6d24a6e0bb
Issue #19599 : Use a separate pool for test_terminate().
2013-11-21 16:35:12 +00:00
Serhiy Storchaka
5397c97451
Issue #19633 : Fixed writing not compressed 16- and 32-bit wave files on
...
big-endian platforms.
Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file on big-endian platforms.
2013-11-21 11:04:37 +02:00
Serhiy Storchaka
78ecaba482
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
2013-11-20 17:44:38 +02:00
R David Murray
eccf9c2e2f
#19449 : Handle non-string keys when generating 'fieldnames' error.
...
Backport from 3.3 6e5afeada7ca.
2013-11-19 13:25:24 -05:00
Serhiy Storchaka
000b4c527d
Issue #19603 : Use specific asserts in test_decr.
2013-11-17 23:39:24 +02:00
Richard Oudkerk
65162a7cca
Issue #19599 : Increase sleep period.
2013-11-17 17:45:16 +00:00
Richard Oudkerk
3f8376eaa2
Fix handling of SystemExit and exit code. Patch by Brodie Rao.
2013-11-17 17:24:11 +00:00
Serhiy Storchaka
be1d3c1818
Issue #19606 : Use specific asserts in cookielib tests.
2013-11-17 13:47:02 +02:00
Serhiy Storchaka
ca626b12cb
Issue #19607 : Use specific asserts in weakref tests.
2013-11-17 13:20:50 +02:00
Serhiy Storchaka
1438b9877d
Issue #19605 : Use specific asserts in datetime tests
2013-11-17 13:03:21 +02:00
Serhiy Storchaka
843ef750a9
Issue #19604 : Use specific asserts in array tests.
2013-11-17 00:44:57 +02:00
Serhiy Storchaka
c47d723eb0
Issue #1575020 : Fixed support of 24-bit wave files on big-endian platforms.
2013-11-09 23:09:44 +02:00
Ezio Melotti
b814745226
#19480 : HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.
2013-11-07 18:31:36 +02:00
Terry Jan Reedy
c0e60476a4
Issue #19397 : test_pydoc now works with -S (help not added to builtins).
...
Patch by Serhiy Storchaka and Vajrasky Kok.
2013-11-04 21:45:33 -05:00
Zachary Ware
57d35c6494
Issue #17883 : Tweak test_tcl testLoadWithUNC to skip the test in the
...
event of a permission error on Windows and to properly report other
skip conditions.
2013-11-03 22:51:25 -06:00
Terry Jan Reedy
a1ea893334
Issue #XXXXX: Fix test_idle so that idlelib test cases are actually run
...
under test.regrtest on 2.7.
2013-11-03 23:37:54 -05:00
Zachary Ware
14b38f58c2
Issue #17883 : Backport test.test_support._is_gui_available()
...
This should stop the Windows buildbots from hanging on test_ttk_guionly.
2013-11-03 22:27:04 -06:00
Serhiy Storchaka
d412b495da
Fix test_os (issue #18702 ).
2013-11-03 23:25:42 +02:00
Serhiy Storchaka
32e23e739f
Issue #18702 : All skipped tests now reported as skipped.
2013-11-03 23:15:46 +02:00
Serhiy Storchaka
1fdc702861
Issue #19457 : Fixed xmlcharrefreplace tests on wide build when tests are
...
loaded from .py[co] files.
2013-10-31 17:06:03 +02:00
Benjamin Peterson
ae7894c953
merge 2.7.6 release branch
2013-10-30 12:43:44 -04:00
Benjamin Peterson
1ef959ac3d
use the collapsed path in the run_cgi method ( closes #19435 )
2013-10-30 12:43:09 -04:00
Richard Oudkerk
21aad9792f
Issue #19425 -- a pickling error should not cause pool to hang.
2013-10-28 23:02:22 +00:00
Serhiy Storchaka
22fb0dec30
Issue #19327 : Fixed the working of regular expressions with too big charset.
2013-10-24 22:02:42 +03:00
Senthil Kumaran
2147857db3
Increase macurl2path test coverage
2013-10-23 21:45:58 -07:00
Tim Golden
17934856dc
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
2013-10-22 20:45:13 +01:00
Ezio Melotti
bc38548145
#8964 : fix platform._sys_version to handle IronPython 2.6+.
2013-10-21 03:03:32 +03:00
Serhiy Storchaka
2585e1e48a
Issue #16038 : CVE-2013-1752: ftplib: Limit amount of data read by
...
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:57:07 +03:00
Serhiy Storchaka
f105672332
Issue #19279 : UTF-7 decoder no more produces illegal unicode strings.
2013-10-19 20:37:49 +03:00
Serhiy Storchaka
2235648b86
Issue 19276: Fix tests for wave files on big-endian platforms.
...
Skip tests for 24-bit wave file on big-endian platforms.
2013-10-17 12:45:45 +03:00
Victor Stinner
a5cd255a7c
Close #19267 : Fix support of multibyte encoding (ex: UTF-16) in the logging
...
module.
2013-10-15 23:36:56 +02:00
Serhiy Storchaka
e1a8a40d1d
Issue #18919 : Fixed resource leaks in audio tests.
2013-10-14 20:09:30 +03:00
Serhiy Storchaka
c72105c06d
Issue #18919 : Catch and check warnings in the aifc module tests.
2013-10-14 20:03:06 +03:00
Serhiy Storchaka
0fa0173893
Issue #18919 : Added tests for the sunau module. Unified and extended tests
...
for audio modules: aifc, sunau and wave.
2013-10-13 17:47:22 +03:00
Mark Dickinson
36f6e2c9e0
Issue #18739 : Fix inconsistent results from math.log(n) and math.log(long(n))
2013-10-13 10:55:15 +01:00
Tim Peters
641d6217a8
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
...
(grafted from e06edc0c7a4951327f0c95ebeebccba6879a6063)
2013-10-08 20:55:51 -05:00
Ezio Melotti
256735ce00
#19166 : use an unused var in a test. Patch by Vajrasky Kok.
2013-10-05 03:01:37 +03:00
Serhiy Storchaka
fdda200195
Issue #19137 : The pprint module now correctly formats empty set and frozenset
...
and instances of set and frozenset subclasses.
2013-10-02 11:40:26 +03:00
Barry Warsaw
d5849f545e
- Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-09-30 19:09:29 -04:00
Barry Warsaw
42faa55124
- Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-09-30 18:35:15 -04:00
Barry Warsaw
c545a5ebd6
- Issue #16041 : CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much member. Patch by Jyrki
Pulliainen.
2013-09-30 15:56:29 -04:00
Barry Warsaw
6c1bb7b4e3
- Issue #16037 : HTTPMessage.readheaders() raises an HTTPException when more
...
than 100 headers are read. Adapted from patch by Jyrki Pulliainen.
2013-09-29 13:59:06 -04:00
Richard Oudkerk
c54960723f
Issue #19112 : avoid using function defined in method.
2013-09-29 17:10:40 +01:00
Benjamin Peterson
f20cf944ab
move helper function into its test method ( closes #19112 )
2013-09-29 11:08:04 -04:00
Barry Warsaw
d6fddf3d15
- Issue #16038 : CVE-2013-1752: ftplib: Limit amount of data read by
...
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
with test fixes by Serhiy Storchaka.
2013-09-25 09:36:58 -04:00
Barry Warsaw
4e95d60191
- Issue #16039 : CVE-2013-1752: Change use of readline in imaplib module to
...
limit line length. Patch by Emil Lind.
2013-09-22 16:07:09 -04:00
Nick Coghlan
254a377222
This check can still fail on RHEL6
2013-09-22 19:36:09 +10:00
R David Murray
74213e4ee9
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-16 14:32:54 -04:00
R David Murray
4189b67a66
#14984 : On POSIX, enforce permissions when reading default .netrc.
...
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
2013-09-16 13:48:44 -04:00
Eli Bendersky
e207e38c53
Close #18945 : Add tests for tempfile name collision handling.
...
Patch by Vlad Shcherbina
2013-09-15 12:08:14 -07:00
Andrew Kuchling
503baf9ecd
#16042 : CVE-2013-1752: Limit amount of data read by limiting the call to readline().
...
The SSLFakeFile.readline() method needs to support limiting readline() as
well. It's not a full emulation of readline()'s signature, but this class
is only used by smtplib's code, so it doesn't have to be.
Modified version of original patch by Christian Heimes.
2013-09-15 13:11:47 -04:00
Raymond Hettinger
39659f22fa
Issue #19018 : The heapq.merge() function no longer suppresses IndexError
2013-09-14 22:17:39 -07:00
Senthil Kumaran
d4fac04fde
Fix SimpleHTTPServer's request handling case on trailing '/'.
...
Patch contributed by Vajrasky Kok. Addresses Issue #17324
2013-09-13 00:18:55 -07:00
Serhiy Storchaka
9402533cb1
Fixed tests with Tcl/Tk <8.5 ( closes #18964 ).
2013-09-08 20:32:56 +03:00
Eli Bendersky
8c7e925f6e
Close #18849 : Fixed a Windows-specific tempfile bug where collision with an
...
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
2013-09-06 06:17:15 -07:00
Serhiy Storchaka
6db9e88eff
Issue #18830 : inspect.getclasstree() no more produces duplicated entries even
...
when input list contains duplicates.
2013-09-05 17:28:10 +03:00
Antoine Pitrou
213fec4bff
Issue #18876 : The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
...
Patch by Erik Bray.
2013-09-04 20:46:33 +02:00
Christian Heimes
bde2985f1d
Python 2.6's ssl module has neither OPENSSL_VERSION_INFO nor _OPENSSL_API_VERSION
2013-09-03 14:47:00 +02:00
Terry Jan Reedy
71b2ded05e
Silence deprecation warning in test_mmap for ValueError.message.
...
Replacement is from 3.3, with 'p' added to make '...Regexp'.
2013-08-31 21:14:00 -04:00
Antoine Pitrou
33fc744ea3
Issue #18851 : Avoid a double close of subprocess pipes when the child process fails starting.
2013-08-30 23:38:13 +02:00
Charles-François Natali
30a5445b30
Issue #18418 : After fork(), reinit all threads states, not only active ones.
...
Patch by A. Jesse Jiryu Davis.
2013-08-30 23:30:50 +02:00
Charles-François Natali
5aac8b7c2c
Issue #18643 : Fix some test_socket failures due to large default socket buffer
...
sizes.
2013-08-29 19:00:30 +02:00
Ezio Melotti
290c6b3446
#18833 : add a test for test_telnetlib. Patch by Alex Volkov.
2013-08-25 23:56:43 +03:00
Christian Heimes
a0c8373e32
Fix test
2013-08-25 14:44:27 +02:00
Christian Heimes
8f65ef8853
Issue #18709 : Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
2013-08-25 14:12:41 +02:00
Christian Heimes
f869a9484a
Issue #18709 : Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
2013-08-25 14:12:41 +02:00
Antoine Pitrou
e758715144
Issue #18756 : make test_urandom_failure more robust by executing its code in a subprocess
2013-08-24 20:52:27 +02:00
Ezio Melotti
6c61a5afef
#18798 : fix typo in test_fcntl. Patch by Vajrasky Kok.
2013-08-23 23:06:31 +03:00
Barry Warsaw
82f8828317
- Issue #18709 : Fix CVE-2013-4238. The SSL module now handles NULL bytes
...
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for `rfc822Name` (email), `dNSName` (DNS) and
`uniformResourceIdentifier` (URI).
2013-08-23 13:26:49 -04:00
Serhiy Storchaka
2ac1c1a31d
Issue #16809 : Tkinter's splitlist() and split() methods now accept Tcl_Obj
...
argument.
This is needed for support Tcl/Tk 8.6.
2013-08-22 17:42:45 +03:00
Antoine Pitrou
78254dc6fc
Issue #18792 : Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.
2013-08-22 00:39:46 +02:00
Serhiy Storchaka
4203570d01
Issue #17119 : Fixed integer overflows when processing large Unicode strings
...
and tuples in the tkinter module.
2013-08-21 21:46:12 +03:00
Serhiy Storchaka
c360389453
Issue #8865 : Concurrent invocation of select.poll.poll() now raises a
...
RuntimeError exception. Patch by Christian Schubert.
2013-08-20 20:38:21 +03:00
Serhiy Storchaka
83737c632c
Issue #2537 : Remove breaked check which prevented valid regular expressions.
...
Patch by Meador Inge.
See also issue #18647 .
2013-08-19 23:20:07 +03:00
Ezio Melotti
419e23cbb0
#18466 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:56:09 +03:00
Ezio Melotti
5dd99ebbc2
#18741 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:07:38 +03:00
Christian Heimes
88b174c977
Issue #18709 : Fix CVE-2013-4238. The SSL module now handles NULL bytes
...
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for rfc822Name (email), dNSName (DNS) and
uniformResourceIdentifier (URI).
2013-08-17 00:54:47 +02:00
Antoine Pitrou
326ec048bf
test_execvpe_with_bad_arglist shouldn't be in URandomTests
2013-08-16 20:56:12 +02:00
Antoine Pitrou
f48a67b317
Issue #18756 : Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
2013-08-16 20:44:38 +02:00
Ezio Melotti
d674927086
#18687 : remove obsolete comment. Patch by Févry Thibault.
2013-08-13 12:53:40 +03:00
Senthil Kumaran
1eeba83867
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
2013-08-12 22:24:43 -07:00
Ezio Melotti
7921b30be6
#18357 : add tests for dictview set difference. Patch by Fraser Tweedale.
2013-08-08 20:09:19 +03:00
Serhiy Storchaka
e822b034e7
Issue #15866 : The xmlcharrefreplace error handler no more produces two XML
...
entities for a non-BMP character on narrow build.
2013-08-06 16:56:26 +03:00
Eli Bendersky
b671701149
Issue #13612 : Fix a buffer overflow in case of a multi-byte encoding.
...
This is a belated backport of f7b47fb30169; Patch by Serhiy Storchaka.
2013-08-04 06:09:49 -07:00
Serhiy Storchaka
3ade66c203
Issue #17998 : Fix an internal error in regular expression engine.
2013-08-03 19:26:33 +03:00
Charles-François Natali
e8e312142e
Issue #18325 : Fix a test_kqueue failure on OpenBSD: kevent's data and event
...
members are integers.
2013-08-02 10:01:46 +02:00
Raymond Hettinger
662908b5e5
Restore the data block size to 62.
...
The former block size traded away good fit within cache lines in
order to gain faster division in deque_item(). However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift. Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.
GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x * 9520900167075897609 >> 69".
2013-07-28 02:34:42 -07:00
Terry Jan Reedy
16b10c64d7
Issue #18441 : Move commented out code to issue message.
2013-07-28 00:01:00 -04:00
Terry Jan Reedy
d826d77d11
Issue #18441 : whitespace
2013-07-27 22:29:09 -04:00
Terry Jan Reedy
47cb4d62c6
Issue #18441 : Comment out code that will not compile because the standard
...
library has a package, lib-tk, that cannot be imported by normal means.
Lib/test/test_tk, etc, have special code to access this package. I will not
bother with it unless the darwin check is needed before it gets moved to
test.(test-)support.py.
2013-07-27 22:27:25 -04:00
Terry Jan Reedy
d71244f189
Issue #18441 : add Mac (darwin) gui check. This is not needed today, but has been
...
in the past and might be needed again in the future
2013-07-27 22:06:03 -04:00
Terry Jan Reedy
6fb6f8cf58
Issue #18441 : Correct previous patch, which hg committed before I wanted it to.
2013-07-27 19:07:07 -04:00
Terry Jan Reedy
09eb26fe26
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Ezio Melotti
e21b6ae725
#14853 : remove test that was making too many assumptions about stdin. Patch by Elena Oat.
2013-07-25 05:21:00 +02:00
Terry Jan Reedy
f688f725b5
Backed out changeset: 23b0164b9c82 #18441 not working
2013-07-21 21:57:52 -04:00
Terry Jan Reedy
1ad65ac841
Backed out changeset: 9f922270a929 so can backout larger patch
2013-07-21 21:57:02 -04:00
Terry Jan Reedy
518e48b2bc
Issue #18441 : fix buildbot name-error for TclError.
2013-07-21 21:24:45 -04:00
Terry Jan Reedy
2c636fd655
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Serhiy Storchaka
fab65428d5
Issue #18101 : Tcl.split() now process Unicode strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and tcl.splitline().
2013-07-11 20:32:48 +03:00
Christian Heimes
20d46692fc
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:41:30 +02:00
Antoine Pitrou
0c503c2c7f
Issue #11185 : Fix test_wait4 under AIX. Patch by Sébastien Sablé.
2013-07-04 21:03:10 +02:00