]>
granicus.if.org Git - python/log
Trent Nelson [Wed, 17 Oct 2012 22:01:12 +0000 (18:01 -0400)]
Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.
Andrew Svetlov [Wed, 17 Oct 2012 14:14:28 +0000 (17:14 +0300)]
Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
Trent Nelson [Wed, 17 Oct 2012 08:32:49 +0000 (04:32 -0400)]
Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
Antoine Pitrou [Tue, 16 Oct 2012 21:02:27 +0000 (23:02 +0200)]
Also add tests for TextIOWrapper.writelines() (issue #15744).
Antoine Pitrou [Tue, 16 Oct 2012 20:57:11 +0000 (22:57 +0200)]
Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.
Trent Nelson [Tue, 16 Oct 2012 15:10:40 +0000 (11:10 -0400)]
Merge heads.
Trent Nelson [Tue, 16 Oct 2012 14:52:35 +0000 (10:52 -0400)]
Issue #15819: tweak logic in previous commit (
e0a2b14a3cf9 ).
Benjamin Peterson [Tue, 16 Oct 2012 13:52:02 +0000 (09:52 -0400)]
merge heads
Benjamin Peterson [Tue, 16 Oct 2012 13:51:46 +0000 (09:51 -0400)]
only run doctests when __doc__ is around
Trent Nelson [Tue, 16 Oct 2012 13:42:45 +0000 (09:42 -0400)]
Issue #15819: additional fixes for out-of-tree builds from read-only src.
Unlike 3.2, 3.3 and 3.x, which add "-IObjects -IPython -IInclude" to
BASECPPFLAGS when building out-of-tree, 2.7 only needs to add -IInclude
(for Python-ast.h and graminit.h).
Andrew Svetlov [Tue, 16 Oct 2012 10:51:26 +0000 (13:51 +0300)]
Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Andrew Svetlov [Tue, 16 Oct 2012 10:23:15 +0000 (13:23 +0300)]
Issue #15936: Add link from os.urandom to random.SystemRandom
Vinay Sajip [Tue, 16 Oct 2012 09:27:00 +0000 (10:27 +0100)]
Issue #16244: Remove file mode overrides.
Chris Jerdonek [Tue, 16 Oct 2012 03:01:38 +0000 (20:01 -0700)]
Issue #16225: Backport from 3.2: Add additional note to tutorial about looping.
Benjamin Peterson [Tue, 16 Oct 2012 02:29:02 +0000 (22:29 -0400)]
fix typo
Benjamin Peterson [Tue, 16 Oct 2012 00:38:21 +0000 (20:38 -0400)]
don't expect warnings from doctests if they can't run
Chris Jerdonek [Tue, 16 Oct 2012 00:12:17 +0000 (17:12 -0700)]
Issue #16227: Add to 2.x Unicode HOWTO a link to the Python 3 version.
Chris Jerdonek [Sat, 13 Oct 2012 10:49:30 +0000 (03:49 -0700)]
Issue #16206: Backport dict documentation improvements from 3.2.
Improve the documentation of the dict constructor. This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
Raymond Hettinger [Sat, 13 Oct 2012 02:44:35 +0000 (19:44 -0700)]
String exceptions aren't just deprecated, they are gone.
Gregory P. Smith [Fri, 12 Oct 2012 20:02:06 +0000 (13:02 -0700)]
Fixes Issue #12268 for the io module - File readline, readlines and
read or readall methods no longer lose data when an underlying read
system call is interrupted within an io module object. IOError is no
longer raised due to a read system call returning EINTR from within
these methods.
This is a backport of changeset
781b95159954 from 3.2.
The earlier 2.7 changeset
67dc99a989cd already fixed this for the
builtin python 2.x file object.
Chris Jerdonek [Thu, 11 Oct 2012 23:15:46 +0000 (16:15 -0700)]
Issue #16199: Backport 2to3 typo fix from 3.2.
Brian Curtin [Thu, 11 Oct 2012 21:16:50 +0000 (16:16 -0500)]
Fix #16176. Properly identify Windows 8 via platform.platform()
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
Chris Jerdonek [Thu, 11 Oct 2012 05:58:57 +0000 (22:58 -0700)]
Backport from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.
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=[].