Commit Graph

26747 Commits

Author SHA1 Message Date
Ned Deily 3e5e74ad4c Issue #24497: update link in test_decimal comments 2015-06-24 13:36:53 -07:00
Antoine Pitrou 0d2fac1fba Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). 2015-06-23 14:31:11 +02:00
Ned Deily 9487043453 Issue #24408: Prevent test_font failures with non-ascii font names. 2015-06-21 13:57:30 -07:00
Serhiy Storchaka 18d69e0edc Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.
2015-06-21 14:41:36 +03:00
Serhiy Storchaka 66f8d75ba8 Issue #24408: Added more tkinter.Font tests. 2015-06-09 07:21:31 +03:00
Serhiy Storchaka 637c8e88ab Issue #24299: Fixed test__locale on Solaris. 2015-06-08 18:48:33 +03:00
Donald Stufft e629fef213 Upgrade pip to 7.0.3 and setuptools to 17.0 2015-06-02 11:38:01 -04:00
Donald Stufft 69c0d26159 Issue #24267 - Ensure that pip version check is disabled on uninstall 2015-06-02 10:54:37 -04:00
Serhiy Storchaka c7797dc748 Issue #19543: Emit deprecation warning for known non-text encodings.
Backported issues #19619: encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.

Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
2015-05-31 20:21:00 +03:00
Serhiy Storchaka cfb7028df4 Fixed test_audioop for issue #24326.
24-bit samples are not supported in 2.7.
2015-05-31 12:05:40 +03:00
Serhiy Storchaka dc967c137c Fixed the array module in unicode disabled build (regression of issue20014). 2015-05-31 11:56:48 +03:00
Serhiy Storchaka 062bed289b Issue #24264: Fixed buffer overflow in the imageop module. 2015-05-31 09:05:10 +03:00
Serhiy Storchaka d6bfa94493 Issue #21853: Fixed the inspect module in unicode disabled build. 2015-05-31 08:01:00 +03:00
Serhiy Storchaka 59ea508bb8 Issue #5633: Fixed timeit when the statement is a string and the setup is not. 2015-05-30 19:37:19 +03:00
Serhiy Storchaka 1e95340bc3 Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.
2015-05-30 00:53:26 +03:00
Serhiy Storchaka 9d1de8a2a9 Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
value in the host header was set to "None".  Patch by Demian Brecht.
2015-05-28 22:37:13 +03:00
Raymond Hettinger 1a7c3571c7 Issue #24286: Register dict views with the MappingView ABCs. 2015-05-26 01:35:54 -07:00
Benjamin Peterson fdd70ae453 keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
Terry Jan Reedy 3dc4082cbe Update idlelib/NEWS.txt. 2015-05-23 17:23:23 -04:00
Benjamin Peterson 5bd3be83fa merge 2.7.10 release branch 2015-05-23 11:03:20 -05:00
Benjamin Peterson 5a29c5cc45 python 2.7.10 final 2015-05-23 11:02:14 -05:00
Benjamin Peterson fa3d5b5b95 merge 2.7.10 release branch 2015-05-23 10:47:39 -05:00
Benjamin Peterson ec7abfb58f allow square brackets in cookie values (#22931) 2015-05-23 10:46:25 -05:00
Donald Stufft bd2f9c2194 Upgrade pip to 7.0.1 2015-05-22 20:28:52 -04:00
Benjamin Peterson b1f3797450 merge 2.7.10 release branch 2015-05-22 17:55:22 -05:00
Benjamin Peterson a71a4f4ed3 make idlever.py self-updating (closes #24199) 2015-05-22 17:53:06 -05:00
Serhiy Storchaka 80cb186b49 Issue #24257: Fixed segmentation fault in sqlite3.Row constructor with faked
cursor type.
2015-05-22 11:00:40 +03:00
Donald Stufft d9ac81765e Upgrade pip to 7.0 and setuptools to 16.0 2015-05-22 00:43:31 -04:00
Serhiy Storchaka 3220849524 Issue #24134: Use assertRaises() in context manager form in test_slice to
avoid passing the test accidently because slice.__hash__ is None.
2015-05-20 18:37:37 +03:00
Serhiy Storchaka bc5046634a Issue #24245: Eliminated senseless expect clauses that have no any effect in
IDLE.  Patch by Martin Panter.
2015-05-20 16:14:54 +03:00
Serhiy Storchaka 9eb0c0e73e Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
when a directory with the chosen name already exists on Windows as well as
on Unix.  tempfile.mkstemp() now fails early if parent directory is not
valid (not exists or is a file) on Windows.
2015-05-20 00:10:56 +03:00
Serhiy Storchaka 49f2ccf83d Issue #6598: Increased time precision and random number range in
email.utils.make_msgid() to strengthen the uniqueness of the message ID.
2015-05-19 10:09:27 +03:00
Terry Jan Reedy 23120090f5 Issue #24222: Fix regression introduced with idlelib/PyShell.py future print
import.  Idle -c "code", -r file.py again compile with print statement.
2015-05-18 15:37:37 -04:00
Serhiy Storchaka 14e10a19f7 Issue #24102: Fixed exception type checking in standard error handlers. 2015-05-18 16:08:38 +03:00
Raymond Hettinger 51dbc9a4ad Issue #23757: Only call the concrete list API for exact lists. 2015-05-17 14:37:39 -07:00
Serhiy Storchaka 4b2c468e74 Issue #15809: IDLE shell now uses locale encoding instead of Latin1 for
decoding unicode literals.
2015-05-17 13:53:54 +03:00
Terry Jan Reedy c8059e48f2 Issue #24199: Stop using idelver in aboutdialog. 2015-05-16 19:28:27 -04:00
Serhiy Storchaka d6c1c1e3e2 Added tests for more builtin types. 2015-05-16 21:34:56 +03:00
Terry Jan Reedy 848543763f Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart. 2015-05-16 14:23:33 -04:00
Serhiy Storchaka 80573bb902 Issue #15267: HTTPConnection.request() now is compatibile with old-style
classes (such as TemporaryFile).  Original patch by Atsuo Ishimoto.
2015-05-16 18:58:41 +03:00
Serhiy Storchaka b70091a8d5 Issue #20014: array.array() now accepts unicode typecodes. Based on patch by
Vajrasky Kok.
2015-05-16 17:11:41 +03:00
Serhiy Storchaka f40fcb33d2 Issue #23637: Showing a warning no longer fails with UnicodeErrror.
Formatting unicode warning in the file with the path containing non-ascii
characters no longer fails with UnicodeErrror.
2015-05-16 16:42:18 +03:00
Serhiy Storchaka 049060c249 Reverted issue #24134 changes. 2015-05-16 16:21:10 +03:00
Terry Jan Reedy d39d962cbd Issue #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:15 -04:00
Terry Jan Reedy 2848925ed2 Issue #23184: idlelib, remove more unused names and imports. 2015-05-15 23:03:11 -04:00
Terry Jan Reedy 91226cf7ba idlelib: remove unused names and imports (forgot one). 2015-05-14 18:11:50 -04:00
Terry Jan Reedy d8dc7496c5 idlelib: remove unused names and imports (one is a duplicate import). 2015-05-14 18:10:30 -04:00
Berker Peksag 73e4f5f6bb Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Patch by Vinod Kurup.
2015-05-13 13:42:26 +03:00
Benjamin Peterson a40ea98fc1 bump version to 2.7.10rc1 2015-05-10 13:14:16 -04:00
Benjamin Peterson 91fd159935 update pydoc-topics 2015-05-10 13:13:10 -04:00
Benjamin Peterson 72c0141f03 ensure .keywords is always a dict 2015-05-09 00:23:41 -04:00
Donald Stufft 1c5af3de6d Upgrade setuptools to 15.2 2015-05-08 21:28:57 -04:00
Serhiy Storchaka 2e2dcf6eac Fixed English in error message. 2015-05-06 19:21:00 +03:00
Serhiy Storchaka 7f71e04cb5 Issue #24134: assertRaises() and assertRaisesRegexp() checks are not longer
successful if the callable is None.

Added tests for assertRaises().
2015-05-06 19:10:40 +03:00
Serhiy Storchaka 3234abb9a0 Issue #24125: Saved error's line and column numbers when an error is occured
during closing expatreader.  Fixed a regression introduced in issue #23865.
2015-05-06 09:35:52 +03:00
Serhiy Storchaka 89c3b8e480 Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.
Patch by Davin Potts.
2015-04-23 11:35:43 +03:00
Serhiy Storchaka dacd7d0cd6 Use more precise Tcl version checks in tests. 2015-04-23 10:57:15 +03:00
Serhiy Storchaka 6294d9f5f0 Issue #16840: Skip bignum tests on minor releases where they are not supported. 2015-04-22 10:51:49 +03:00
Serhiy Storchaka dcb12f46d1 Fixed full Tcl version parsing in tests for pre-final versions. 2015-04-22 08:35:53 +03:00
Serhiy Storchaka a8e65755c4 Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. 2015-04-21 21:09:23 +03:00
Serhiy Storchaka bd617adf6b Issue #23728: Added a test for binascii.crc_hqx(). 2015-04-20 09:32:29 +03:00
Serhiy Storchaka 9aa16d93c9 Issue #23842: os.major(), os.minor() and os.makedev() now support ints again. 2015-04-20 09:21:23 +03:00
Serhiy Storchaka abb7e65042 Backported tests from issue #20175. 2015-04-16 11:56:35 +03:00
Berker Peksag 1bc53c6e0b Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
2015-04-14 19:03:06 +03:00
Andrew Kuchling 270b0586b0 #17898: reset k and v so that the loop doesn't use an old value 2015-04-14 10:03:35 -04:00
Andrew Kuchling 2ca7bb0ba2 #23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset) 2015-04-13 09:58:36 -04:00
Benjamin Peterson b0368491e4 remove useless word (closes #23929) 2015-04-13 20:24:10 -04:00
Zachary Ware b9298a4fbb Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.
2015-04-13 11:54:11 -05:00
Serhiy Storchaka 4507b8183b Issue #16840: Fixed Tcl test on 2.7 with Tcl 8.4.19.
In some Tcl versions -2147483648 is wide integer.
2015-04-10 21:12:18 +03:00
Serhiy Storchaka 1aa2c0f073 Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:24:10 +03:00
Donald Stufft c7d957fe4a Update pip to 6.1.1 2015-04-07 07:09:06 -04:00
Victor Stinner 9a46eb7cdb ssue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
are down, don't use anymore in test_urllib2net

ftp.kernel.org is also slow or down, so reuse the same FTP servers than Python
3.4 and 3.5: use ftp.debian.org instead.
2015-04-07 12:59:14 +02:00
Victor Stinner 5ab1c01bfd Issue #23881: urllib.ftpwrapper constructor now closes the socket if the FTP
connection failed.
2015-04-07 12:47:57 +02:00
Donald Stufft d27bcbd706 Upgrade pip to 6.1.0 and setuptools to 15.0 2015-04-07 01:32:24 -04:00
Victor Stinner 62b109ddc5 Issue #23458: Remove test_os.test_urandom_fd_non_inheritable()
os.urandom() only tries to make the os.random() file descriptor non
inheritable, but there is no guarantee. The test fails on too many operating
systems: Windows, OS X 10.5, OpenIndiana.

This issue is correctly fixed in Python 3.4 with the PEP 446. Upgrade to Python
3.4 is you need stronger guarantees.
2015-04-06 23:39:47 +02:00
Serhiy Storchaka f29bc70bff Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
always returns bool.  tkinter.BooleanVar now validates input values (accepted
bool, int, long, str, unicode, and Tcl_Obj).  tkinter.BooleanVar.get() now
always returns bool.
2015-04-04 12:42:25 +03:00
Serhiy Storchaka baa6efdceb Open files in binary mode to avoid newlines transformation. 2015-04-04 10:36:15 +03:00
Serhiy Storchaka fb0517ca5c Issue #23825: Fixed test_idle under -OO. 2015-04-04 09:47:18 +03:00
Serhiy Storchaka c811328e44 Escaped backslashes in docstrings. 2015-04-03 18:12:32 +03:00
Serhiy Storchaka aff77f3b19 Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString(). 2015-04-02 23:05:23 +03:00
Serhiy Storchaka e9d4dc192f Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source().
Made test XML files non-ASCII.
2015-04-02 20:55:46 +03:00
Serhiy Storchaka 61ad42e591 Issue #16840: Fixed test_tcl for Tcl < 8.5. 2015-04-02 20:06:48 +03:00
Serhiy Storchaka e8ae0473cd Issue #21526: Skip test_booleans on Tcl < 8.5. 2015-04-02 19:57:52 +03:00
Serhiy Storchaka c77c5b5f03 Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and
arbitrary precision integers added in Tcl 8.5.
2015-04-02 18:46:30 +03:00
Serhiy Storchaka 91398f85e6 Issue #21526: Fixed the test_booleans test for wantobjects = 0. 2015-04-02 11:46:07 +03:00
Serhiy Storchaka cba6b5d045 Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. 2015-04-02 10:35:57 +03:00
Benjamin Peterson df11d4cbe4 replace 512 bit dh key with a 2014 bit one (closes #23844)
Patch by Cédric Krier.
2015-04-02 00:04:06 -04:00
Serhiy Storchaka 43b49593e7 Issue #23838: linecache now clears the cache and returns an empty result on
MemoryError.
2015-04-01 16:53:53 +03:00
Serhiy Storchaka bd8c629eb5 Issue #23799: Added test.test_support.start_threads() for running and
cleaning up multiple threads.
2015-04-01 12:56:39 +03:00
Serhiy Storchaka d06c201e5b Issue #14904: Made test_unicode_repr_oflw to use less memory.
Corrected memory requirements in other bigmem tests.
2015-03-30 09:27:20 +03:00
Victor Stinner 7d490650fb Issue #22390: Fix test_gzip if unicode filename doesn't work 2015-03-30 02:20:37 +02:00
Victor Stinner 7b00364e18 Issue #22390: Fix test_gzip, remove temporary file 2015-03-30 01:32:42 +02:00
Victor Stinner ffaa031867 Issue #22390: Fix test_pdb to remove created bar.pyc file 2015-03-30 01:24:57 +02:00
Victor Stinner 01eaf500fc Issue #22390: Fix test_aifc to remove the created file 2015-03-30 01:16:17 +02:00
Victor Stinner ac0d1893b9 Issue #22390: Fix typo in regrtest, support => test_support 2015-03-30 01:07:29 +02:00
Serhiy Storchaka c0a2f2b008 Issue #22390: test.regrtest now emits a warning if temporary files or
directories are left after running a test.
2015-03-30 01:27:44 +03:00
Serhiy Storchaka 53ea162067 Make some tests more frienly to MemoryError.
Free memory, unlock hanging threads.
2015-03-28 20:38:48 +02:00
Victor Stinner 582265f484 Issue #23445: Fix test_gdb.python_is_optimized() for CFLAGS=-Og
-Og does not optimize the C code, it's just "fast debugging".
2015-03-27 15:44:13 +01:00
Serhiy Storchaka 837d760c27 Check that failed writerow() doesn't produce change a file. 2015-03-25 19:15:56 +02:00
Serhiy Storchaka 53b542fe30 Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. 2015-03-25 16:39:58 +02:00
Serhiy Storchaka f95a57f9a1 Issue #21802: The reader in BufferedRWPair now is closed even when closing
writer failed in BufferedRWPair.close().
2015-03-24 23:23:42 +02:00
Serhiy Storchaka 40fd0e8d68 Issue #23671: string.Template now allows to specify the "self" parameter as
keyword argument.  string.Formatter now allows to specify the "self" and
the "format_string" parameters as keyword arguments.
2015-03-24 22:27:50 +02:00
Serhiy Storchaka ac5164dd98 Issue #23583: Fixed writing unicode to standard output stream in IDLE.
Added tests for standard IO streams in IDLE.
2015-03-24 19:42:15 +02:00
Serhiy Storchaka f689f104aa Issue #21560: An attempt to write a data of wrong type no longer cause
GzipFile corruption.  Original patch by Wolfgang Maier.
2015-03-23 15:25:18 +02:00
R David Murray 836c82417f #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. 2015-03-22 16:17:11 -04:00
R David Murray b4b000f002 #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
Some http servers will reject PUT, POST, and PATCH requests if they
do not have a Content-Length header.

Patch by James Rutherford.
2015-03-22 15:15:44 -04:00
Serhiy Storchaka 9f696c9809 Issue #23075: Whether __builtins__ is a module or a dict is undefined in
CPython. Use the reliably well defined `import __builtin__` instead.
Patch by Alex Gaynor.
2015-03-21 22:04:42 +02:00
Serhiy Storchaka d54c2e3f13 Issue #23136: _strptime now uniformly handles all days in week 0, including
Jan 30 of previous year.  Based on patch by Jim Carroll.
2015-03-19 19:13:25 +02:00
Benjamin Peterson 6a74a51b28 wrap properly 2015-03-18 21:35:38 -05:00
Ned Deily 9e52735d22 Issue #23458: Skip test_urandom_fd_non_inheritable on OS X 10.4 since
FD_CLOEXEC is not supported there.
2015-03-17 15:18:07 -07:00
Ned Deily 596b751f97 Issue #22585, #23115: make URandomFDTests test case actually run 2015-03-17 04:34:46 -07:00
Serhiy Storchaka 3d15b5ddc6 Use non-zero and non-last positions in error handler tests. 2015-03-16 08:29:35 +02:00
Serhiy Storchaka 2792389f41 Increased coverage of standard codec error handlers. 2015-03-15 23:41:10 +02:00
Serhiy Storchaka f249671d02 Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.
2015-03-13 09:04:34 +02:00
Serhiy Storchaka 7c26be5b18 Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator.  Patch by Alon Diamant and Davin
Potts.
2015-03-13 08:31:34 +02:00
Serhiy Storchaka 59bdf6392d Issue #22928: Disabled HTTP header injections in httplib.
Original patch by Demian Brecht.
2015-03-12 11:12:51 +02:00
Serhiy Storchaka 205408dacb Issue #23615: Module tarfile is now can be reloaded with imp.reload(). 2015-03-11 17:31:59 +02:00
Benjamin Peterson ca1fb3eb42 close files explicit (closes #21610)
Patch by mattip.
2015-03-10 19:06:18 -05:00
Steve Dower 32608c1b10 Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls 2015-03-10 13:19:17 -07:00
Serhiy Storchaka 233e6988f4 Issue #22853: Fixed a deadlock when use multiprocessing.Queue at import time.
Patch by Florian Finkernagel and Davin Potts.
2015-03-06 22:17:25 +02:00
Benjamin Peterson f050648a50 fix potential refleak in PyFloat_AsDouble (closes #23590) 2015-03-06 09:08:44 -05:00
Benjamin Peterson b10d50eb90 use _import_symbols to import VERIFY_* constants 2015-03-04 23:18:57 -05:00
Benjamin Peterson d86699fe04 adjust test_crl_check for trusted first being default 2015-03-04 23:18:48 -05:00
Benjamin Peterson 72ef961059 expose X509_V_FLAG_TRUSTED_FIRST 2015-03-04 22:49:41 -05:00
Serhiy Storchaka c620c11e62 Issue #23504: Added an __all__ to the types module. 2015-03-04 09:42:59 +02:00
Serhiy Storchaka f0b630b826 Added more tests for urllib utility functions.
These functions are not documented but used in third-party code.
2015-03-02 16:31:57 +02:00
Serhiy Storchaka 2b8c00d904 Fixed pydoc tests when run with -OO. 2015-03-01 15:31:21 +02:00
Victor Stinner ebcbbfb9a2 Issue #23458: skip test_os.test_urandom_fd_non_inheritable() on Windows 2015-02-24 15:12:57 +01:00
Victor Stinner e0a0bd6eaa Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now
set to non inheritable
2015-02-24 14:30:43 +01:00
Serhiy Storchaka 437d535e5b Broke reference loops in tests added in issue #5700. 2015-02-23 00:28:38 +02:00
Serhiy Storchaka cc49aa1381 Issue #6639: Module-level turtle functions no longer raise TclError after
closing the window.
2015-02-22 17:22:53 +02:00
Serhiy Storchaka b8285d96f4 Issue #22113: struct.pack_into() now supports new buffer protocol (in
particular accepts writable memoryview).
2015-02-21 19:51:17 +02:00
Serhiy Storchaka 4809d1fccd Issues #814253, #9179: Warnings now are raised when group references and
conditional group references are used in lookbehind assertions in regular
expressions.
2015-02-21 12:08:36 +02:00
Serhiy Storchaka 021d55ff74 Issue #23215: Multibyte codecs with custom error handlers that ignores errors
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
2015-02-21 01:19:17 +02:00
Serhiy Storchaka 3173f7c904 Issue #5700: io.FileIO() called flush() after closing the file.
flush() was not called in close() if closefd=False.
2015-02-21 00:34:20 +02:00
Berker Peksag dc9d41d718 Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty
docstrings.

Initial patch by Yuyang Guo.
2015-02-20 12:10:33 +02:00
Benjamin Peterson a0dd7dc1b0 remove rc4 from the default client ciphers (closes #23481) 2015-02-19 17:57:08 -05:00
Serhiy Storchaka ad9a1ba504 Issue #23474: Enhanced locale testing. 2015-02-18 08:04:26 +02:00
Serhiy Storchaka 66a9b72c38 Merge heads 2015-02-16 01:50:04 +02:00
Serhiy Storchaka e06224340d Backed out changeset 7d2018774925 2015-02-16 01:49:22 +02:00
Serhiy Storchaka c769040100 Issue #22885: Fixed arbitrary code execution vulnerability in the dumbdbm
module.  Original patch by Claudiu Popa.
2015-02-16 00:29:52 +02:00
Serhiy Storchaka eab2fd10cf Use os.devnull instead of hardcoded '/dev/null'. 2015-02-15 13:57:49 +02:00
Serhiy Storchaka 66306cf6d4 Issue #21934: test_file2k no longer create regular file /dev/full on OpenBSD
when run as root.  Extended testing with /dev/full.
Based on patch by Daniel Dickman.
2015-02-15 13:05:10 +02:00
Serhiy Storchaka 4c2bada216 Issue #17753: Skip test_zipfile tests which require write access to test
and email.test.
2015-02-14 23:17:13 +02:00
Serhiy Storchaka b6b48e637f Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
Patch by David Edelsohn.
2015-02-14 22:44:35 +02:00
Serhiy Storchaka 7fe04f1dca Issue #21849: Fixed xmlrpclib serialization of non-ASCII unicode strings in
the multiprocessing module.
2015-02-13 15:08:36 +02:00
Serhiy Storchaka 3be0d0e1f4 Issue #21840: Fixed a typo. 2015-02-13 12:47:08 +02:00
Serhiy Storchaka 2bd8b22b6d Issue #21840: Fixed expanding unicode variables of form $var in
posixpath.expandvars().  Fixed all os.path implementations on
unicode-disabled builds.
2015-02-13 12:02:05 +02:00
Serhiy Storchaka 4068b01cb5 Issue #23392: Added tests for marshal C API that works with FILE*. 2015-02-06 08:56:33 +02:00
Serhiy Storchaka dd8430fa64 Issue #23881: Only use entry-values with gdb 7.4 in tests.
Fixes a regression in issue #22765.  Patch by Vinson Lee.
2015-02-06 08:36:14 +02:00
Serhiy Storchaka dbd85aac85 Issue #18982: Fixed newlines in calendar CLI tests on Windows. 2015-02-05 18:03:27 +02:00
Serhiy Storchaka d44bcc9b2f Issue #18982: Add tests for CLI of the calendar module. 2015-02-05 15:18:26 +02:00
Ned Deily fa11978f1b Issue #23345: Prevent test_ssl failures with large OpenSSL patch level
values (like 0.9.8zc).
2015-02-05 17:19:11 +11:00
Donald Stufft 0c1e98b2b2 Update pip to 6.0.8 2015-02-04 22:02:09 -05:00
Serhiy Storchaka 42aa9c078a Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
2015-02-03 01:34:09 +02:00
Benjamin Peterson 77a57c7570 _clear_type_cache is cpython-only 2015-02-02 14:06:11 -05:00
Benjamin Peterson dda9121ad1 check for overflows in permutations() and product() (closes #23363, closes #23364) 2015-02-01 21:34:07 -05:00
Benjamin Peterson 17845c1786 check for overflow in combinations_with_replacement (closes #23365) 2015-02-01 21:10:47 -05:00
Benjamin Peterson 021dec1c96 detect overflow in combinations (closes #23366) 2015-02-01 20:59:00 -05:00
Benjamin Peterson 75461e3e2e https goodness 2015-02-01 20:17:22 -05:00
Serhiy Storchaka 73bcde20bc Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.
Patch by Bohuslav Kabrda.
2015-01-31 11:48:36 +02:00
Serhiy Storchaka 5312a7f912 Avoid deprecation warnings. 2015-01-31 11:27:06 +02:00
Serhiy Storchaka 7ece150395 test_spwd skipping is expected on win32. 2015-01-31 10:20:31 +02:00
Serhiy Storchaka d484605c10 Restored test_xpickle compatibility with Python 2.5.
Python 2.5 has no unittest.skipUnless.
2015-01-31 09:25:16 +02:00
Serhiy Storchaka b84e5daf91 Use float division to avoid deprecation warning in test_timeit (issue #11578). 2015-01-31 02:12:17 +02:00
Donald Stufft 61ec71d7bd Upgrade setuptools to 12.0.5 and pip to 6.0.7 2015-01-28 17:58:53 -05:00
Serhiy Storchaka 0d8fe3b90b Issue #19949: The test_xpickle test now tests compatibility with installed
Python 2.7 and reports skipped tests.  Based on patch by Zachary Ware.
2015-01-27 22:44:45 +02:00
Serhiy Storchaka 0e0282eb14 Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis
and fix by Guido Vranken.
2015-01-27 22:17:56 +02:00
Serhiy Storchaka 3ce465ab56 Issue #23191: fnmatch functions that use caching are now threadsafe. 2015-01-27 11:40:51 +02:00
Serhiy Storchaka c328d11ef1 Issue #14099: Backout changeset c2c4cde55f6f (except adapted tests). 2015-01-26 13:45:04 +02:00
Serhiy Storchaka 09d7e7ec0e Use test.test_support instead of test.support. 2015-01-26 12:30:56 +02:00
Serhiy Storchaka 73c086389a Issue #18518: timeit now rejects statements which can't be compiled outside
a function or a loop (e.g. "return" or "break").
2015-01-26 12:08:37 +02:00
Serhiy Storchaka 0013207200 Issue #11578: Backported test for the timeit module. 2015-01-26 11:54:32 +02:00
Serhiy Storchaka 5f1909a4ca Merge heads 2015-01-26 10:27:31 +02:00
Serhiy Storchaka 38a33ec44c Issue #7665: Fixed tests test_ntpath and test_urllib2 when ran in the
directory containing a backslash.
2015-01-26 10:26:00 +02:00
Benjamin Peterson bfd976fc17 simply ignore headers with no name (#19996)
Patch by Cory Benfield.
2015-01-25 23:34:42 -05:00
Senthil Kumaran 812b9756a0 Fix Issue23300 : httplib.HTTP classe's connect method should use _get_hostport
instead of (non-existing) _set_hostport. (Fix the regression introduced in
568041fd8090 )
2015-01-24 12:58:10 -08:00
Benjamin Peterson aa7075845c prefer server alpn ordering over the client's 2015-01-23 17:30:26 -05:00
Benjamin Peterson b10bfbe036 pep 466 backport of alpn (#20188) 2015-01-23 16:35:37 -05:00
Serhiy Storchaka e8c9e14af9 Issue #23181: More "codepoint" -> "code point". 2015-01-18 11:42:50 +02:00
Ned Deily b5daa3d6db Issue #23180: Rename IDLE "Windows" menu item to "Window".
Patch by Al Sweigart.
2015-01-17 21:03:41 -08:00
Benjamin Peterson 95ee9c7175 fix parsing reST with code or code-block directives (closes #23063)
Patch by Marc Abramowitz.
2015-01-14 23:56:35 -05:00
Benjamin Peterson 07f90476b9 fix instances of consecutive articles (closes #23221)
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Donald Stufft 6022f38dd8 Bump setuptools to 11.3.1 2015-01-11 15:49:22 -05:00
Terry Jan Reedy 22a041f8e4 Issue #23184: delete unused idlelib file. 2015-01-07 23:48:28 -05:00
Victor Stinner 7c90667f74 Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
availability of the function is checked during the compilation. Patch written
by Bernard Spil.
2015-01-06 13:53:37 +01:00
Victor Stinner 7ba8cdc31c Issue #23168: skip sys.stdin.seek() test if stdin is not a TTY 2015-01-06 12:39:45 +01:00
Benjamin Peterson 7b4b28469b allow a SSLContext to be given to ftplib.FTP_TLS 2015-01-04 15:36:31 -06:00
Benjamin Peterson 9fe67ceebf make SSLv23 the default version in ftplib (closes #23111) 2015-01-04 10:20:16 -06:00
Donald Stufft c1edb585a2 Update bundled pip and setuptools to 6.0.6 and 11.0 2015-01-03 05:23:39 -05:00
Benjamin Peterson 27c269a1fe use getentropy when available (backport of 75ede5bec8db) (closes #23115) 2014-12-26 11:09:00 -06:00
Benjamin Peterson a71cfc5cf3 fix behavior of trailing slash redirection when a query string is involved (closes #23112) 2014-12-26 10:53:43 -06:00
Donald Stufft a7516ed9b4 Upgrade pip to 6.0.2 and setuptools to 8.2.1 2014-12-23 09:08:47 -05:00
Benjamin Peterson 53ae6145a0 allow more operations to work on detached streams (closes #23093)
Patch by Martin Panter.
2014-12-21 20:51:50 -06:00
Benjamin Peterson 4e9dbfba21 explicitly close files (closes #23090)
Patch by Brian Kearns.
2014-12-20 13:41:14 -06:00
Serhiy Storchaka 74a651b4e6 Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter. 2014-12-20 17:42:24 +02:00
Terry Jan Reedy 16e093db98 Issue #20577: move configuration of FormatParagraph extension to new extension
configuration dialog.  Patch by Tal Einat.
2014-12-16 03:21:19 -05:00
Benjamin Peterson 3004b40993 remove extra ssl imports (closes #23053)
Patch from Jan Matejek.
2014-12-15 10:04:13 -05:00
Serhiy Storchaka 655720e275 Issue #22777: Test pickling with all protocols. 2014-12-15 14:02:43 +02:00
Serhiy Storchaka c3741a067b Issue #23015: Improved testing of the uuid module. 2014-12-15 12:03:33 +02:00