Commit Graph

10535 Commits

Author SHA1 Message Date
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
R David Murray ca00c6ea65 #20013: don't raise socket error when selected mailbox deleted.
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.

The patch itself was tested by the person who reported the bug.
2014-02-07 13:51:22 -05:00
Serhiy Storchaka 76249ea4a7 Issue #20532: Tests which use _testcapi now are marked as CPython only. 2014-02-07 10:06:05 +02:00
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
Benjamin Peterson c802a83930 add Nikolaus Rath to ACKS 2014-01-18 21:50:35 -05: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