]>
granicus.if.org Git - python/log
Benjamin Peterson [Fri, 14 Feb 2014 19:10:39 +0000 (14:10 -0500)]
fix links to builtin repr function (closes #20573)
Ned Deily [Fri, 14 Feb 2014 06:49:30 +0000 (22:49 -0800)]
Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.
Ezio Melotti [Fri, 14 Feb 2014 05:04:15 +0000 (07:04 +0200)]
#19680: add back documentation for print and exec in the interactive help.
Serhiy Storchaka [Wed, 12 Feb 2014 08:52:07 +0000 (10:52 +0200)]
Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
Serhiy Storchaka [Wed, 12 Feb 2014 07:54:48 +0000 (09:54 +0200)]
Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
Ned Deily [Wed, 12 Feb 2014 01:57:14 +0000 (17:57 -0800)]
Add references for Xcode and the Python Developer's Guide
to the internal Mac/README file.
Benjamin Peterson [Tue, 11 Feb 2014 15:16:16 +0000 (10:16 -0500)]
avoid name clash with posix_close (closes #20594)
Vinay Sajip [Tue, 11 Feb 2014 11:32:40 +0000 (11:32 +0000)]
Issue #20558: Improved implementation of error handling.
Serhiy Storchaka [Tue, 11 Feb 2014 08:30:06 +0000 (10:30 +0200)]
Issue #19856: shutil.move() failed to move a directory to other directory
on Windows if source name ends with os.altsep.
Serhiy Storchaka [Mon, 10 Feb 2014 17:27:06 +0000 (19:27 +0200)]
Merge heads
Serhiy Storchaka [Mon, 10 Feb 2014 17:19:53 +0000 (19:19 +0200)]
issue12085: Use more Pythonic way to check _child_created.
_active shouldn't be cached, it set to None on shutdown.
Ezio Melotti [Mon, 10 Feb 2014 07:59:04 +0000 (09:59 +0200)]
#19906: clarify note in urllib docs.
Serhiy Storchaka [Sun, 9 Feb 2014 11:14:04 +0000 (13:14 +0200)]
Issue #20437: Fixed 43 potential bugs when deleting objects references.
R David Murray [Sat, 8 Feb 2014 22:54:12 +0000 (17:54 -0500)]
#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.
Terry Jan Reedy [Sat, 8 Feb 2014 14:39:51 +0000 (09:39 -0500)]
Issue #20406: Use Python application icons for Idle window title bars.
Patch mostly by Serhiy Storchaka.
Serhiy Storchaka [Sat, 8 Feb 2014 13:05:53 +0000 (15:05 +0200)]
Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests.
Serhiy Storchaka [Sat, 8 Feb 2014 12:49:55 +0000 (14:49 +0200)]
Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
Serhiy Storchaka [Sat, 8 Feb 2014 12:28:20 +0000 (14:28 +0200)]
Issue #20546: Use specific asserts in int tests.
R David Murray [Fri, 7 Feb 2014 18:51:22 +0000 (13:51 -0500)]
#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.
Serhiy Storchaka [Fri, 7 Feb 2014 08:06:05 +0000 (10:06 +0200)]
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka [Thu, 6 Feb 2014 07:26:32 +0000 (09:26 +0200)]
Issue #20520: Fixed readline test in test_codecs.
Ned Deily [Thu, 6 Feb 2014 01:01:41 +0000 (17:01 -0800)]
Issue #20374: delete spurious empty line
Ned Deily [Thu, 6 Feb 2014 00:52:26 +0000 (16:52 -0800)]
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
Serhiy Storchaka [Wed, 5 Feb 2014 18:55:13 +0000 (20:55 +0200)]
Issue #19920: Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 5 Feb 2014 11:41:38 +0000 (13:41 +0200)]
Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
Vinay Sajip [Tue, 4 Feb 2014 16:25:41 +0000 (16:25 +0000)]
Issue #20509: Added cross-reference in documentation.
Benjamin Peterson [Tue, 4 Feb 2014 15:20:26 +0000 (10:20 -0500)]
mmap obmalloc arenas so that they may be immediately returned to the system when unused (closes #20494)
Serhiy Storchaka [Mon, 3 Feb 2014 20:30:22 +0000 (22:30 +0200)]
Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
Antoine Pitrou [Mon, 3 Feb 2014 19:59:59 +0000 (20:59 +0100)]
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
Serhiy Storchaka [Mon, 3 Feb 2014 19:33:21 +0000 (21:33 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:23:46 +0000 (21:23 +0200)]
Issue #20368: The null character now correctly passed from Tcl to Python (in
unicode strings only). Improved error handling in variables-related commands.
Serhiy Storchaka [Mon, 3 Feb 2014 18:42:43 +0000 (20:42 +0200)]
Merge heads
Serhiy Storchaka [Mon, 3 Feb 2014 18:41:04 +0000 (20:41 +0200)]
Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
Benjamin Peterson [Mon, 3 Feb 2014 18:33:56 +0000 (13:33 -0500)]
use system mercurial
Vinay Sajip [Mon, 3 Feb 2014 11:51:22 +0000 (11:51 +0000)]
Added cookbook entry on logging filter configuration using dictConfig().
Antoine Pitrou [Sun, 2 Feb 2014 22:37:29 +0000 (23:37 +0100)]
Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
Ned Deily [Sun, 2 Feb 2014 21:59:26 +0000 (13:59 -0800)]
Issue #19990: Install test/imghdrdata.
Antoine Pitrou [Sun, 2 Feb 2014 21:48:25 +0000 (22:48 +0100)]
Issue #20423: fix documentation of io.StringIO's newline parameter
Serhiy Storchaka [Sun, 2 Feb 2014 21:04:06 +0000 (23:04 +0200)]
Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
Benjamin Peterson [Sun, 2 Feb 2014 20:30:22 +0000 (15:30 -0500)]
use with statement to ensure zipfile is always closed (closes #20102)
Terry Jan Reedy [Sun, 2 Feb 2014 04:08:24 +0000 (23:08 -0500)]
Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
Ezio Melotti [Sat, 1 Feb 2014 19:20:22 +0000 (21:20 +0200)]
#20288: fix handling of invalid numeric charrefs in HTMLParser.
Mark Dickinson [Sat, 1 Feb 2014 16:32:40 +0000 (16:32 +0000)]
Issue #19683: Add __closure__ and other missing attributes to function docs.
Zachary Ware [Fri, 31 Jan 2014 17:27:24 +0000 (11:27 -0600)]
Fix unfinished thought in xml overview page. Suggested by Bo Bayles on docs@.
Terry Jan Reedy [Fri, 31 Jan 2014 02:37:24 +0000 (21:37 -0500)]
Idle test: 2nd try at suppressing compile time warning (hint by Nick Coghlan).
Vinay Sajip [Thu, 30 Jan 2014 20:22:01 +0000 (20:22 +0000)]
Issue #20444: Reduced code duplication. Thanks to dongwm for the report and patch.
Terry Jan Reedy [Wed, 29 Jan 2014 19:42:32 +0000 (14:42 -0500)]
Idlelib & buildbots: suppress py3 deprecation message even if enabled.
Serhiy Storchaka [Wed, 29 Jan 2014 09:49:13 +0000 (11:49 +0200)]
Backported a test for lone surrogates support in io.StringIO.
Terry Jan Reedy [Wed, 29 Jan 2014 05:15:59 +0000 (00:15 -0500)]
Silence deprecation warning in sunau.py
Terry Jan Reedy [Wed, 29 Jan 2014 04:13:35 +0000 (23:13 -0500)]
Idlelib: silence two buildbot Deprecation Warnings with better code.
Gregory P. Smith [Tue, 28 Jan 2014 08:29:46 +0000 (00:29 -0800)]
Remove unneeded use of globals() and locals() in test on imports
introduced with the issue19081 tests.
Gregory P. Smith [Tue, 28 Jan 2014 06:43:25 +0000 (22:43 -0800)]
Remove inaccurate comment and a the related recently added
Py_VerboseFlag print that can never be triggered.
prefix[0] is always equal to 0 at this point in the code.
Gregory P. Smith [Tue, 28 Jan 2014 06:06:51 +0000 (22:06 -0800)]
Refactor the new test for issue19081 to exec import statements into a
test_ns dict instead of the actual globals() and locals(). Suggested
after review by Thomas Wouters.
Serhiy Storchaka [Mon, 27 Jan 2014 21:14:51 +0000 (23:14 +0200)]
Issue #19456: ntpath.join() now joins relative paths correctly when a drive
is present.
Gregory P. Smith [Mon, 27 Jan 2014 08:15:10 +0000 (00:15 -0800)]
Issue #19081: Remove the zipimporter.files reference as the zip TOC
caches are module global in the zip_directory_cache. When it is
updated due to a changed zip file, all zipimporter instances need to
see the same updates TOC cache. This fixes the bug for the overlooked
submodule import case from the earlier round of changes. Includes
tests that would fail otherwise.
It also refactors zipimporter_init in the process to make it a bit
easier to read and understand. Less reuse of the same variable for
multiple purposes and the local path buffer is malloc'ed instead
of consuming a large MAXPATHLEN+2 chunk stack space.
Terry Jan Reedy [Mon, 27 Jan 2014 03:24:17 +0000 (22:24 -0500)]
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
Terry Jan Reedy [Mon, 27 Jan 2014 02:34:25 +0000 (21:34 -0500)]
Idlelib.calltips: add test of starred first parameters. They should not be
removed even for bound methods. (Inspect.signature does, see 20401.)
Terry Jan Reedy [Mon, 27 Jan 2014 01:10:56 +0000 (20:10 -0500)]
Merge heads.
Terry Jan Reedy [Mon, 27 Jan 2014 00:55:07 +0000 (19:55 -0500)]
Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.
Serhiy Storchaka [Sun, 26 Jan 2014 21:48:20 +0000 (23:48 +0200)]
Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.
Serhiy Storchaka [Sun, 26 Jan 2014 19:19:59 +0000 (21:19 +0200)]
Fixed a bug in previous changeset: StreamReader returned '' instead of u''.
Serhiy Storchaka [Sun, 26 Jan 2014 17:20:24 +0000 (19:20 +0200)]
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.
Benjamin Peterson [Sat, 25 Jan 2014 18:27:06 +0000 (13:27 -0500)]
update sphinx url
Benjamin Peterson [Sat, 25 Jan 2014 18:26:18 +0000 (13:26 -0500)]
linkify
Serhiy Storchaka [Sat, 25 Jan 2014 17:42:27 +0000 (19:42 +0200)]
Issue #20331: Fixed possible FD leaks in various modules:
SimpleHTTPServer, imghdr, mailcap, mimetypes, xml.etree.
Benjamin Peterson [Sat, 25 Jan 2014 04:59:57 +0000 (23:59 -0500)]
update hosting faq
Benjamin Peterson [Fri, 24 Jan 2014 16:44:16 +0000 (11:44 -0500)]
new plan: just remove typecasts (closes #20374)
Benjamin Peterson [Fri, 24 Jan 2014 05:32:12 +0000 (00:32 -0500)]
use new readline function types (closes #20374)
Serhiy Storchaka [Thu, 23 Jan 2014 14:08:35 +0000 (16:08 +0200)]
Third attempt to fix test_user_command on OpenSolaris.
Serhiy Storchaka [Thu, 23 Jan 2014 12:38:44 +0000 (14:38 +0200)]
Other attempt to fix test_user_command on OpenSolaris.
Serhiy Storchaka [Thu, 23 Jan 2014 09:03:02 +0000 (11:03 +0200)]
Try to fix test_user_command on OpenSolaris where floats can have different
string representation in Tcl and Python.
Serhiy Storchaka [Thu, 23 Jan 2014 07:42:46 +0000 (09:42 +0200)]
Added test_user_command in test_tcl.
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
Terry Jan Reedy [Thu, 23 Jan 2014 05:36:37 +0000 (00:36 -0500)]
Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.
Richard Oudkerk [Thu, 23 Jan 2014 00:11:04 +0000 (00:11 +0000)]
Issue #14548: Make multiprocessing finalizers check pid before
running to cope with possibility of gc running just after fork.
(Backport from 3.x.)
Stefan Krah [Wed, 22 Jan 2014 12:18:09 +0000 (13:18 +0100)]
Fix test failures --without-threads.
Terry Jan Reedy [Wed, 22 Jan 2014 02:12:13 +0000 (21:12 -0500)]
Issue #20818: Remove code from idlelib.CallTipWindow.showtip that is now
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
Terry Jan Reedy [Wed, 22 Jan 2014 01:45:03 +0000 (20:45 -0500)]
Issue #16638: Include up to 5 docstring header lines (before first blank) in
Idle calltips. This is needed for builtins, such 3.x bytes (which is why 5).
Based on patch by Serhiy Storchaka.
Florent Xicluna [Wed, 22 Jan 2014 00:33:59 +0000 (01:33 +0100)]
Issue #17825: Cursor ^ is correctly positioned for SyntaxError and IndentationError.
Stefan Krah [Tue, 21 Jan 2014 22:05:52 +0000 (23:05 +0100)]
Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
Terry Jan Reedy [Tue, 21 Jan 2014 20:36:36 +0000 (15:36 -0500)]
Issue #16630: Make Idle calltips work even when __getattr__ raises.
Initial patch by Roger Serwy.
Georg Brandl [Tue, 21 Jan 2014 18:21:18 +0000 (19:21 +0100)]
Fix markup error.
Terry Jan Reedy [Tue, 21 Jan 2014 08:07:43 +0000 (03:07 -0500)]
Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins.
I do not expect a problem in 2.7, but backported this anyway, 'in case'.
Terry Jan Reedy [Tue, 21 Jan 2014 05:31:07 +0000 (00:31 -0500)]
Issue #21222: Whitespace
Terry Jan Reedy [Tue, 21 Jan 2014 05:26:10 +0000 (00:26 -0500)]
Issue #20122: Idlelib: Move tests in 3.x CallTips.py to test_calltips.py.
For 2.7 backport, fix get_arg_spec as needed to make expanded tests pass.
Serhiy Storchaka [Mon, 20 Jan 2014 19:57:09 +0000 (21:57 +0200)]
Issue #20262: Warnings are raised now when duplicate names are added in the
ZIP file or too long ZIP file comment is truncated.
Benjamin Peterson [Mon, 20 Jan 2014 05:10:23 +0000 (00:10 -0500)]
put notes in a ..note section
Benjamin Peterson [Mon, 20 Jan 2014 05:09:53 +0000 (00:09 -0500)]
document that a new Python thread context is created in ctypes callbacks (closes #6627)
Patch by Nikolaus Rath.
Benjamin Peterson [Sun, 19 Jan 2014 02:50:35 +0000 (21:50 -0500)]
add Nikolaus Rath to ACKS
R David Murray [Sat, 18 Jan 2014 19:55:09 +0000 (14:55 -0500)]
#19855: restore use of LC_ALL, not LC_MESSAGES
I didn't realize LC_ALL was an override, and I should have. I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.
Serhiy Storchaka [Sat, 18 Jan 2014 16:30:09 +0000 (18:30 +0200)]
Issue #20270: urllib and urlparse now support empty ports.
Serhiy Storchaka [Sat, 18 Jan 2014 14:14:00 +0000 (16:14 +0200)]
Issue #20243: TarFile no longer raise ReadError when opened in write mode.
Serhiy Storchaka [Sat, 18 Jan 2014 13:54:32 +0000 (15:54 +0200)]
Backported test for issue #20238.
Serhiy Storchaka [Sat, 18 Jan 2014 13:35:19 +0000 (15:35 +0200)]
Issue #20245: The open functions in the tarfile module now correctly handle empty mode.
Zachary Ware [Fri, 17 Jan 2014 15:29:24 +0000 (09:29 -0600)]
Fix some typos/grammar in current sections of NEWS.
Serhiy Storchaka [Fri, 17 Jan 2014 07:27:56 +0000 (09:27 +0200)]
Issue #20086: Restored the use of locale-independing mapping instead of
locale-depending str.lower() in locale.normalize().
Benjamin Peterson [Thu, 16 Jan 2014 21:56:22 +0000 (16:56 -0500)]
fix error check
Serhiy Storchaka [Thu, 16 Jan 2014 16:59:17 +0000 (18:59 +0200)]
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.
Benjamin Peterson [Thu, 16 Jan 2014 14:52:38 +0000 (09:52 -0500)]
update pysqlite website (closes #20278)
Vinay Sajip [Wed, 15 Jan 2014 13:27:58 +0000 (13:27 +0000)]
Clarified documentation note on module-level convenience functions.
Zachary Ware [Tue, 14 Jan 2014 22:01:32 +0000 (16:01 -0600)]
Issue #20255: Update the about and bugs pages.