]>
granicus.if.org Git - python/log
Zachary Ware [Thu, 20 Mar 2014 16:00:29 +0000 (11:00 -0500)]
Use "x" instead of "i" for s.index and s.count entries in sequence ops table.
Suggested by Bruce Esrig on docs@.
Benjamin Peterson [Thu, 20 Mar 2014 01:54:59 +0000 (20:54 -0500)]
sync with 3.4 branch
Benjamin Peterson [Thu, 20 Mar 2014 01:52:17 +0000 (20:52 -0500)]
add Nehal Hussain
Zachary Ware [Tue, 18 Mar 2014 14:18:53 +0000 (09:18 -0500)]
Issue #20966: Fix Tkinter Resources link
Georg Brandl [Mon, 17 Mar 2014 06:36:45 +0000 (07:36 +0100)]
Update doc version switcher for 3.4/3.5.
Benjamin Peterson [Sun, 16 Mar 2014 09:07:26 +0000 (10:07 +0100)]
fix ctypes test alignment assumptions (closes #20946)
Patch by Andreas Schwab.
Antoine Pitrou [Sun, 16 Mar 2014 01:12:20 +0000 (02:12 +0100)]
Close #16665: improve documentation for hex(). Patch by Jessica McKellar.
Benjamin Peterson [Sat, 15 Mar 2014 20:23:32 +0000 (15:23 -0500)]
send people to the right editors page (#20938)
Ned Deily [Sat, 15 Mar 2014 20:14:15 +0000 (13:14 -0700)]
Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
Benjamin Peterson [Sat, 15 Mar 2014 17:29:04 +0000 (12:29 -0500)]
remove runtime_library_dirs for _sqlite; it isn't needed
Éric Araujo [Thu, 13 Mar 2014 20:17:11 +0000 (16:17 -0400)]
Clarify distutils’ clean command (ref #6142)
Jesus Cea [Thu, 13 Mar 2014 16:33:43 +0000 (17:33 +0100)]
Closes #20908: Memory leak in Reg2Py()
Benjamin Peterson [Thu, 13 Mar 2014 02:51:52 +0000 (21:51 -0500)]
weaken callback count inequality (closes #20901)
Benjamin Peterson [Thu, 13 Mar 2014 02:41:35 +0000 (21:41 -0500)]
remove unnecessary word (closes #19060)
Patch by Anastasia Filatova.
Éric Araujo [Thu, 13 Mar 2014 02:19:39 +0000 (22:19 -0400)]
Make distutils error messages more helpful (#11599).
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name. With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.
This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
Éric Araujo [Wed, 12 Mar 2014 23:35:54 +0000 (19:35 -0400)]
Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
Benjamin Peterson [Wed, 12 Mar 2014 23:05:53 +0000 (18:05 -0500)]
use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)
Benjamin Peterson [Wed, 12 Mar 2014 20:08:43 +0000 (15:08 -0500)]
add Sean Rodman
Éric Araujo [Wed, 12 Mar 2014 09:01:25 +0000 (05:01 -0400)]
Fix missing import in bdist_rpm (#18045)
Éric Araujo [Wed, 12 Mar 2014 07:19:33 +0000 (03:19 -0400)]
Restore missing part of error message (#4931)
Éric Araujo [Wed, 12 Mar 2014 07:14:48 +0000 (03:14 -0400)]
Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
Éric Araujo [Wed, 12 Mar 2014 06:16:37 +0000 (02:16 -0400)]
Define what “updating” means in docs for open (#19627).
Original patch by Lina Clark.
R David Murray [Tue, 11 Mar 2014 22:12:25 +0000 (18:12 -0400)]
#20030: doc that TestLoader.discover returns a TestSuite.
Patch by Lita Cho.
Benjamin Peterson [Tue, 11 Mar 2014 19:28:37 +0000 (14:28 -0500)]
sync pyporting howto from python 3 docs
Georg Brandl [Tue, 11 Mar 2014 09:28:56 +0000 (10:28 +0100)]
#13530: port to 2.7 branch (document what os.lseek returns).
Georg Brandl [Mon, 10 Mar 2014 18:26:57 +0000 (19:26 +0100)]
Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.
Benjamin Peterson [Sun, 9 Mar 2014 19:01:09 +0000 (14:01 -0500)]
note that future_builtin's map is not quite like python 3's (closes #19363)
Patch by Gareth Rees.
Georg Brandl [Sun, 9 Mar 2014 09:23:24 +0000 (10:23 +0100)]
merge
Raymond Hettinger [Sat, 8 Mar 2014 17:56:08 +0000 (09:56 -0800)]
Improve the default seeding in random module to use 32 bytes of entropy when available.
Serhiy Storchaka [Thu, 6 Mar 2014 10:24:29 +0000 (12:24 +0200)]
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
Terry Jan Reedy [Thu, 6 Mar 2014 04:15:57 +0000 (23:15 -0500)]
Issue #15618: Make turtle.py itself work when run from a module with
from __future__ import unicode_literals. Initial patch by Juancarlo Añez.
The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix. If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
Serhiy Storchaka [Mon, 3 Mar 2014 19:16:27 +0000 (21:16 +0200)]
Correct and improve comments in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
Benjamin Peterson [Sun, 2 Mar 2014 00:16:12 +0000 (19:16 -0500)]
add Chris Angelico
Benjamin Peterson [Sun, 2 Mar 2014 00:14:12 +0000 (19:14 -0500)]
fix test_posix.test_initgroups to work without supplemental groups (closes #20249)
Terry Jan Reedy [Thu, 27 Feb 2014 23:47:23 +0000 (18:47 -0500)]
Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
Serhiy Storchaka [Wed, 26 Feb 2014 18:59:08 +0000 (20:59 +0200)]
Issue #20501: fileinput module no longer reads whole file into memory when using
fileinput.hook_encoded.
R David Murray [Mon, 24 Feb 2014 20:36:45 +0000 (15:36 -0500)]
#20628: wrap lines to < 80.
R David Murray [Mon, 24 Feb 2014 20:35:19 +0000 (15:35 -0500)]
#20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
Georg Brandl [Mon, 24 Feb 2014 08:26:53 +0000 (09:26 +0100)]
Closes #20735: remove erroneous deprecated marker from stringprep docs
Terry Jan Reedy [Mon, 24 Feb 2014 04:32:59 +0000 (23:32 -0500)]
Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).
Antoine Pitrou [Sun, 23 Feb 2014 23:41:14 +0000 (00:41 +0100)]
Restore title style
Antoine Pitrou [Sun, 23 Feb 2014 18:39:06 +0000 (19:39 +0100)]
Issue #20743: Fix a reference leak in test_tcl.
Benjamin Peterson [Sat, 22 Feb 2014 06:32:50 +0000 (01:32 -0500)]
use sphinx from its own virtualenv (closes #20693)
Benjamin Peterson [Thu, 20 Feb 2014 03:51:08 +0000 (22:51 -0500)]
update logo url (#20695)
Serhiy Storchaka [Wed, 19 Feb 2014 21:27:37 +0000 (23:27 +0200)]
Issue #6815: os.path.expandvars() now supports non-ASCII Unicode environment
variables names and values.
Zachary Ware [Wed, 19 Feb 2014 16:43:13 +0000 (10:43 -0600)]
Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
Serhiy Storchaka [Wed, 19 Feb 2014 16:33:30 +0000 (18:33 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
Zachary Ware [Tue, 18 Feb 2014 14:36:14 +0000 (08:36 -0600)]
Issue #20510: Rewrote test_exit in test_sys to match existing comments
and to modernize. Initial patch by Gareth Rees.
Terry Jan Reedy [Tue, 18 Feb 2014 04:16:26 +0000 (23:16 -0500)]
whitespace
Terry Jan Reedy [Tue, 18 Feb 2014 04:12:07 +0000 (23:12 -0500)]
Issue #8478: Untokenizer.compat now processes first token from iterator input.
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
Terry Jan Reedy [Mon, 17 Feb 2014 21:45:38 +0000 (16:45 -0500)]
Untokenize: An logically incorrect assert tested user input validity.
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
Benjamin Peterson [Sun, 16 Feb 2014 19:51:17 +0000 (14:51 -0500)]
Benjamin Peterson [Sun, 16 Feb 2014 19:48:26 +0000 (14:48 -0500)]
remove tests for #19081
Benjamin Peterson [Sun, 16 Feb 2014 19:46:57 +0000 (14:46 -0500)]
finish backing out #19081
Benjamin Peterson [Sun, 16 Feb 2014 19:20:14 +0000 (14:20 -0500)]
backout #19081 to fix #20621
Benjamin Peterson [Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)]
add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
Benjamin Peterson [Sat, 15 Feb 2014 18:02:52 +0000 (13:02 -0500)]
give non-iterable TypeError a message (closes #20507)
Ezio Melotti [Sat, 15 Feb 2014 14:58:52 +0000 (16:58 +0200)]
#19890: fix typo in multiprocessing docs. Patch by Mike Short.
Ezio Melotti [Sat, 15 Feb 2014 11:01:08 +0000 (13:01 +0200)]
#20634: fix typo in IDLE README noticed by Saimadhav Heblikar.
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.