]>
granicus.if.org Git - python/log
Nick Coghlan [Sat, 20 Oct 2012 01:43:58 +0000 (11:43 +1000)]
Fix compilation on Windows
Nick Coghlan [Fri, 19 Oct 2012 14:03:46 +0000 (00:03 +1000)]
Fix broken test and replace redundant generator with a tuple
Nick Coghlan [Fri, 19 Oct 2012 13:38:36 +0000 (23:38 +1000)]
Issue #6074: Actually delete the source file in the test as intended
Nick Coghlan [Fri, 19 Oct 2012 12:38:14 +0000 (22:38 +1000)]
Issue #6074: Forward port Windows read-only source file fix from 2.7
Giampaolo Rodola' [Fri, 19 Oct 2012 11:40:28 +0000 (13:40 +0200)]
Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager.
Mark Dickinson [Thu, 18 Oct 2012 18:21:43 +0000 (19:21 +0100)]
Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof(long).
Chris Jerdonek [Thu, 18 Oct 2012 03:17:41 +0000 (20:17 -0700)]
Clarify universal-newline wording in tutorial (issue #16266).
Andrew Svetlov [Wed, 17 Oct 2012 14:20:46 +0000 (17:20 +0300)]
null merge
Andrew Svetlov [Wed, 17 Oct 2012 14:15:43 +0000 (17:15 +0300)]
Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
Antoine Pitrou [Wed, 17 Oct 2012 14:12:30 +0000 (16:12 +0200)]
Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
Andrew Svetlov [Wed, 17 Oct 2012 13:41:28 +0000 (16:41 +0300)]
Issue #16265: Fix collapsing of code sample in tutorial.
Thanks to Yongzhi Pan from docs@
Trent Nelson [Wed, 17 Oct 2012 10:15:15 +0000 (06:15 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 08:45:30 +0000 (04:45 -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:04:04 +0000 (11:04 -0400)]
Issue #15819: tweak logic in previous commit (
617591e7d708 ).
Trent Nelson [Tue, 16 Oct 2012 12:41:32 +0000 (08:41 -0400)]
Issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
Vinay Sajip [Tue, 16 Oct 2012 09:28:31 +0000 (10:28 +0100)]
Issue #16244: Remove file mode overrides.
Chris Jerdonek [Tue, 16 Oct 2012 02:44:47 +0000 (19:44 -0700)]
Issue #16225: Add additional note to tutorial about changing sequence while looping.
Chris Jerdonek [Sat, 13 Oct 2012 10:22:33 +0000 (03:22 -0700)]
Issue #16206: Improve the documentation of the dict constructor.
This change includes replacing the single-line signature documentation
with a more complete multiple-line signature.
Benjamin Peterson [Fri, 12 Oct 2012 15:44:19 +0000 (11:44 -0400)]
skip if __doc__ is gone
Benjamin Peterson [Fri, 12 Oct 2012 15:44:10 +0000 (11:44 -0400)]
fix to work if __doc__ is removed
Ezio Melotti [Fri, 12 Oct 2012 10:42:08 +0000 (13:42 +0300)]
Fix links to the __next__ method.
Ezio Melotti [Fri, 12 Oct 2012 10:24:19 +0000 (13:24 +0300)]
Make doctests pass in the functional howto.
Ezio Melotti [Fri, 12 Oct 2012 09:42:51 +0000 (12:42 +0300)]
Improve markup in functional.rst, and fix a couple of errors.
Chris Jerdonek [Fri, 12 Oct 2012 01:47:54 +0000 (18:47 -0700)]
Fix link to str.format() in docs.
Chris Jerdonek [Thu, 11 Oct 2012 22:59:32 +0000 (15:59 -0700)]
Issue #16199: Fix typo in 2to3 docs. Thanks to Mark Lawrence for the report.
Brian Curtin [Thu, 11 Oct 2012 21:07:52 +0000 (16:07 -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:52:22 +0000 (22:52 -0700)]
Fix placement of shell=True warning in subprocess.Popen() docs.
Chris Jerdonek [Thu, 11 Oct 2012 00:46:18 +0000 (17:46 -0700)]
Issue #16115: Make further improvements to subprocess.Popen() documentation.
Georg Brandl [Wed, 10 Oct 2012 14:49:02 +0000 (16:49 +0200)]
merge 3.2 heads
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.
Gregory P. Smith [Wed, 10 Oct 2012 10:34:47 +0000 (03:34 -0700)]
Fixes Issue #16114: The subprocess module no longer provides a
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
It now keeps track of if the child got as far as preexec and reports it if
not back to the parent via a special "noexec" error message value in
the error pipe so that the cwd can be blamed for a failed chdir
instead of the exec of the executable being blamed instead.
The executable is also always reported accurately when exec fails.
Unittests enhanced to cover these cases.
Andrew Svetlov [Tue, 9 Oct 2012 10:44:16 +0000 (13:44 +0300)]
Issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Senthil Kumaran [Tue, 9 Oct 2012 07:37:09 +0000 (00:37 -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:19:25 +0000 (08:19 +0100)]
Issue #16168: Use specified socket type for domain sockets in SysLogHandler.
Chris Jerdonek [Tue, 9 Oct 2012 06:06:57 +0000 (23:06 -0700)]
Issue #16115: Improve subprocess.Popen() documentation around args, shell, and executable arguments.
Hynek Schlawack [Sun, 7 Oct 2012 16:04:38 +0000 (18:04 +0200)]
#13498: Clarify docs of os.makedirs()'s exist_ok argument.
Done with great native-speaker help from R. David Murray.
Chris Jerdonek [Sun, 7 Oct 2012 21:48:36 +0000 (14:48 -0700)]
Issue #14783: Improve int() docstring and also str(), range(), and slice().
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036. It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
Andrew Svetlov [Sun, 7 Oct 2012 16:18:39 +0000 (19:18 +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:58:42 +0000 (18:58 +0300)]
Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
R David Murray [Sat, 6 Oct 2012 22:26:56 +0000 (18:26 -0400)]
#9957: document that SpooledTemporaryFile.truncate does not take size arg
Georg Brandl [Sat, 6 Oct 2012 11:48:39 +0000 (13:48 +0200)]
Closes #16149: remove now-false statement about the inability to compare Decimal and float objects.
Andrew Svetlov [Sat, 6 Oct 2012 15:45:24 +0000 (18:45 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:02:05 +0000 (18:02 +0300)]
Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 5 Oct 2012 11:09:59 +0000 (14:09 +0300)]
The file obj passed to ftp.storbinary/storlines must be opened in binary mode.
Andrew Svetlov [Fri, 5 Oct 2012 10:26:10 +0000 (13:26 +0300)]
Issue #16138: fix typo.
Jesus Cea [Fri, 5 Oct 2012 03:21:42 +0000 (05:21 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
Jesus Cea [Fri, 5 Oct 2012 02:58:38 +0000 (04:58 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' and decode the bytes
Andrew Svetlov [Thu, 4 Oct 2012 19:48:34 +0000 (22:48 +0300)]
Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
Jesus Cea [Thu, 4 Oct 2012 11:51:43 +0000 (13:51 +0200)]
Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file
Jesus Cea [Wed, 3 Oct 2012 01:16:42 +0000 (03:16 +0200)]
Closes #15897: zipimport.c doesn't check return value of fseek(). Typo
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()
Andrew Svetlov [Tue, 2 Oct 2012 15:39:25 +0000 (18:39 +0300)]
Close open bracket, thanks to Josh Helzer from docs@
Ezio Melotti [Tue, 2 Oct 2012 02:35:39 +0000 (05:35 +0300)]
#15979: improve timeit documentation.
R David Murray [Mon, 1 Oct 2012 00:44:43 +0000 (20:44 -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).
Chris Jerdonek [Sun, 30 Sep 2012 16:45:00 +0000 (09:45 -0700)]
Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending resolution of issue.
Chris Jerdonek [Sun, 30 Sep 2012 07:10:28 +0000 (00:10 -0700)]
Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.
Antoine Pitrou [Sat, 29 Sep 2012 23:05:30 +0000 (01:05 +0200)]
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
Gregory P. Smith [Sat, 29 Sep 2012 18:56:56 +0000 (11:56 -0700)]
merge heads
Gregory P. Smith [Sat, 29 Sep 2012 18:40:38 +0000 (11:40 -0700)]
Fixes 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.
R David Murray [Sat, 29 Sep 2012 18:40:23 +0000 (14:40 -0400)]
#16085: Don't promote shadowing builtins in the configparser example.
R David Murray [Fri, 28 Sep 2012 19:19:16 +0000 (15:19 -0400)]
#16071: fix more email.message links in mailbox docs.
R David Murray [Fri, 28 Sep 2012 19:09:31 +0000 (15:09 -0400)]
#16071: fix links to email.message.Message in mailbox docs.
Jesus Cea [Fri, 28 Sep 2012 14:34:45 +0000 (16:34 +0200)]
Closes #15953: Incorrect some fields declaration in the PyTypeObject documentation
Chris Jerdonek [Fri, 28 Sep 2012 14:07:12 +0000 (07:07 -0700)]
Close issue #16073: fix map() example in list comprehension documentation.
Thanks for the e-mail report to docs@.
Michael Foord [Fri, 28 Sep 2012 13:14:03 +0000 (14:14 +0100)]
Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call
Chris Jerdonek [Fri, 28 Sep 2012 07:10:44 +0000 (00:10 -0700)]
Issue #16036: Improve documentation of built-in int()'s signature and arguments.
Petri Lehtinen [Tue, 25 Sep 2012 19:00:32 +0000 (22:00 +0300)]
#15222: Insert blank line after each message in mbox mailboxes
Petri Lehtinen [Tue, 25 Sep 2012 18:58:51 +0000 (21:58 +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
Benjamin Peterson [Tue, 25 Sep 2012 15:42:35 +0000 (11:42 -0400)]
fix test_compileall when run with -O[O]
Benjamin Peterson [Tue, 25 Sep 2012 15:01:41 +0000 (11:01 -0400)]
use modern conditional syntax
Barry Warsaw [Tue, 25 Sep 2012 14:37:58 +0000 (10:37 -0400)]
- Issue #15935: Clarification of argparse docs, re: add_argument() type and
default arguments. Patch contributed by Chris Jerdonek.
Chris Jerdonek [Tue, 25 Sep 2012 11:20:29 +0000 (04:20 -0700)]
Issue #16015: Make welcome message more realistic in tutorial example.
Senthil Kumaran [Tue, 25 Sep 2012 09:30:27 +0000 (02:30 -0700)]
Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
Chris Jerdonek [Tue, 25 Sep 2012 02:28:59 +0000 (19:28 -0700)]
Issue #16015: Fix NameError doctest example in tutorial introduction.
Mark Dickinson [Mon, 24 Sep 2012 19:16:38 +0000 (20:16 +0100)]
Issue #14167: restore statement about breaks in finally clauses.
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:07:39 +0000 (17:07 +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.
Antoine Pitrou [Sun, 23 Sep 2012 17:55:21 +0000 (19:55 +0200)]
Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
Patch by Serhiy Storchaka.
Ezio Melotti [Sun, 23 Sep 2012 12:55:14 +0000 (15:55 +0300)]
#15949, #15899: use \ufffd instead of ?.
Ezio Melotti [Sat, 22 Sep 2012 08:23:06 +0000 (11:23 +0300)]
#15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`).
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:48:12 +0000 (16:48 +0300)]
#15304: fix wrong warning message in test.support.temp_cwd().
Ezio Melotti [Fri, 21 Sep 2012 13:30:22 +0000 (16:30 +0300)]
#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
doko@ubuntu.com [Fri, 21 Sep 2012 11:52:29 +0000 (13:52 +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
Alexander Belopolsky [Thu, 20 Sep 2012 21:23:46 +0000 (17:23 -0400)]
Issue #15973: fixed 3.2 backport.
Alexander Belopolsky [Thu, 20 Sep 2012 20:49:58 +0000 (16:49 -0400)]
merge
Alexander Belopolsky [Thu, 20 Sep 2012 20:39:33 +0000 (16:39 -0400)]
Issue #15973: Fixed segmentation fault on timezone comparison to other types.
Mark Dickinson [Thu, 20 Sep 2012 20:29:28 +0000 (21:29 +0100)]
Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy Storchaka.
Mark Dickinson [Thu, 20 Sep 2012 19:51:14 +0000 (20:51 +0100)]
Issue 15985: fix round argument names in documentation. Thanks Chris Jerdonek.
Ezio Melotti [Thu, 20 Sep 2012 06:47:03 +0000 (09:47 +0300)]
Fix a few quotes/backslashes.
Ezio Melotti [Thu, 20 Sep 2012 06:06:51 +0000 (09:06 +0300)]
Fix markup in smtpd.rst.
Ezio Melotti [Thu, 20 Sep 2012 03:13:38 +0000 (06:13 +0300)]
Fix rst markup in timeit docs.