Benjamin Peterson
e18b82d996
backport #19426
2013-10-29 15:27:14 -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
Tim Peters
b82300b02d
Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
2013-10-09 13:25:11 -05:00
Serhiy Storchaka
0189a46ec5
Issue #18037 : 2to3 now escapes '\u' and '\U' in native strings.
2013-10-03 12:08:22 +03:00
Serhiy Storchaka
fdda200195
Issue #19137 : The pprint module now correctly formats empty set and frozenset
...
and instances of set and frozenset subclasses.
2013-10-02 11:40:26 +03:00
Barry Warsaw
d5849f545e
- Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-09-30 19:09:29 -04:00
Barry Warsaw
42faa55124
- Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-09-30 18:35:15 -04:00
Barry Warsaw
e763a91f6a
Fix typo in NEWS file.
2013-09-30 16:45:40 -04:00
Antoine Pitrou
923852857d
Issue #12641 : Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
...
Patch by Oscar Benjamin.
2013-09-30 22:13:17 +02:00
Barry Warsaw
c545a5ebd6
- Issue #16041 : CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much member. Patch by Jyrki
Pulliainen.
2013-09-30 15:56:29 -04:00
Barry Warsaw
6c1bb7b4e3
- Issue #16037 : HTTPMessage.readheaders() raises an HTTPException when more
...
than 100 headers are read. Adapted from patch by Jyrki Pulliainen.
2013-09-29 13:59:06 -04:00
Antoine Pitrou
87c99a0d37
Properly initialize all fields of a SSL object after allocation.
2013-09-29 19:52:45 +02:00
Antoine Pitrou
0879b168bf
Issue #4366 : Fix building extensions on all platforms when --enable-shared is used.
2013-09-29 01:48:40 +02:00
Serhiy Storchaka
cfa5574405
Issue #18950 : Fix miscellaneous bugs in the sunau module.
...
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream. Au_write.writeframesraw() now
correctly updates current file position. Au_read and Au_write now correctly
work with file object if start file position is not a zero.
2013-09-28 21:31:36 +03:00
Barry Warsaw
d6fddf3d15
- 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.
with test fixes by Serhiy Storchaka.
2013-09-25 09:36:58 -04:00
Barry Warsaw
4e95d60191
- Issue #16039 : CVE-2013-1752: Change use of readline in imaplib module to
...
limit line length. Patch by Emil Lind.
2013-09-22 16:07:09 -04:00
Serhiy Storchaka
60bf0e4daa
Issue #18050 : Fixed an incompatibility of the re module with Python 2.7.3
...
and older binaries.
2013-09-20 21:25:53 +03:00
R David Murray
c64566e30f
#19037 : adjust file times *before* moving maildir files into place.
...
This avoids race conditions when other programs are monitoring
the maildir directory. Patch by janzert.
2013-09-18 08:35:45 -04:00
Serhiy Storchaka
e787bce79c
Issue #18873 : IDLE, 2to3, and the findnocoding.py script now detect Python
...
source code encoding only in comment lines.
2013-09-17 00:00:46 +03:00
R David Murray
74213e4ee9
Merge #14984 : On POSIX, enforce permissions when reading default .netrc.
2013-09-16 14:32:54 -04:00
R David Murray
4189b67a66
#14984 : On POSIX, enforce permissions when reading default .netrc.
...
Initial patch by Bruno Piguet.
This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it. Fixing that issue will be an enhancement.
2013-09-16 13:48:44 -04:00
Andrew Kuchling
503baf9ecd
#16042 : CVE-2013-1752: Limit amount of data read by limiting the call to readline().
...
The SSLFakeFile.readline() method needs to support limiting readline() as
well. It's not a full emulation of readline()'s signature, but this class
is only used by smtplib's code, so it doesn't have to be.
Modified version of original patch by Christian Heimes.
2013-09-15 13:11:47 -04:00
Raymond Hettinger
39659f22fa
Issue #19018 : The heapq.merge() function no longer suppresses IndexError
2013-09-14 22:17:39 -07:00
Senthil Kumaran
d4fac04fde
Fix SimpleHTTPServer's request handling case on trailing '/'.
...
Patch contributed by Vajrasky Kok. Addresses Issue #17324
2013-09-13 00:18:55 -07:00
Serhiy Storchaka
b06f536cb7
Issue #18784 : The uuid module no more attempts to load libc via ctypes.CDLL,
...
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
2013-09-13 07:52:00 +03:00
Serhiy Storchaka
e03c74a1b6
Issue #18988 : The "Tab" key now works when a word is already autocompleted.
2013-09-11 22:49:06 +03:00
Serhiy Storchaka
7d12ca5fd4
Fix a typo. ( closes #18953 )
2013-09-08 20:43:16 +03:00
Michael Foord
050e9e5c59
Closes issue 14971.
...
unittest test discovery no longer gets confused when a function
has a different __name__ than its name in the TestCase class dictionary.
2013-09-08 15:34:27 +12:00