]>
granicus.if.org Git - python/log
Chris Jerdonek [Thu, 11 Oct 2012 00:55:41 +0000 (17:55 -0700)]
Issue #16115: Backport subprocess.Popen() documentation improvements from 3.2.
Chris Jerdonek [Wed, 10 Oct 2012 15:39:34 +0000 (08:39 -0700)]
Issue #12947: Backport doctest documentation change from 3.3.
Georg Brandl [Wed, 10 Oct 2012 14:56:15 +0000 (16:56 +0200)]
Missed one instance of code-block:: text highlighting to revert.
Georg Brandl [Wed, 10 Oct 2012 14:45:11 +0000 (16:45 +0200)]
Issue #12947: revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs.
Chris Jerdonek [Wed, 10 Oct 2012 14:13:56 +0000 (07:13 -0700)]
Issue #12947: Backport doctest documentation improvements from 3.3.
Senthil Kumaran [Tue, 9 Oct 2012 08:03:35 +0000 (01:03 -0700)]
Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
Vinay Sajip [Tue, 9 Oct 2012 07:17:41 +0000 (08:17 +0100)]
Issue #16168: Use specified socket type for domain sockets in SysLogHandler.
Chris Jerdonek [Tue, 9 Oct 2012 06:18:17 +0000 (23:18 -0700)]
Issue #16115: Backport subprocess.Popen() documentation improvements from 3.2.
Chris Jerdonek [Mon, 8 Oct 2012 03:37:54 +0000 (20:37 -0700)]
Issue #14783: Backport changes from 3.2.
Andrew Svetlov [Sun, 7 Oct 2012 16:17:15 +0000 (19:17 +0300)]
Issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output.
Patch by Arne Babenhauserheide.
Andrew Svetlov [Sun, 7 Oct 2012 15:57:21 +0000 (18:57 +0300)]
Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
Mark Dickinson [Sun, 7 Oct 2012 14:41:38 +0000 (15:41 +0100)]
Clean up a test turd.
R David Murray [Sat, 6 Oct 2012 22:26:40 +0000 (18:26 -0400)]
#9957: document that SpooledTemporaryFile.truncate does not take size arg
Andrew Svetlov [Sat, 6 Oct 2012 15:01:05 +0000 (18:01 +0300)]
Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
Jesus Cea [Fri, 5 Oct 2012 03:18:47 +0000 (05:18 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
Jesus Cea [Fri, 5 Oct 2012 02:50:17 +0000 (04:50 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()'
Andrew Svetlov [Thu, 4 Oct 2012 19:52:07 +0000 (22:52 +0300)]
Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
Jesus Cea [Thu, 4 Oct 2012 13:14:56 +0000 (15:14 +0200)]
Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Solve a 2.7 bootstrap issue
Jesus Cea [Thu, 4 Oct 2012 13:06:57 +0000 (15:06 +0200)]
Backed out changeset
5abacebec9d2
Jesus Cea [Thu, 4 Oct 2012 12:22:16 +0000 (14:22 +0200)]
Backed out changeset
c73b90b6dadd
Jesus Cea [Thu, 4 Oct 2012 11:46:33 +0000 (13:46 +0200)]
Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file
Nick Coghlan [Wed, 3 Oct 2012 08:18:17 +0000 (13:48 +0530)]
Issue #12947: Better workaround for the problem with doctest directives being stripped from code examples that are intended to illustrate those directives
Nick Coghlan [Wed, 3 Oct 2012 06:48:23 +0000 (12:18 +0530)]
Issue #12947: Add a note to doctest until the example rendering is fixed
Jesus Cea [Wed, 3 Oct 2012 00:14:14 +0000 (02:14 +0200)]
Fix Misc/ACKS alphabetic order
Jesus Cea [Wed, 3 Oct 2012 00:13:05 +0000 (02:13 +0200)]
Closes #15897: zipimport.c doesn't check return value of fseek()
Ezio Melotti [Tue, 2 Oct 2012 02:34:38 +0000 (05:34 +0300)]
#15979: improve timeit documentation.
Chris Jerdonek [Mon, 1 Oct 2012 04:07:56 +0000 (21:07 -0700)]
Close #16036: Backport 3.x documentation improvement.
See changeset
6ccb04c4cbae for the corresponding 3.3 change.
R David Murray [Mon, 1 Oct 2012 01:04:46 +0000 (21:04 -0400)]
Fix sqlite3 class markup.
Ezio Melotti [Sun, 30 Sep 2012 19:41:37 +0000 (22:41 +0300)]
#15923: fix a mistake in asdl_c.py that resulted in a TypeError after
2801bf875a24 (see #15801).
Georg Brandl [Sun, 30 Sep 2012 07:03:09 +0000 (09:03 +0200)]
Commit current version of the doc "dailybuild" script.
Georg Brandl [Sun, 30 Sep 2012 06:59:31 +0000 (08:59 +0200)]
Doc sidebar: point to 3.4 as dev.
Gregory P. Smith [Sat, 29 Sep 2012 19:03:12 +0000 (12:03 -0700)]
merge heads
Gregory P. Smith [Sat, 29 Sep 2012 19:02:48 +0000 (12:02 -0700)]
Issue #15756: subprocess.poll() now properly handles errno.ECHILD to
return a returncode of 0 when the child has already exited or cannot
be waited on.
Chris Jerdonek [Sat, 29 Sep 2012 18:51:37 +0000 (11:51 -0700)]
Close issue #16077: fix code example in documentation of reduce() built-in (from docs@).
R David Murray [Sat, 29 Sep 2012 18:44:16 +0000 (14:44 -0400)]
#16085: Don't promote shadowing builtins in the configparser example.
Mark Dickinson [Fri, 28 Sep 2012 19:36:36 +0000 (20:36 +0100)]
Issues #16029, #16030: Fix pickling and repr of large xranges.
R David Murray [Fri, 28 Sep 2012 19:21:32 +0000 (15:21 -0400)]
#16071: fix email.message links in the mailbox docs.
Jesus Cea [Fri, 28 Sep 2012 14:33:38 +0000 (16:33 +0200)]
Closes #15953: Incorrect some fields declaration in the PyTypeObject documentation
Andrew Svetlov [Fri, 28 Sep 2012 13:32:27 +0000 (16:32 +0300)]
Update docs for string.zfill
Andrew Svetlov [Fri, 28 Sep 2012 13:31:06 +0000 (16:31 +0300)]
Update documentation for string.replace. Thanks to docs@
Michael Foord [Fri, 28 Sep 2012 11:54:56 +0000 (12:54 +0100)]
Pass on parameters in unittest.TextTestResult.__init__ super call
Petri Lehtinen [Wed, 26 Sep 2012 04:41:11 +0000 (07:41 +0300)]
#15222: Fix a test failure on Windows
Raymond Hettinger [Tue, 25 Sep 2012 23:57:50 +0000 (19:57 -0400)]
Show how to close a connection
Petri Lehtinen [Tue, 25 Sep 2012 18:57:59 +0000 (21:57 +0300)]
#15222: Insert blank line after each message in mbox mailboxes
Petri Lehtinen [Tue, 25 Sep 2012 18:48:51 +0000 (21:48 +0300)]
#15222: test_mailbox: End message template in a newline
Benjamin Peterson [Tue, 25 Sep 2012 15:48:50 +0000 (11:48 -0400)]
switch assertion to an explicit ValueError
Barry Warsaw [Tue, 25 Sep 2012 14:32:53 +0000 (10:32 -0400)]
- Issue #15935: Clarification of argparse docs, re: add_argument() type and
default arguments. Patch contributed by Chris Jerdonek.
Christian Heimes [Tue, 25 Sep 2012 11:29:30 +0000 (13:29 +0200)]
Issue #16037: Limit httplib's _read_status() function to work around broken
HTTP servers and reduce memory usage. It's actually a backport of a Python
3.2 fix. Thanks to Adrien Kunysz.
Senthil Kumaran [Tue, 25 Sep 2012 09:48:21 +0000 (02:48 -0700)]
2.7 : Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
Chris Jerdonek [Tue, 25 Sep 2012 02:33:32 +0000 (19:33 -0700)]
Issue #16015: Fix NameError doctest example in tutorial introduction.
Mark Dickinson [Mon, 24 Sep 2012 19:25:24 +0000 (20:25 +0100)]
Issue #14167: restore statement about breaks in finally clauses; remove statement about exception chaining.
Ezio Melotti [Mon, 24 Sep 2012 14:30:39 +0000 (17:30 +0300)]
#16019, #16020: fix syntax highlight.
Ezio Melotti [Mon, 24 Sep 2012 14:06:11 +0000 (17:06 +0300)]
#16017: capitalize URLs.
Ezio Melotti [Mon, 24 Sep 2012 13:56:59 +0000 (16:56 +0300)]
#16014: fix broken link.
Christian Heimes [Mon, 24 Sep 2012 11:17:08 +0000 (13:17 +0200)]
Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
method doesn't require an argument again.
Ezio Melotti [Fri, 21 Sep 2012 14:26:35 +0000 (17:26 +0300)]
#15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier.
Ezio Melotti [Fri, 21 Sep 2012 13:27:45 +0000 (16:27 +0300)]
#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
doko@ubuntu.com [Fri, 21 Sep 2012 11:51:40 +0000 (13:51 +0200)]
- Issue #11715: Fix multiarch detection without having Debian development
tools (dpkg-dev) installed.
Benjamin Peterson [Fri, 21 Sep 2012 03:48:23 +0000 (23:48 -0400)]
remove gdb noise about linux-vdso
Mark Dickinson [Thu, 20 Sep 2012 19:57:37 +0000 (20:57 +0100)]
Issue 15985: fix round argument names in documentation. Thanks Chris Jerdonek.
Ezio Melotti [Thu, 20 Sep 2012 06:48:07 +0000 (09:48 +0300)]
Fix a few quotes/backslashes.
Ezio Melotti [Thu, 20 Sep 2012 03:02:50 +0000 (06:02 +0300)]
Fix rst markup in timeit docs.
Ezio Melotti [Wed, 19 Sep 2012 05:11:03 +0000 (08:11 +0300)]
#15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".
Ezio Melotti [Tue, 18 Sep 2012 04:17:49 +0000 (07:17 +0300)]
#15796: Fix \n in readline docstring.
Ezio Melotti [Mon, 17 Sep 2012 06:59:36 +0000 (08:59 +0200)]
#11643: fix rst markup error in site.rst.
Ezio Melotti [Mon, 17 Sep 2012 02:36:56 +0000 (05:36 +0300)]
#15920: fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek.
Ezio Melotti [Sat, 15 Sep 2012 05:33:12 +0000 (08:33 +0300)]
#15789: mention shell-like parts of the stdlib in the subprocess docs. Patch by Chris Rebert.
Ezio Melotti [Sat, 15 Sep 2012 02:46:24 +0000 (05:46 +0300)]
#15932: use with statement in csv doc examples.
Ezio Melotti [Sat, 15 Sep 2012 01:45:57 +0000 (04:45 +0300)]
#15831: avoid using 3.x syntax for keyword-only args.
Ezio Melotti [Fri, 14 Sep 2012 03:48:32 +0000 (06:48 +0300)]
#15831: document multiple signatures on different lines. Patch by Chris Jerdonek.
Ezio Melotti [Thu, 13 Sep 2012 22:58:33 +0000 (01:58 +0300)]
#15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
Barry Warsaw [Wed, 12 Sep 2012 18:34:50 +0000 (14:34 -0400)]
A follow up for issue #15906: change the test for calling the type conversion
on the action's default, reverting it back to previous behavior. Conversion
is only done on string defaults.
Add a test for this and another test that ensures such type conversions are
only called once.
Christian Heimes [Wed, 12 Sep 2012 15:58:10 +0000 (17:58 +0200)]
Cleanup 'k' when the creation of PySTEntryObject fails.
ad3824a90261 used to decref 'k' in too many error cases.
Christian Heimes [Wed, 12 Sep 2012 15:52:46 +0000 (17:52 +0200)]
Partly revert
ad3824a90261 and add comment about reference ownership
Senthil Kumaran [Wed, 12 Sep 2012 05:16:58 +0000 (22:16 -0700)]
Automated merge with file:///home/vagrant/3.2
Senthil Kumaran [Wed, 12 Sep 2012 05:14:23 +0000 (22:14 -0700)]
Fix issue #15899 - howto/unicode.rst doctest corrections for 2.7 branch.
Barry Warsaw [Wed, 12 Sep 2012 01:06:29 +0000 (21:06 -0400)]
- Issue #15906: Fix a regression in argparse caused by the preceding change,
when action='append', type='str' and default=[].
Jesus Cea [Mon, 10 Sep 2012 23:55:04 +0000 (01:55 +0200)]
Closes #15793: Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any issue about this, but add a test just to be sure
Jesus Cea [Mon, 10 Sep 2012 20:57:34 +0000 (22:57 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
Jesus Cea [Mon, 10 Sep 2012 20:45:47 +0000 (22:45 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete
Jesus Cea [Mon, 10 Sep 2012 19:39:07 +0000 (21:39 +0200)]
Closes #15910: MD5 and SHA1 crash when "updated" with strings bigger than 2**32 bytes
Jesus Cea [Mon, 10 Sep 2012 19:04:42 +0000 (21:04 +0200)]
Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger than 2**32 bytes
Jesus Cea [Mon, 10 Sep 2012 18:18:43 +0000 (20:18 +0200)]
#15676: Proper attribution in Misc/ACKS
R David Murray [Mon, 10 Sep 2012 15:20:47 +0000 (11:20 -0400)]
#14649: add sample files omitted from previous checkin.
Christian Heimes [Mon, 10 Sep 2012 15:01:21 +0000 (17:01 +0200)]
merge
Christian Heimes [Mon, 10 Sep 2012 14:57:36 +0000 (16:57 +0200)]
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371
R David Murray [Mon, 10 Sep 2012 14:17:13 +0000 (10:17 -0400)]
#14649: clarify DocTestSuite error when there are no docstrings.
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
doko@ubuntu.com [Mon, 10 Sep 2012 12:34:42 +0000 (14:34 +0200)]
backport from the trunk, to fix test_tools with srcdir != builddir
changeset: 77827:
c23b442b5d5e
user: Antoine Pitrou <solipsis@pitrou.net>
date: Thu Jun 28 01:20:26 2012 +0200
summary: Avoid using scrdir, it's broken.
changeset: 77826:
f0e58e778215
user: Neil Schemenauer <nas@arctrix.com>
date: Wed Jun 27 15:58:37 2012 -0600
summary: Fix bug in test_tools that prevented building is separate directory.
Christian Heimes [Mon, 10 Sep 2012 11:19:15 +0000 (13:19 +0200)]
merge
Christian Heimes [Mon, 10 Sep 2012 11:16:45 +0000 (13:16 +0200)]
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
doko@ubuntu.com [Mon, 10 Sep 2012 09:56:47 +0000 (11:56 +0200)]
- Mention _heapq in Setup.dist.
Christian Heimes [Mon, 10 Sep 2012 01:08:46 +0000 (03:08 +0200)]
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
Christian Heimes [Mon, 10 Sep 2012 01:00:14 +0000 (03:00 +0200)]
Fixed possible reference leak to mod when type_name() returns NULL
Christian Heimes [Mon, 10 Sep 2012 00:54:51 +0000 (02:54 +0200)]
PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak.
Jesus Cea [Sun, 9 Sep 2012 22:22:39 +0000 (00:22 +0200)]
Closes #15676: mmap: add empty file check prior to offset check
Ned Deily [Sun, 9 Sep 2012 01:47:27 +0000 (18:47 -0700)]
Issue #15822: Fix installation of lib2to3 grammar pickles to ensure
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
R David Murray [Sat, 8 Sep 2012 20:47:24 +0000 (16:47 -0400)]
closes #5088: document behavior of optparse defaults with 'append' action.
R David Murray [Sat, 8 Sep 2012 17:42:01 +0000 (13:42 -0400)]
#15510: clarify textwrap's handling of whitespace, and add confirming tests.
Patch by Chris Jerdonek.
Christian Heimes [Sat, 8 Sep 2012 17:12:05 +0000 (19:12 +0200)]
Fix for
fcc629208842
BSD's make doesn't support some of the features.
R David Murray [Sat, 8 Sep 2012 16:15:25 +0000 (12:15 -0400)]
#15847: allow args to be a tuple in parse_args
This fixes a regression introduced by the fix for issue #13922. Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.