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