]>
granicus.if.org Git - python/log
R David Murray [Thu, 5 Apr 2012 01:28:14 +0000 (21:28 -0400)]
#14490, #14491: add 'sundry'-style import tests for Tools/scripts.
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running. Also fixes the
syntax errors revealed by the tests.
Georg Brandl [Wed, 4 Apr 2012 18:17:06 +0000 (20:17 +0200)]
Closes #14495: fix typo.
Antoine Pitrou [Tue, 3 Apr 2012 18:12:23 +0000 (20:12 +0200)]
Issue #14482: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows. Patch by Popa Claudiu.
R David Murray [Tue, 3 Apr 2012 12:46:48 +0000 (08:46 -0400)]
#14481: fix formatting of example in subprocess docs.
Benjamin Peterson [Tue, 3 Apr 2012 04:30:38 +0000 (00:30 -0400)]
fix parse_syntax_error to clean up its resources
Benjamin Peterson [Mon, 2 Apr 2012 18:22:50 +0000 (14:22 -0400)]
remove uneeded line
Kristján Valur Jónsson [Mon, 2 Apr 2012 15:23:29 +0000 (15:23 +0000)]
Issue #14471: Fix a possible buffer overrun in the winreg module.
Benjamin Peterson [Mon, 2 Apr 2012 15:15:17 +0000 (11:15 -0400)]
prevent writing to stderr from messing up the exception state (closes #14474)
Benjamin Peterson [Sun, 1 Apr 2012 22:49:54 +0000 (18:49 -0400)]
adjust formatting
Benjamin Peterson [Sun, 1 Apr 2012 22:48:40 +0000 (18:48 -0400)]
remove extraneous condition
Benjamin Peterson [Sun, 1 Apr 2012 22:48:11 +0000 (18:48 -0400)]
merge heads
Benjamin Peterson [Sun, 1 Apr 2012 22:48:02 +0000 (18:48 -0400)]
be consistent with rest of function
Antoine Pitrou [Sun, 1 Apr 2012 15:19:09 +0000 (17:19 +0200)]
Issue #14151: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
Antoine Pitrou [Sun, 1 Apr 2012 14:05:46 +0000 (16:05 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.
Sandro Tosi [Sat, 31 Mar 2012 23:50:00 +0000 (01:50 +0200)]
fix typo; thanks to Robert Bardos from docs@
Antoine Pitrou [Sat, 31 Mar 2012 23:00:17 +0000 (01:00 +0200)]
Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.
Antoine Pitrou [Sat, 31 Mar 2012 21:50:31 +0000 (23:50 +0200)]
Issue #14437: Fix building the _io module under Cygwin.
Antoine Pitrou [Sat, 31 Mar 2012 18:56:21 +0000 (20:56 +0200)]
Issue #14456: improve documentation of the signal module w.r.t. threads.
Antoine Pitrou [Sat, 31 Mar 2012 18:23:30 +0000 (20:23 +0200)]
Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.
Sandro Tosi [Sat, 31 Mar 2012 16:34:59 +0000 (18:34 +0200)]
use unittest.skip; thanks to Chang Min Jeon from docs@
R David Murray [Sat, 31 Mar 2012 16:06:35 +0000 (12:06 -0400)]
#14434: make tutorial link in 'help' banner version-specific
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.
Sandro Tosi [Sat, 31 Mar 2012 15:23:10 +0000 (17:23 +0200)]
add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@
Andrew Svetlov [Sat, 31 Mar 2012 11:10:10 +0000 (14:10 +0300)]
update NEWS as Terry Reedy proposed
R David Murray [Fri, 30 Mar 2012 22:07:42 +0000 (18:07 -0400)]
#10423: clarify options vs args in argparse discussion of optparse
Patch by Sandro Tosi.
Vinay Sajip [Thu, 29 Mar 2012 19:17:18 +0000 (20:17 +0100)]
Closes #14436: Convert msg + args to string before pickling.
Andrew Svetlov [Thu, 29 Mar 2012 16:01:28 +0000 (19:01 +0300)]
Issue #14409: IDLE doesn't not execute commands from shell with default keybinding for <Return>.
Patch by Roger Serwy.
R David Murray [Thu, 29 Mar 2012 10:47:35 +0000 (06:47 -0400)]
#14416: add missing LOG_SYSLOG facility to syslog docs.
Georg Brandl [Tue, 27 Mar 2012 05:46:46 +0000 (07:46 +0200)]
Closes #14411: remove outdated comment in rlcompleter docstring.
Sandro Tosi [Mon, 26 Mar 2012 17:36:23 +0000 (19:36 +0200)]
Issue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe
Vinay Sajip [Mon, 26 Mar 2012 16:09:58 +0000 (17:09 +0100)]
Minor documentation tweak.
Stefan Krah [Mon, 26 Mar 2012 13:05:22 +0000 (15:05 +0200)]
Issue #3367: NULL-terminate argv[] copies to prevent an invalid access
in sys_update_path().
Benjamin Peterson [Mon, 26 Mar 2012 02:41:06 +0000 (22:41 -0400)]
merge heads
Benjamin Peterson [Mon, 26 Mar 2012 02:40:54 +0000 (22:40 -0400)]
kill this terribly outdated comment
Georg Brandl [Sun, 25 Mar 2012 18:40:57 +0000 (20:40 +0200)]
Add missing files for new doc theme.
Georg Brandl [Sun, 25 Mar 2012 18:31:57 +0000 (20:31 +0200)]
Switch to new "lighter" doc design.
Georg Brandl [Sun, 25 Mar 2012 06:43:22 +0000 (08:43 +0200)]
Closes #14401: fix typos in curses howto.
Charles-François Natali [Sat, 24 Mar 2012 19:36:09 +0000 (20:36 +0100)]
Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
to a known bug in pthread implementation on FreeBSD < 7).
Martin v. Löwis [Sat, 24 Mar 2012 16:39:57 +0000 (17:39 +0100)]
Issue #14400: Fix typo.
Vinay Sajip [Fri, 23 Mar 2012 14:36:22 +0000 (14:36 +0000)]
Closes #14314: backported fix.
Giampaolo Rodola' [Fri, 23 Mar 2012 14:07:07 +0000 (15:07 +0100)]
attempt to fix asyncore buildbot failure
Kristján Valur Jónsson [Fri, 23 Mar 2012 12:50:53 +0000 (12:50 +0000)]
Fix typo when "PyObject*" was changed to "identifier"
Kristján Valur Jónsson [Thu, 22 Mar 2012 23:10:37 +0000 (23:10 +0000)]
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
Giampaolo Rodola' [Thu, 22 Mar 2012 15:22:06 +0000 (16:22 +0100)]
issue 10340 - forgot to update Misc/NEWS
Giampaolo Rodola' [Thu, 22 Mar 2012 15:17:43 +0000 (16:17 +0100)]
fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect.
Benjamin Peterson [Thu, 22 Mar 2012 14:39:16 +0000 (10:39 -0400)]
this should technicaly be identifier
Antoine Pitrou [Thu, 22 Mar 2012 13:38:16 +0000 (14:38 +0100)]
Issue #14387: Do not include accu.h from Python.h.
Benjamin Peterson [Thu, 22 Mar 2012 12:56:15 +0000 (08:56 -0400)]
check for NULL
Benjamin Peterson [Thu, 22 Mar 2012 12:19:04 +0000 (08:19 -0400)]
check by equality for __future__ not identity (closes #14378)
R David Murray [Wed, 21 Mar 2012 18:53:42 +0000 (14:53 -0400)]
#12757: Make doctest skipping in -OO mode work with unittest/regrtest -v
Andrew Svetlov [Wed, 21 Mar 2012 11:23:41 +0000 (13:23 +0200)]
#3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
Giampaolo Rodola' [Tue, 20 Mar 2012 15:49:55 +0000 (16:49 +0100)]
Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
Ross Lagerwall [Mon, 19 Mar 2012 04:08:43 +0000 (06:08 +0200)]
Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.
R David Murray [Mon, 19 Mar 2012 00:50:03 +0000 (20:50 -0400)]
#14355: remove obsolete doc reference to previously removed init_frozen.
Patch by Eric Snow.
Gregory P. Smith [Sun, 18 Mar 2012 23:06:53 +0000 (16:06 -0700)]
Fixes Issue #14331: Use significantly less stack space when importing modules by
allocating path buffers on the heap instead of the stack.
Georg Brandl [Sun, 18 Mar 2012 19:37:43 +0000 (20:37 +0100)]
Merge 3.2.3rc2 from release clone.
Georg Brandl [Sun, 18 Mar 2012 07:36:53 +0000 (08:36 +0100)]
Post-release updates for 3.2.3rc2.
Georg Brandl [Sun, 18 Mar 2012 06:35:01 +0000 (07:35 +0100)]
Added tag v3.2.3rc2 for changeset
428f05cb7277
Georg Brandl [Sun, 18 Mar 2012 06:34:49 +0000 (07:34 +0100)]
Bump to 3.2.3rc2.
R David Murray [Sat, 17 Mar 2012 20:38:39 +0000 (16:38 -0400)]
#14333: fix test_queue so it can be run via standard unittest test discovery.
Georg Brandl [Sat, 17 Mar 2012 17:38:13 +0000 (18:38 +0100)]
Move MANIFEST parsing change to the right position.
Ned Deily [Sat, 17 Mar 2012 17:29:41 +0000 (10:29 -0700)]
Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)
Georg Brandl [Sat, 17 Mar 2012 16:29:27 +0000 (17:29 +0100)]
Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern
Georg Brandl [Sat, 17 Mar 2012 16:26:27 +0000 (17:26 +0100)]
Closes #14343: avoid shadowing builtin input() in example code.
Georg Brandl [Sat, 17 Mar 2012 16:25:47 +0000 (17:25 +0100)]
Closes #14342: remove out-of-date section about avoiding recursion errors.
Georg Brandl [Sat, 17 Mar 2012 15:58:05 +0000 (16:58 +0100)]
Closes #14306: clarify expensiveness of try-except and update code snippet
Senthil Kumaran [Sat, 17 Mar 2012 07:40:34 +0000 (00:40 -0700)]
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
R David Murray [Sat, 17 Mar 2012 02:49:54 +0000 (22:49 -0400)]
#11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:43:05 +0000 (22:43 -0400)]
#11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
R David Murray [Sat, 17 Mar 2012 02:10:00 +0000 (22:10 -0400)]
#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:03:17 +0000 (22:03 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.
Eli Bendersky [Fri, 16 Mar 2012 14:49:58 +0000 (16:49 +0200)]
Issue #14202: some additional doc fixes
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)
Eli Bendersky [Fri, 16 Mar 2012 12:37:14 +0000 (14:37 +0200)]
Issue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Patch by Florian Mladitsch
Senthil Kumaran [Fri, 16 Mar 2012 08:13:50 +0000 (01:13 -0700)]
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
Eli Bendersky [Fri, 16 Mar 2012 06:41:30 +0000 (08:41 +0200)]
Issue #9257: clarify the events iterparse accepts
Senthil Kumaran [Fri, 16 Mar 2012 01:11:16 +0000 (18:11 -0700)]
Explain the use of charset parameter with Content-Type header. Issue11082
Senthil Kumaran [Thu, 15 Mar 2012 20:26:12 +0000 (13:26 -0700)]
closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.
R David Murray [Thu, 15 Mar 2012 07:06:15 +0000 (03:06 -0400)]
#12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
Gregory P. Smith [Thu, 15 Mar 2012 01:14:26 +0000 (18:14 -0700)]
merge heads
Gregory P. Smith [Thu, 15 Mar 2012 01:10:37 +0000 (18:10 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Georg Brandl [Thu, 15 Mar 2012 07:31:00 +0000 (08:31 +0100)]
Transplant from main repo
d6c197edd99b : Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
Gregory P. Smith [Thu, 15 Mar 2012 01:10:37 +0000 (18:10 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Senthil Kumaran [Thu, 15 Mar 2012 01:08:13 +0000 (18:08 -0700)]
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
Matthias Klose [Wed, 14 Mar 2012 22:26:07 +0000 (23:26 +0100)]
merge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:24:32 +0000 (23:24 +0100)]
merge heads
Matthias Klose [Wed, 14 Mar 2012 22:24:11 +0000 (23:24 +0100)]
merge heads
Matthias Klose [Wed, 14 Mar 2012 22:14:35 +0000 (23:14 +0100)]
merge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:10:15 +0000 (23:10 +0100)]
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
Gregory P. Smith [Wed, 14 Mar 2012 22:03:40 +0000 (15:03 -0700)]
merge heads
Gregory P. Smith [Wed, 14 Mar 2012 21:58:50 +0000 (14:58 -0700)]
merge (no change needed in 3.2)
Gregory P. Smith [Wed, 14 Mar 2012 21:58:22 +0000 (14:58 -0700)]
move the Misc/NEWS entry to the right section.
Gregory P. Smith [Wed, 14 Mar 2012 21:41:00 +0000 (14:41 -0700)]
Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
Georg Brandl [Wed, 14 Mar 2012 21:40:08 +0000 (22:40 +0100)]
Closes #14305: fix typo.
Gregory P. Smith [Wed, 14 Mar 2012 21:26:55 +0000 (14:26 -0700)]
Fixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
R David Murray [Wed, 14 Mar 2012 18:05:03 +0000 (14:05 -0400)]
#14062: fix BytesParser handling of linesep for Header objects
This also affected smtplib.SMTP.send_message, which calls BytesParser.
Georg Brandl [Wed, 14 Mar 2012 07:18:47 +0000 (08:18 +0100)]
Closes #14289: put a link to the CHM download page on the docs download page.
Georg Brandl [Wed, 14 Mar 2012 07:02:43 +0000 (08:02 +0100)]
Closes #14283: match() and search() are regex methods, not match methods.
R David Murray [Wed, 14 Mar 2012 06:59:51 +0000 (02:59 -0400)]
#14291: if a header has non-ascii unicode, default to CTE using utf-8
In Python2, if a unicode string was assigned as the value of a header,
email would automatically CTE encode it using the UTF8 charset.
This capability was lost in the Python3 translation, and this patch
restores it.
Patch by Ali Ikinci, assisted by R. David Murray.
I also added a fix for the mailbox test that was depending (with a comment
that it was a bad idea to so depend) on non-ASCII causing message_from_string
to raise an error. It now uses support.patch to induce an error during
message serialization.
Senthil Kumaran [Wed, 14 Mar 2012 02:47:51 +0000 (19:47 -0700)]
closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen
Benjamin Peterson [Tue, 13 Mar 2012 21:46:35 +0000 (16:46 -0500)]
merge heads