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
Tim Golden
700c8fe2ba
Issue #9291 Add ACKS & NEWS
2014-04-27 16:39:33 +01:00
Tim Golden
d6a1b2ba95
Add NEWS entry for issue21349
2014-04-26 16:02:38 +01:00
Zachary Ware
c6606edc86
Issue #21303 , #20565 : Updated the version of Tcl/Tk used on Windows
...
from 8.5.2 to 8.5.15.
2014-04-22 15:36:11 -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
doko@ubuntu.com
f27ec3e551
- Issue #21285 : Refactor and fix curses configure check to always search
...
in a ncursesw directory.
2014-04-17 20:11:19 +02: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
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
Vinay Sajip
66d8dbeacf
Issue #21149 : Improved thread-safety in logging cleanup during interpreter shutdown.
2014-04-04 10:47:53 +01: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
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
Ned Deily
3ac866539f
Issue #21093 : Prevent failures of ctypes test_macholib on OS X if a
...
copy of libz exists in $HOME/lib or /usr/local/lib.
2014-03-29 00:07:42 -07:00
Ned Deily
57847df4e5
Issue #17654 : Ensure IDLE menus are customized properly on OS X for
...
non-framework builds and for all variants of Tk.
2014-03-27 20:47:04 -07: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
R David Murray
6d9117604f
backport: #20145 : assertRaisesRegexp now raises a TypeError on bad regex.
...
Previously a non-string, non-regex second argument and no callable
argument could cause the test to appear to always pass.
2014-03-25 15:29:42 -04: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
Benjamin Peterson
e3af6f0a88
fix ctypes test alignment assumptions ( closes #20946 )
...
Patch by Andreas Schwab.
2014-03-16 10:07:26 +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
Éric Araujo
31fe52dc9e
Make distutils error messages more helpful ( #11599 ).
...
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name. With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.
This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
2014-03-12 22:19:39 -04:00
Éric Araujo
3d1134e395
Avoid “error: None” messages from distutils ( #4931 ).
...
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:14:48 -04:00
Raymond Hettinger
4c150e0bd2
Improve the default seeding in random module to use 32 bytes of entropy when available.
2014-03-08 09:56:08 -08: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
Terry Jan Reedy
09f4f253b5
Issue #15618 : Make turtle.py itself work when run from a module with
...
from __future__ import unicode_literals. Initial patch by Juancarlo Añez.
The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix. If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
2014-03-05 23:15:57 -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
Antoine Pitrou
e0a03d6e2e
Restore title style
2014-02-24 00:41:14 +01:00
Antoine Pitrou
aa73ea0408
Issue #20743 : Fix a reference leak in test_tcl.
2014-02-23 19:39:06 +01: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
Serhiy Storchaka
3e0cb09e33
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:33:30 +02: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
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
Benjamin Peterson
2748c5c106
avoid name clash with posix_close ( closes #20594 )
2014-02-11 10:16:16 -05: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
98a9722e4a
Issue #20437 : Fixed 43 potential bugs when deleting objects references.
2014-02-09 13:14:04 +02:00
R David Murray
2cfae9b03f
#14983 : always add a line end after a MIME boundary marker.
...
This is more RFC compliant (see issue) and fixes a problem with
signature verifiers rejecting the part when signed. There is some
amount of backward compatibility concern here since it changes
the output, but the RFC issue coupled with fixing the problem
with signature verifiers seems worth the small risk of breaking
code that depends on the current incorrect output.
2014-02-08 17:54:12 -05:00
Terry Jan Reedy
4ade2d25fc
Issue #20406 : Use Python application icons for Idle window title bars.
...
Patch mostly by Serhiy Storchaka.
2014-02-08 09:39:51 -05:00