]>
granicus.if.org Git - python/log
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.
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 22:58:26 +0000 (00:58 +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 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
Antoine Pitrou [Wed, 5 Sep 2012 18:11:49 +0000 (20:11 +0200)]
Issue #15841: The readable(), writable() and seekable() methods of io.BytesIO
and io.StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
Petri Lehtinen [Sat, 1 Sep 2012 11:25:48 +0000 (14:25 +0300)]
#15802: Fix test logic in TestMaildir.test_create_tmp
Petri Lehtinen [Sat, 1 Sep 2012 04:27:58 +0000 (07:27 +0300)]
#13769: Enhance docs for ensure_ascii semantics in JSON decoding functions
R David Murray [Sat, 1 Sep 2012 03:15:28 +0000 (23:15 -0400)]
#12776,#11839: call argparse type function only once.
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
Trent Nelson [Fri, 31 Aug 2012 21:15:49 +0000 (17:15 -0400)]
Remove trailing whitespace in order to silence warnings on HP-UX.
Andrew Svetlov [Fri, 31 Aug 2012 10:53:30 +0000 (13:53 +0300)]
Issue #15825: fix typo in OrderedDict docs.
Patch by Mike Hoy.
Trent Nelson [Thu, 30 Aug 2012 14:56:13 +0000 (14:56 +0000)]
Issue #15819: Fix out-of-tree builds from a readonly source.
Ezio Melotti [Wed, 29 Aug 2012 14:50:42 +0000 (17:50 +0300)]
Add missing comma.
Vinay Sajip [Wed, 29 Aug 2012 13:33:14 +0000 (14:33 +0100)]
Closes #15710: accept long in _checkLevel.
Vinay Sajip [Wed, 29 Aug 2012 13:27:07 +0000 (14:27 +0100)]
Merged upstream changes.
Vinay Sajip [Wed, 29 Aug 2012 13:25:42 +0000 (14:25 +0100)]
Closes #15807: Removed incorrect directive from help.
Trent Nelson [Wed, 29 Aug 2012 13:20:41 +0000 (09:20 -0400)]
Issue #15765: Fix quirky NetBSD getcwd() behaviour.
This is done by extending a previous fix for issue #9185 that was made for
Solaris and OpenBSD to NetBSD as well.
Benjamin Peterson [Tue, 28 Aug 2012 21:55:35 +0000 (17:55 -0400)]
use the stricter PyMapping_Check (closes #15801)
Matthias Klose [Tue, 28 Aug 2012 17:23:56 +0000 (19:23 +0200)]
- fix typo introduced in http://hg.python.org/cpython/rev/
f918d4a06c64
Matthias Klose [Tue, 28 Aug 2012 17:07:08 +0000 (19:07 +0200)]
- fix paste error (whitespace) from previous commit
Matthias Klose [Tue, 28 Aug 2012 16:52:28 +0000 (18:52 +0200)]
- Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target.
Hynek Schlawack [Tue, 28 Aug 2012 10:33:46 +0000 (12:33 +0200)]
#14880: Fix kwargs notation in csv.reader, .writer & .register_dialect
Patch by Chris Rebert.
Ezio Melotti [Mon, 27 Aug 2012 07:00:05 +0000 (10:00 +0300)]
#15788: fix broken links in subprocess doc. Patch by Chris Rebert.
Ronald Oussoren [Sat, 25 Aug 2012 09:18:48 +0000 (11:18 +0200)]
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler
Georg Brandl [Sat, 25 Aug 2012 08:11:57 +0000 (10:11 +0200)]
Fix wrong way of adding Error information in shutil.copytree.
Mark Dickinson [Fri, 24 Aug 2012 19:26:23 +0000 (20:26 +0100)]
Remove overeager test (don't depend on the sign of a nan; cf. issue #14521)
Mark Dickinson [Fri, 24 Aug 2012 19:06:30 +0000 (20:06 +0100)]
Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
Antoine Pitrou [Fri, 24 Aug 2012 17:49:08 +0000 (19:49 +0200)]
Add glossary references
Antoine Pitrou [Fri, 24 Aug 2012 17:46:17 +0000 (19:46 +0200)]
Issue #14674: Add a discussion of the json module's standard compliance.
Patch by Chris Rebert.
Georg Brandl [Fri, 24 Aug 2012 16:17:28 +0000 (18:17 +0200)]
Closes #9374: add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
Ned Deily [Thu, 23 Aug 2012 06:26:06 +0000 (23:26 -0700)]
Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
Georg Brandl [Tue, 21 Aug 2012 17:44:00 +0000 (19:44 +0200)]
Remove patch artifacts.
Petri Lehtinen [Mon, 20 Aug 2012 18:05:56 +0000 (21:05 +0300)]
#15199: Fix JavaScript's default MIME type to application/javascript
R David Murray [Mon, 20 Aug 2012 18:17:22 +0000 (14:17 -0400)]
#15742: clarify sqlite parameter substitution example.
Stefan Krah [Mon, 20 Aug 2012 15:31:22 +0000 (17:31 +0200)]
Issue #15741: Fix potential NULL dereference. Found by Coverity.