Serhiy Storchaka
4f0e167414
Issue #21522 : Added Tkinter tests for Listbox.itemconfigure(),
...
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:08:31 +03:00
Serhiy Storchaka
f19771f831
Issue #20635 : Added tests for Tk geometry managers.
2014-05-23 13:54:35 +03: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
Terry Jan Reedy
4345846161
Issue #21477 : idle htests - lower case function names, other cleanups.
2014-05-19 00:12:00 -04:00
Benjamin Peterson
996bf4828d
bump to 2.7.7rc1
2014-05-17 17:31:50 -07:00
Benjamin Peterson
03b48b1d6e
update pydoc_topics
2014-05-17 17:30:36 -07: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
Benjamin Peterson
d3d23636cb
support pep 3118 format strings for ctypes objects with nontrivial shapes ( closes #10744 )
...
Patch from Matti Picus.
2014-05-17 14:57:10 -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
Terry Jan Reedy
fb371afaac
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:49:57 -04:00
Raymond Hettinger
ddb39e799d
Issue #21470 : Do a better job seeding the random number generator
...
to fully cover its state space.
2014-05-13 22:09:23 -07:00
Raymond Hettinger
a5413c4997
Issue 21469: Mitigate risk of false positives with robotparser.
...
* Repair the broken link to norobots-rfc.txt.
* HTTP response codes >= 500 treated as a failed read rather than as a not
found. Not found means that we can assume the entire site is allowed. A 5xx
server error tells us nothing.
* A successful read() or parse() updates the mtime (which is defined to be "the
time the robots.txt file was last fetched").
* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response. This avoids false positives in the case where a user calls
can_fetch() before calling read().
* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
2014-05-12 22:18:50 -07:00
Terry Jan Reedy
c5945966ae
whitespace
2014-05-11 23:37:26 -04:00
Terry Jan Reedy
00b0bd55b4
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:20 -04: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
doko@ubuntu.com
9ba90c9f06
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 04:41:26 +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
Andrew Kuchling
b7967ccb40
#21225 : copy docstrings from base classes
2014-04-25 09:29:30 -04: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
Terry Jan Reedy
46b6c086d3
Issue #21138 : Change default reformat paragraph width to PEP 8's 72.
2014-04-22 01:26:35 -04:00
Terry Jan Reedy
0edf52a2c2
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:10:57 -04:00
Ned Deily
8488901282
Issue #21311 : Avoid exception in _osx_support with non-standard compiler
...
configurations. Patch by John Szakmeister.
2014-04-19 13:24:03 -07: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
Benjamin Peterson
e03d3fdd20
do not generate pipe names in the temporary dir
2014-04-14 12:24:37 -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
6c939cb6f6
in scan_once, prevent the reading of arbitrary memory when passed a negative index
...
Bug reported by Guido Vranken.
2014-04-13 22:10:38 -04:00
Vinay Sajip
5aad46e5c3
Issue #21172 : isinstance check relaxed from dict to collections.Mapping.
2014-04-10 07:07:59 +01:00
Benjamin Peterson
00109c9bd3
teach 2to3 about 'yield from'
2014-04-10 00:23:18 -04:00
Benjamin Peterson
da952f3ff4
add matrix multiplication operator support to 2to3
2014-04-10 00:12:47 -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
Vinay Sajip
66d8dbeacf
Issue #21149 : Improved thread-safety in logging cleanup during interpreter shutdown.
2014-04-04 10:47:53 +01: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
Raymond Hettinger
40e95dfcaa
Issue #21029 : IDLE now colors print consistently as a keyword.
2014-03-29 21:01:50 -07:00