]>
granicus.if.org Git - python/log
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
Senthil Kumaran [Tue, 11 Sep 2012 10:17:52 +0000 (03:17 -0700)]
Fix issue #15899: Make the unicode.rst doctests pass. Patch by Chris Jerdonek.
Jesus Cea [Tue, 11 Sep 2012 00:00:58 +0000 (02:00 +0200)]
Closes #15793: Stack corruption in ssl.RAND_egd()
Jesus Cea [Mon, 10 Sep 2012 20:58:07 +0000 (22:58 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
Jesus Cea [Mon, 10 Sep 2012 20:49:50 +0000 (22:49 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete
Jesus Cea [Mon, 10 Sep 2012 18:19:25 +0000 (20:19 +0200)]
#15676: Proper attribution in Misc/ACKS
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
Christian Heimes [Mon, 10 Sep 2012 14:52:42 +0000 (16:52 +0200)]
Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to.
R David Murray [Mon, 10 Sep 2012 14:15:58 +0000 (10:15 -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:19:42 +0000 (14:19 +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.
Richard Oudkerk [Mon, 10 Sep 2012 12:00:33 +0000 (13:00 +0100)]
Issue #15901: Change example to use byte string instead of string
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
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.
Christian Heimes [Mon, 10 Sep 2012 00:45:31 +0000 (02:45 +0200)]
Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL
Jesus Cea [Sun, 9 Sep 2012 22:27:55 +0000 (00:27 +0200)]
Closes #15676: mmap: add empty file check prior to offset check
Alexander Belopolsky [Sun, 9 Sep 2012 18:11:45 +0000 (14:11 -0400)]
Issue #15881: Added NEWS entry and proper credit.
Alexander Belopolsky [Sun, 9 Sep 2012 17:31:08 +0000 (13:31 -0400)]
Issue #15881: Fixed 3.2 backport.
Alexander Belopolsky [Sun, 9 Sep 2012 17:22:45 +0000 (13:22 -0400)]
Fixed whitespace
Alexander Belopolsky [Sun, 9 Sep 2012 17:16:15 +0000 (13:16 -0400)]
Issue #15881: Fixed atexit hook in multiprocessing.
Ned Deily [Sun, 9 Sep 2012 01:50:56 +0000 (18:50 -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:45:35 +0000 (16:45 -0400)]
#5088: document behavior of optparse defaults with 'append' action.
Ezio Melotti [Sat, 8 Sep 2012 17:52:19 +0000 (20:52 +0300)]
Merge heads.
Ezio Melotti [Sat, 8 Sep 2012 17:46:01 +0000 (20:46 +0300)]
#15865: add "*" in the signature to document keyword-only args in the docs. Patch by Chris Jerdonek.
R David Murray [Sat, 8 Sep 2012 17:13:25 +0000 (13:13 -0400)]
#15510: clarify textwrap's handling of whitespace, and add confirming tests.
Patch by Chris Jerdonek.
R David Murray [Sat, 8 Sep 2012 16:08:01 +0000 (12:08 -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.
Stefan Krah [Sat, 8 Sep 2012 09:12:33 +0000 (11:12 +0200)]
Issue #15868: Fix refleak in bytesio.c (Coverity #715365).
Antoine Pitrou [Fri, 7 Sep 2012 21:49:07 +0000 (23:49 +0200)]
Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.
Christian Heimes [Fri, 7 Sep 2012 00:24:58 +0000 (02:24 +0200)]
Fix for
fcc629208842
BSD's make doesn't support some of the features.
Christian Heimes [Thu, 6 Sep 2012 22:55:33 +0000 (00:55 +0200)]
Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option.
Christian Heimes [Thu, 6 Sep 2012 16:02:49 +0000 (18:02 +0200)]
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
Antoine Pitrou [Wed, 5 Sep 2012 22:59:49 +0000 (00:59 +0200)]
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.
Antoine Pitrou [Wed, 5 Sep 2012 18:11:49 +0000 (20:11 +0200)]
Issue #15841: The readable(), writable() and seekable() methods of BytesIO
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
Alexander Belopolsky [Mon, 3 Sep 2012 20:29:11 +0000 (16:29 -0400)]
Issue #15855: added docstrings for memoryview methods and data descriptors.
R David Murray [Mon, 3 Sep 2012 16:30:12 +0000 (12:30 -0400)]
#15509: If %action substitution produces a null string, drop it.
Patch by Anton Barkovsky, comment addition by me.
This showed up as a bug in 3.3 because the definition for Chrome
produced such an empty string. This fix is tested in 3.3+;
backporting the new test suite is more trouble than it is worth.