Serhiy Storchaka
b817b77a8c
Replaced "string" with "bytes object" in docstrings of binary I/O objects.
2015-04-10 02:18:44 +03:00
Zachary Ware
89c057a263
Backed out changeset bc41a4d6c58f after buildbots have new OpenSSL source.
2015-04-09 15:55:56 -05:00
Zachary Ware
5065792c1e
Refresh OpenSSL sources on the buildbots
2015-04-09 15:51:17 -05:00
Zachary Ware
9f3109c459
Issue #23686 : Update Windows build to use OpenSSL 1.0.2a.
2015-04-07 19:59:37 -05:00
Tim Golden
fe5ac52c2b
Fix typo in telnet docs (reported by Keith Briggs)
2015-04-08 16:52:27 +01:00
Benjamin Peterson
6f362fa6c8
actually ssl3 is just completely broken
2015-04-08 11:11:00 -04:00
Berker Peksag
7ecfc82edb
Issue #23400 : Raise same exception on both Python 2 and 3 if sem_open is not available.
...
Patch by Davin Potts.
2015-04-08 17:56:30 +03:00
Berker Peksag
52c0c3382d
Skip nntplib tests when transient errors captured.
2015-04-08 11:24:27 +03:00
Victor Stinner
c9d11c341e
Issue #23879 , asyncio: SelectorEventLoop.sock_connect() must not call connect()
...
again if the first call to connect() raises an InterruptedError.
When the C function connect() fails with EINTR, the connection runs in
background. We have to wait until the socket becomes writable to be notified
when the connection succeed or fails.
2015-04-07 21:38:04 +02:00
Benjamin Peterson
033c58ad97
remove smtpd dead code ( closes #23873 )
...
Patch by Hoolean.
2015-04-07 11:59:06 -04:00
Donald Stufft
b32fb8d274
Update pip to 6.1.1
2015-04-07 07:09:59 -04:00
Victor Stinner
4bea461572
Issue #23881 : ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
...
are down, don't use anymore in test_urllib2net
2015-04-07 12:52:50 +02:00
Victor Stinner
ab73e65032
Issue #23881 : urllib.request.ftpwrapper constructor now closes the socket if
...
the FTP connection failed to fix a ResourceWarning.
2015-04-07 12:49:27 +02:00
Donald Stufft
fe508d1592
Upgrade pip to 6.1.0 and setuptools to 15.0
2015-04-07 01:29:33 -04:00
Serhiy Storchaka
6fbeae406e
Issue #22977 : Remove unconditional import of ctypes.
2015-04-06 20:37:16 +03:00
Benjamin Peterson
43b842775f
remove extra arguments in arg parsing format codes ( closes #23875 )
2015-04-06 13:05:22 -04:00
Tim Golden
42c235e833
Added missing right bracket (reported by Daryl Klakouski)
2015-04-06 11:04:49 +01:00
Benjamin Peterson
0c803319b0
fix extended command syntax ( closes #23872 )
2015-04-05 10:01:48 -04:00
Serhiy Storchaka
9a6e201f7d
Issue #15133 : _tkinter.tkapp.getboolean() now supports Tcl_Obj and always
...
returns bool. tkinter.BooleanVar now validates input values (accepted bool,
int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
2015-04-04 12:43:01 +03:00
Serhiy Storchaka
c9ba38c21c
Open files in binary mode to avoid newlines transformation.
2015-04-04 10:36:25 +03:00
Serhiy Storchaka
2e229e025c
Issue #23338 : Fixed formatting ctypes error messages on Cygwin.
...
Patch by Makoto Kato.
2015-04-04 10:05:48 +03:00
Serhiy Storchaka
9fa84b202e
Issue #23825 : Fixed test_idle under -OO.
2015-04-04 09:47:31 +03:00
Serhiy Storchaka
9f8a8910a4
Escaped backslashes in docstrings.
2015-04-03 18:12:41 +03:00
Victor Stinner
72dcb0a765
Issue #23219 : Update asyncio.wait_for() documentation
...
the wait is cancelled, the future *fut* is now also cancelled.
2015-04-03 17:08:19 +02:00
Serhiy Storchaka
807743403d
Issue #22351 . MockSslTests tests in test_nntplib now are reported if skipped.
2015-04-03 15:02:20 +03:00
Victor Stinner
8c9bba07d4
Issue #22351 : Fix test_nntplib if the ssl module is missing
...
@unittest.skipUnless(ssl, '...') doesn't work because the class body uses the
nntplib.NNTP_SSL attribute which doesn't exist.
2015-04-03 11:06:40 +02:00
Serhiy Storchaka
13e41c516a
Issue #10590 : Added tests for xml.sax.parse() and xml.sax.parseString().
2015-04-02 23:05:57 +03:00
Serhiy Storchaka
aa9563c1b8
Issue #2175 : Added tests for xml.sax.saxutils.prepare_input_source().
...
Made test XML files non-ASCII.
2015-04-02 20:55:59 +03:00
Serhiy Storchaka
2379d541dd
Issue #16840 : Fixed test_tcl for Tcl < 8.5.
2015-04-02 20:07:09 +03:00
Serhiy Storchaka
a5a4bd76fb
Issue #21526 : Skip test_booleans on Tcl < 8.5.
2015-04-02 19:57:52 +03:00
Serhiy Storchaka
ea134da929
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:50 +03:00
Victor Stinner
8e44aa5ae4
Issue #23834 : Fix socket.sendto(), use the C Py_ssize_t type to store the
...
result of sendto() instead of the C int type.
2015-04-02 17:16:08 +02:00
Victor Stinner
e7c749238e
Issue #23851 : close() must not be retried when it fails with EINTR
...
See the PEP 475 for the rationale.
2015-04-02 16:24:46 +02:00
Victor Stinner
d223fa631d
Issue #22977 : Fix test_exceptions
2015-04-02 14:17:38 +02:00
Serhiy Storchaka
9171fe5a1d
Issue #21526 : Fixed the test_booleans test for wantobjects = 0.
2015-04-02 11:46:07 +03:00
Serhiy Storchaka
f7de3dd02d
Issue #21526 : Tkinter now supports new boolean type in Tcl 8.5.
2015-04-02 10:35:57 +03:00
Serhiy Storchaka
f41f8f9974
Issue #22977 : Fixed formatting Windows error messages on Wine.
...
Patch by Martin Panter.
2015-04-02 09:47:27 +03:00
Benjamin Peterson
a7eaf56a6d
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
Benjamin Peterson
4fd929b431
remove assignment in conditional
2015-04-01 11:16:40 -04:00
Serhiy Storchaka
a16de5dbf5
Issue #23821 : Fixed test_pdb failure under -O.
2015-04-01 16:58:19 +03:00
Serhiy Storchaka
c512adc90d
Issue #23838 : linecache now clears the cache and returns an empty result on
...
MemoryError.
2015-04-01 16:54:05 +03:00
Serhiy Storchaka
263dcd20a3
Issue #23799 : Added test.support.start_threads() for running and cleaning up
...
multiple threads.
2015-04-01 13:01:14 +03:00
Benjamin Peterson
8218bd4caf
document what exactly str.splitlines() splits on ( closes #12855 )
...
Patch by Martin Panter.
2015-03-31 21:20:36 -04:00
Serhiy Storchaka
b9100e5d9d
Issue #18473 : Fixed pickle compatibility tests for optional modules.
...
Added WindowsError to compatibility mappings.
2015-03-31 16:49:26 +03:00
Serhiy Storchaka
bfe1824d08
Issue #18473 : Fixed 2to3 and 3to2 compatible pickle mappings.
...
Fixed ambigious reverse mappings. Added many new mappings. Import mapping
is no longer applied to modules already mapped with full name mapping.
Added tests for compatible pickling and unpickling and for consistency of
_compat_pickle mappings.
2015-03-31 13:12:37 +03:00
Raymond Hettinger
c43a666ba2
Issue #23729 : Improve docs for ElementTree namespace parsing
2015-03-30 20:29:28 -07:00
R David Murray
e7f5e147cd
#23792 : also catch interrupt around pipe.write.
...
The previous patch only dealt with KeyboardInterrupt when all of the
data had been consumed by the pager. This deals with the interrupt
when some data is still pending.
2015-03-30 10:14:47 -04:00
Victor Stinner
9aa1331c6f
Issue #22585 : os.urandom() now releases the GIL when the getentropy() is used
...
(OpenBSD 5.6+).
2015-03-30 11:18:30 +02:00
Serhiy Storchaka
04d09ebd39
Issue #23785 : Fixed memory leak in TextIOWrapper.tell() in rare circumstances.
2015-03-30 09:58:41 +03:00
Serhiy Storchaka
4aa867959f
Issue #23783 : Fixed memory leak in PyObject_ClearWeakRefs() in case of
...
MemoryError.
2015-03-30 09:52:29 +03:00