]>
granicus.if.org Git - python/log
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.
Ezio Melotti [Wed, 19 Sep 2012 05:19:12 +0000 (08:19 +0300)]
#15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".
Trent Nelson [Wed, 19 Sep 2012 01:58:03 +0000 (21:58 -0400)]
Silence compiler warnings on Solaris 10 via explicit (void *) casts.
(Compiler: Solaris Studio 12.3)
Ezio Melotti [Tue, 18 Sep 2012 04:20:18 +0000 (07:20 +0300)]
#15796: Fix \n in readline docstring. Patch by Serhiy Storchaka.
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:29:47 +0000 (05:29 +0300)]
#15920: fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek.
Antoine Pitrou [Sat, 15 Sep 2012 22:12:50 +0000 (00:12 +0200)]
Issue #15526: try to fix test_startfile's inability to clean up after itself in time.
Patch by Jeremy Kloth.
Ezio Melotti [Sat, 15 Sep 2012 05:34:08 +0000 (08:34 +0300)]
#15789: mention shell-like parts of the stdlib in the subprocess docs. Patch by Chris Rebert.
Ezio Melotti [Sat, 15 Sep 2012 02:51:45 +0000 (05:51 +0300)]
#15932: use with statement in csv doc examples. Patch by Dario Bertini.
Antoine Pitrou [Fri, 14 Sep 2012 15:28:10 +0000 (17:28 +0200)]
Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
Patch by Alessandro Moura.
Ezio Melotti [Fri, 14 Sep 2012 03:32:35 +0000 (06:32 +0300)]
#15831: document multiple signatures on different lines. Patch by Chris Jerdonek.
Ezio Melotti [Thu, 13 Sep 2012 22:24:44 +0000 (01:24 +0300)]
#15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
Barry Warsaw [Wed, 12 Sep 2012 18:42:34 +0000 (14:42 -0400)]
Update merge from 2.7: s/basetring/str
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
Christian Heimes [Wed, 12 Sep 2012 13:31:43 +0000 (15:31 +0200)]
Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
Barry Warsaw [Wed, 12 Sep 2012 02:38:47 +0000 (22:38 -0400)]
- Issue #15906: Fix a regression in argparse caused by the preceding change,
when action='append', type='str' and default=[].
R David Murray [Tue, 11 Sep 2012 17:01:43 +0000 (13:01 -0400)]
#14617: clarify discussion of interrelationship of __eq__ and __hash__.
Christian Heimes [Tue, 11 Sep 2012 15:30:53 +0000 (17:30 +0200)]
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815