Serhiy Storchaka
cfc2c7bb86
Issue #19920 : Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
2014-02-05 20:55:13 +02:00
Benjamin Peterson
d16e01cf75
mmap obmalloc arenas so that they may be immediately returned to the system when unused ( closes #20494 )
2014-02-04 10:20:26 -05:00
Antoine Pitrou
f581411255
Issue #20426 : When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
2014-02-03 20:59:59 +01:00
Serhiy Storchaka
ccffb25c54
Issue #20368 : The null character now correctly passed from Tcl to Python (in
...
unicode strings only). Improved error handling in variables-related commands.
2014-02-03 21:23:46 +02:00
Antoine Pitrou
c06634acfc
Issue #20435 : Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
2014-02-02 23:37:29 +01:00
Ezio Melotti
5a88853bdc
#20288 : fix handling of invalid numeric charrefs in HTMLParser.
2014-02-01 21:20:22 +02:00
Serhiy Storchaka
31f5121275
Issue #19456 : ntpath.join() now joins relative paths correctly when a drive
...
is present.
2014-01-27 23:14:51 +02:00
Terry Jan Reedy
1d9b9215f0
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:17 -05:00
Serhiy Storchaka
30d68c66e3
Issue #19990 : Added tests for the imghdr module.
...
Based on patch by Claudiu Popa.
2014-01-26 23:48:20 +02:00
Serhiy Storchaka
2403a787b9
Issue #8260 : The read(), readline() and readlines() methods of
...
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
2014-01-26 19:20:24 +02:00
Benjamin Peterson
ce75105e10
use new readline function types ( closes #20374 )
2014-01-24 00:32:12 -05:00
Terry Jan Reedy
5924365528
Issue #17390 : Add Python version to Idle editor window title bar.
...
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:37 -05:00
Richard Oudkerk
e8a57b98ec
Issue #14548 : Make multiprocessing finalizers check pid before
...
running to cope with possibility of gc running just after fork.
(Backport from 3.x.)
2014-01-23 00:11:04 +00:00
Florent Xicluna
edfd9addf6
Issue #17825 : Cursor ^ is correctly positioned for SyntaxError and IndentationError.
2014-01-22 01:33:59 +01:00
Serhiy Storchaka
49259359ee
Issue #20262 : Warnings are raised now when duplicate names are added in the
...
ZIP file or too long ZIP file comment is truncated.
2014-01-20 21:57:09 +02:00
Serhiy Storchaka
326b5ab05a
Issue #20270 : urllib and urlparse now support empty ports.
2014-01-18 18:30:09 +02:00
Serhiy Storchaka
7a278da4ee
Issue #20243 : TarFile no longer raise ReadError when opened in write mode.
2014-01-18 16:14:00 +02:00
Serhiy Storchaka
75ba21a77d
Issue #20245 : The open functions in the tarfile module now correctly handle empty mode.
2014-01-18 15:35:19 +02:00
Zachary Ware
ce46aed13e
Fix some typos/grammar in current sections of NEWS.
2014-01-17 09:29:24 -06:00
Serhiy Storchaka
af080876dc
Issue #20086 : Restored the use of locale-independing mapping instead of
...
locale-depending str.lower() in locale.normalize().
2014-01-17 09:27:56 +02:00
Serhiy Storchaka
e0ed2d75c8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Zachary Ware
f583f41440
Issue #20255 : Update the about and bugs pages.
2014-01-14 16:01:32 -06:00
Benjamin Peterson
28cf368c1b
complain when nbytes > buflen to fix possible buffer overflow ( closes #20246 )
2014-01-13 22:59:38 -05:00
Senthil Kumaran
011097395b
Issue #19082 : Working SimpleXMLRPCServer and xmlrpclib examples, both in modules and documentation.
2014-01-12 16:04:08 -08:00
Serhiy Storchaka
0f11d0f778
Issue #19804 : The test_find_mac test in test_uuid is now skipped if the
...
ifconfig executable is not available.
2014-01-10 15:05:27 +02:00
Serhiy Storchaka
c9da0893d3
Issue #19886 : Use better estimated memory requirements for bigmem tests.
...
Incorrect requirements can cause memory swapping.
2014-01-10 13:36:56 +02:00
Serhiy Storchaka
9f8621fa7d
Issue #13107 : argparse and optparse no longer raises an exception when output
...
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
2014-01-09 23:13:48 +02:00
Antoine Pitrou
3b2afbbf88
Issue #20207 : Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
2014-01-09 19:52:12 +01:00
Serhiy Storchaka
9be238d313
Issue #20072 : Fixed multiple errors in tkinter with wantobjects is False.
...
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
LabelFrame.panes() now always return a tuple.
* Fixed _stringify() for non-ASCII strings.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
2014-01-07 19:32:58 +02:00
Gregory P. Smith
7902f8ddac
news entry for issue19081 fix.
2014-01-06 09:50:19 -08:00
R David Murray
984f630f0a
#1065986 : Make pydoc handle unicode strings.
...
Patch by Akira Kitada.
2014-01-05 12:35:59 -05:00
R David Murray
020d7c379a
closes 16039: CVE-2013-1752: limit line length in imaplib readline calls.
2014-01-03 13:59:22 -05:00
Benjamin Peterson
22d9ee7e17
complain if the codec doesn't return unicode
2013-12-28 10:33:58 -06:00
Antoine Pitrou
63cc99d9a6
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:26:33 +01:00
Serhiy Storchaka
d551b28571
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:20:46 +02:00
Serhiy Storchaka
dbb9630c53
Backported tests for Tkinter variables.
2013-12-26 20:08:34 +02:00
Serhiy Storchaka
5e11655156
Issue #20067 : Tkinter variables now work when wantobjects is false.
2013-12-26 20:05:53 +02:00
Serhiy Storchaka
5542b15d25
Issue #19320 : test_tcl no longer fails when wantobjects is false.
2013-12-25 17:28:50 +02:00
Serhiy Storchaka
ec773cc9c3
Issue #19020 : Tkinter now uses splitlist() instead of split() in configure
...
methods.
2013-12-25 16:35:20 +02:00
Serhiy Storchaka
0b6b335253
Issue #20058 : sys.stdin.readline() in IDLE now always returns only one line.
2013-12-25 14:24:17 +02:00
Antoine Pitrou
6200324701
Issue #12226 : HTTPS is now used by default when connecting to PyPI.
2013-12-22 01:35:53 +01:00
Serhiy Storchaka
d105196c72
Issue #20048 : Fixed ZipExtFile.peek() when it is called on the boundary of
...
the uncompress buffer and read() goes through more than one readbuffer.
This is partial backport of changeset 028e8e0b03e8.
2013-12-21 23:51:15 +02:00
Serhiy Storchaka
0e4d852abf
Issue #20034 : Updated alias mapping to most recent locale.alias file
...
from X.org distribution using makelocalealias.py.
2013-12-20 18:22:38 +02:00
Zachary Ware
1875536480
Issue #19683 : Removed empty tests from test_minidom.
...
Initial patch by Ajitesh Gupta.
2013-12-19 13:44:19 -06:00
Serhiy Storchaka
bd78986279
Issue #5815 : Fixed support for locales with modifiers. Fixed support for
...
locale encodings with hyphens.
2013-12-19 21:21:06 +02:00
Victor Stinner
9450219b06
Issue #20026 : Fix the sqlite module to handle correctly invalid isolation level
...
(wrong type).
2013-12-19 16:44:48 +01:00
Serhiy Storchaka
0c221beed4
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:26:56 +02:00
R David Murray
15160399f5
#19855 : uuid.get_node now looks on the PATH for executables on unix.
...
Patch by Serhiy Storchaka.
2013-12-17 21:27:56 -05:00
Serhiy Storchaka
c97f5ede8f
Issue #20007 : HTTPResponse.read(0) no more prematurely closes connection.
...
Original patch by Simon Sapin.
2013-12-17 21:49:48 +02:00
Serhiy Storchaka
6d562319d2
Issue #17976 : Fixed potential problem with file.write() not detecting IO error
...
by inspecting the return value of fwrite(). Based on patches by Jaakko Moisio
and test by Victor Stinner.
2013-12-17 14:40:06 +02:00
Zachary Ware
51e90bcee5
Issue #19987 : Re-write test_alias_fallback in test_winsound to have two
...
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
2013-12-16 08:58:10 -06:00
Serhiy Storchaka
dd5a46c696
Issue #19912 : Fixed numerous bugs in ntpath.splitunc().
...
* splitunc() no more returns illegal result for paths with redundant slashes.
* splitunc() now correctly processes the u'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Added new tests for splitunc().
2013-12-16 15:15:29 +02:00
Serhiy Storchaka
d1a61dcc65
Issue #19623 : Fixed writing to unseekable files in the aifc module.
...
Fixed writing 'ulaw' (lower case) compressed AIFC files.
2013-12-14 20:34:33 +02:00
Serhiy Storchaka
a92cc91ee6
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:11:04 +02:00
Serhiy Storchaka
17f22c9281
Issue #17919 : select.poll.poll() again works with poll.POLLNVAL on AIX.
2013-12-13 12:09:05 +02:00
Victor Stinner
66c6e9dcb4
Issue #14432 : Generator now clears the borrowed reference to the thread state
...
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
2013-12-13 02:37:09 +01:00
Gregory P. Smith
9ffb1481d8
Fixes Issue #17200 : telnetlib's read_until and expect timeout was broken by the
...
fix to Issue #14635 in Python 2.7.4 to be interpreted as milliseconds
instead of seconds when the platform supports select.poll (ie: everywhere).
It is now treated as seconds once again.
2013-12-10 18:22:03 -08:00
Ned Deily
278543d539
Issue #18270 : Prevent possible IDLE AttributeError on OS X when no initial
...
shell window is present. (Original patch by Terry Reedy)
2013-12-10 16:21:58 -08:00
Zachary Ware
1f70221b86
Issue #19572 : More silently skipped tests explicitly skipped.
2013-12-10 14:09:20 -06:00
Serhiy Storchaka
95d721927a
Issue #19928 : Implemented a test for repr() of cell objects.
2013-12-10 10:20:11 +02:00
Serhiy Storchaka
7057f3fa4d
Issue #19481 : print() of unicode, str or bytearray subclass instance in IDLE
...
no more hangs.
2013-12-10 10:04:41 +02:00
Victor Stinner
7821ff3789
Issue #19932 : Fix typo in import.h, missing whitespaces in function prototypes.
2013-12-10 01:23:22 +01:00
Serhiy Storchaka
5493d5ea2a
Issue #19099 : The struct module now supports Unicode format strings.
2013-12-08 17:44:50 +02:00
Nadeem Vawda
337c50b8cb
Closes #19878 : Fix segfault in bz2 module.
...
Initial patch by Vajrasky Kok.
2013-12-08 15:31:50 +01:00
Serhiy Storchaka
7c573857c7
Issue #16373 : Prevent infinite recursion for ABC Set class comparisons.
2013-12-06 23:23:15 +02:00
Antoine Pitrou
197e71bce1
Issue #18840 : Introduce the json module in the tutorial, and deemphasize the pickle module.
2013-12-05 23:46:32 +01:00
Tim Peters
0ee9baa8d4
Issue #19138 : doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
...
Grafted from c80083ad142d.
2013-12-03 21:02:05 -06:00
Alexandre Vassalotti
df9460f8dc
Issue #6477 : Revert fbb97f6eb3b3 as it broke test_xpickle.
2013-11-30 17:43:42 -08:00
Alexandre Vassalotti
a2934280e5
Issue #6477 : Added pickling support for singletons and their types.
2013-11-30 16:52:03 -08:00
Alexandre Vassalotti
34ca066d1c
Fix typo in Misc/NEWS.
2013-11-30 14:02:47 -08:00
Alexandre Vassalotti
1d3a173326
Issue #16231 : Allow false values other than None to be used as persistent IDs.
2013-11-30 13:24:13 -08:00
Zachary Ware
72a01b29bf
Issue #19595 : Re-enable a long-disabled test in test_winsound
2013-11-27 23:56:04 -06:00
Serhiy Storchaka
26d936a71e
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:16:53 +02:00
Zachary Ware
2a57009b04
Merge heads
2013-11-26 14:55:46 -06:00
Zachary Ware
c0aa2457d8
Issue #19588 : Fixed tests in test_random that were silently skipped most
...
of the time. Patch by Julian Gindi.
2013-11-26 14:49:42 -06:00
Serhiy Storchaka
6d9d30da6a
Issue #11508 : Fixed uuid.getnode() and uuid.uuid1() on environment with
...
virtual interface. Original patch by Kent Frazier.
2013-11-26 22:47:05 +02:00
Serhiy Storchaka
dafda9b042
Issue #11489 : JSON decoder now accepts lone surrogates.
2013-11-26 21:25:15 +02:00
Mark Dickinson
c2f8c81af0
Issue #19638 : Raise ValueError instead of crashing when converting billion character strings to float.
2013-11-26 16:38:25 +00:00
Gregory P. Smith
d82634d606
Fix test.test_support.bind_port() to not cause an error when Python was
...
compiled on a system with SO_REUSEPORT defined in the headers but run on
a system with an OS kernel that does not support that new socket option.
2013-11-24 19:42:15 -08:00
Serhiy Storchaka
5397c97451
Issue #19633 : Fixed writing not compressed 16- and 32-bit wave files on
...
big-endian platforms.
Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file on big-endian platforms.
2013-11-21 11:04:37 +02:00
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
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