Commit Graph

6104 Commits

Author SHA1 Message Date
R David Murray eccf9c2e2f #19449: Handle non-string keys when generating 'fieldnames' error.
Backport from 3.3 6e5afeada7ca.
2013-11-19 13:25:24 -05:00
Jason R. Coombs 91bf058c98 Issue #12853: Correct NameError in distutils upload command. 2013-11-15 20:08:22 -05:00
Vinay Sajip 47fe4684ff Issue #19523: Closed FileHandler leak which occurred when delay was set. 2013-11-15 20:39:33 +00:00
Benjamin Peterson 086840ae82 merge 2.7.6 release branch 2013-11-10 02:46:48 -05:00
Benjamin Peterson 278519500f 2.7.6 final 2013-11-10 02:36:30 -05:00
Serhiy Storchaka c47d723eb0 Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms. 2013-11-09 23:09:44 +02:00
Ezio Melotti b814745226 #19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard. 2013-11-07 18:31:36 +02:00
Ned Deily 11852734a5 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 2.7.6.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:40:03 -08:00
Ned Deily 52c48fdf30 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 2.7.6.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:40:03 -08:00
Nick Coghlan 768e8475b1 Remove merge artifact from Misc/NEWS 2013-11-05 00:24:05 +10:00
Nick Coghlan 6a98749e9c Close #17827: Document codecs.encode & codecs.decode 2013-11-04 20:05:16 +10:00
Zachary Ware 57d35c6494 Issue #17883: Tweak test_tcl testLoadWithUNC to skip the test in the
event of a permission error on Windows and to properly report other
skip conditions.
2013-11-03 22:51:25 -06:00
Zachary Ware 14b38f58c2 Issue #17883: Backport test.test_support._is_gui_available()
This should stop the Windows buildbots from hanging on test_ttk_guionly.
2013-11-03 22:27:04 -06:00
Serhiy Storchaka 32e23e739f Issue #18702: All skipped tests now reported as skipped. 2013-11-03 23:15:46 +02:00
Serhiy Storchaka 31b9c845d3 Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo. 2013-11-03 14:28:29 +02:00
Serhiy Storchaka 8630f16eb7 Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of
integers instead of a string.  Based on patch by Guilherme Polo.
2013-11-03 14:13:08 +02:00
Jason R. Coombs 42fa9ec050 Update NEWS 2013-11-02 11:43:40 -04:00
Serhiy Storchaka dd80816973 Issue #19085: Added basic tests for all tkinter widget options. 2013-11-02 10:46:21 +02:00
Benjamin Peterson a40f5b513d merge 2.7.6 release branch 2013-10-31 20:23:57 -04:00
Benjamin Peterson 9fa6a8ba63 fix xmlcharrefreplace tests on wide build when tests are loaded from .py[co] files. 2013-10-31 20:22:41 -04:00
Serhiy Storchaka 1fdc702861 Issue #19457: Fixed xmlcharrefreplace tests on wide build when tests are
loaded from .py[co] files.
2013-10-31 17:06:03 +02:00
Benjamin Peterson ae7894c953 merge 2.7.6 release branch 2013-10-30 12:43:44 -04:00
Benjamin Peterson 1ef959ac3d use the collapsed path in the run_cgi method (closes #19435) 2013-10-30 12:43:09 -04:00
Benjamin Peterson 5dba9f6573 merge 2.7.6 release branch 2013-10-29 15:28:41 -04:00
Benjamin Peterson e18b82d996 backport #19426 2013-10-29 15:27:14 -04:00
Serhiy Storchaka 1c760cab1d Issue #19426: Fixed the opening of Python source file with specified encoding. 2013-10-29 10:15:09 +02:00
Benjamin Peterson 8f8ca765d0 add 2.7.7 news header 2013-10-26 15:11:27 -04:00
Benjamin Peterson 07ffc78c9a 2.7.6rc1 2013-10-26 14:57:21 -04:00
Benjamin Peterson 657d06b13e just return toplevel symbol table rather than all blocks (closes #19393) 2013-10-26 13:13:51 -04:00
Ned Deily 7c5ba45fd8 Issue #19400: Prevent extension module build failures with Xcode 5 on OS X
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
2013-10-25 16:01:42 -07:00
Ned Deily f84b531a12 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-25 00:44:46 -07:00
Ned Deily 0203a80e1c Issue #15663: Tcl/Tk 8.5.15 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+.  It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-10-25 00:40:07 -07:00
Ned Deily a2a9f571a5 Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter.  configure has two new options; if used, both must
be specified:

  ./configure \
      --with-tcltk-includes="-I/opt/local/include" \
      --with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"

In addition, the options can be overridden with make:

   make \
       TCLTK_INCLUDES="-I/opt/local/include" \
       TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:30:10 -07:00
Serhiy Storchaka 22fb0dec30 Issue #19327: Fixed the working of regular expressions with too big charset. 2013-10-24 22:02:42 +03:00
Senthil Kumaran 2147857db3 Increase macurl2path test coverage 2013-10-23 21:45:58 -07:00
Antoine Pitrou 5d791802c9 Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv). 2013-10-23 19:11:29 +02:00
Tim Golden 17934856dc Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers) 2013-10-22 20:45:13 +01:00
Christian Heimes 51c4d72d43 Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Python executable and not removed by the linker's optimizer.
2013-10-22 10:22:29 +02:00
Ezio Melotti bc38548145 #8964: fix platform._sys_version to handle IronPython 2.6+. 2013-10-21 03:03:32 +03:00
Serhiy Storchaka 2585e1e48a Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:57:07 +03:00
Serhiy Storchaka f105672332 Issue #19279: UTF-7 decoder no more produces illegal unicode strings. 2013-10-19 20:37:49 +03:00
Serhiy Storchaka 2f4e7648b4 Remove redundant empty lines. 2013-10-18 17:16:04 +03:00
Serhiy Storchaka 7137803238 Issue #19276: Fixed the wave module on 64-bit big-endian platforms. 2013-10-17 23:03:48 +03:00
Victor Stinner a5cd255a7c Close #19267: Fix support of multibyte encoding (ex: UTF-16) in the logging
module.
2013-10-15 23:36:56 +02:00
Serhiy Storchaka b33336f650 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:09:00 +03:00
Serhiy Storchaka 0fa0173893 Issue #18919: Added tests for the sunau module. Unified and extended tests
for audio modules: aifc, sunau and wave.
2013-10-13 17:47:22 +03:00
Mark Dickinson 36f6e2c9e0 Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n)) 2013-10-13 10:55:15 +01:00
Ned Deily 62a192931b Issue #18458: Prevent crashes with newer versions of libedit. Its readline
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.
2013-10-12 15:45:25 -07:00
Serhiy Storchaka 499d82136d Issue #18919: If the close() method of a writer in the sunau or wave module
failed, second invocation of close() and destructor no more raise an
exception.  Second invocation of close() on sunau writer now has no effects.
The aifc module now accepts lower case of names of the 'ulaw' and 'alaw'
codecs.
2013-10-12 21:35:33 +03:00
Serhiy Storchaka 986b5ee4d9 Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:21:12 +03:00