]>
granicus.if.org Git - python/log
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.
R David Murray [Sun, 19 Aug 2012 21:57:29 +0000 (17:57 -0400)]
#13579: minimize code base drift for 'a' string.Formatter change.
2.7 doesn't support 'a'. This changeset ports the doc change
and clause-reording portions of Francisco Martín Brugué patch
in order to minimize code base drift.
Antoine Pitrou [Sat, 18 Aug 2012 18:51:05 +0000 (20:51 +0200)]
Issue #15615: Add some tests for the json module's handling of invalid input data.
Patch by Kushal Das.
Mark Dickinson [Sat, 18 Aug 2012 11:31:34 +0000 (12:31 +0100)]
Add workaround for log1p(-0.0) on platforms where it's broken.
Eli Bendersky [Sat, 18 Aug 2012 06:51:37 +0000 (09:51 +0300)]
Fix typo in tutorial
Eli Bendersky [Sat, 18 Aug 2012 02:40:38 +0000 (05:40 +0300)]
Issue #15586: porting ET's new documentation bits to 2.7. Patch by Daniel Ellis
R David Murray [Sat, 18 Aug 2012 00:49:51 +0000 (20:49 -0400)]
#15355: Mention already-executing Exception in generator docs.
Patch by Chris Jerdonek.
Terry Jan Reedy [Fri, 17 Aug 2012 19:37:52 +0000 (15:37 -0400)]
Issue 15660: Clarify 0 prefix for width field in str.format doc.
Richard Oudkerk [Fri, 17 Aug 2012 14:00:58 +0000 (15:00 +0100)]
Issue #15412: Remove erroneous note about weakrefs
Antoine Pitrou [Wed, 15 Aug 2012 21:16:51 +0000 (23:16 +0200)]
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
Sandro Tosi [Wed, 15 Aug 2012 19:37:19 +0000 (21:37 +0200)]
clarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from docs@
R David Murray [Wed, 15 Aug 2012 15:22:58 +0000 (11:22 -0400)]
#15543: reflow paragraphs.
R David Murray [Wed, 15 Aug 2012 15:15:39 +0000 (11:15 -0400)]
#15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
Petri Lehtinen [Wed, 15 Aug 2012 11:22:46 +0000 (14:22 +0300)]
#11062: Fix adding a message from file to Babyl mailbox
R David Murray [Wed, 15 Aug 2012 01:50:38 +0000 (21:50 -0400)]
#15269: document dircmp.left and right.
Based on patch by Chris Jerdonek.
Sandro Tosi [Tue, 14 Aug 2012 17:51:31 +0000 (19:51 +0200)]
fix typo
Matthias Klose [Tue, 14 Aug 2012 15:42:45 +0000 (17:42 +0200)]
- Issue #15647: Make isdir static for windows and posix
Matthias Klose [Tue, 14 Aug 2012 15:24:47 +0000 (17:24 +0200)]
Modules/socketmodule.c: netdb_lock: define static.
R David Murray [Tue, 14 Aug 2012 13:14:37 +0000 (09:14 -0400)]
#9161: Fix test to use standard optparse test pattern (what was I thinking?)
Andrew Svetlov [Tue, 14 Aug 2012 12:44:53 +0000 (15:44 +0300)]
Issue #14167: Document return statement in finally blocks.
Patch by Yury Selivanov.
Richard Oudkerk [Tue, 14 Aug 2012 10:41:19 +0000 (11:41 +0100)]
Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing
on Windows without the "if __name__ == '__main__'" idiom.
R David Murray [Tue, 14 Aug 2012 02:04:30 +0000 (22:04 -0400)]
#9161: add test for the bug fixed by r82581.
Patch by Michael Johnson.
Brian Curtin [Mon, 13 Aug 2012 22:26:48 +0000 (17:26 -0500)]
Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
Andrew Svetlov [Mon, 13 Aug 2012 20:26:28 +0000 (23:26 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
Senthil Kumaran [Sun, 12 Aug 2012 18:58:53 +0000 (11:58 -0700)]
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.
Sandro Tosi [Sun, 12 Aug 2012 16:47:45 +0000 (18:47 +0200)]
complete cgi.parse() signature; thanks to Aaron Bingham from docs@
Sandro Tosi [Sun, 12 Aug 2012 15:33:41 +0000 (17:33 +0200)]
add usage example from cli; thanks to Christian Clauss from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:11:58 +0000 (15:11 +0200)]
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
Sandro Tosi [Sun, 12 Aug 2012 10:34:57 +0000 (12:34 +0200)]
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
Sandro Tosi [Sun, 12 Aug 2012 09:01:50 +0000 (11:01 +0200)]
update Geany URL; thanks to Karl Tarbet from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:49:07 +0000 (10:49 +0200)]
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
Georg Brandl [Sat, 11 Aug 2012 09:16:18 +0000 (11:16 +0200)]
Remove unused variables in parsetok().
Georg Brandl [Sat, 11 Aug 2012 09:12:55 +0000 (11:12 +0200)]
Fix casing of SocketServer module in 2.7.
Georg Brandl [Sat, 11 Aug 2012 09:08:04 +0000 (11:08 +0200)]
Graft
a89d654adaa2 from 3.2 branch. Fixes #15620.
Meador Inge [Sat, 11 Aug 2012 03:05:45 +0000 (22:05 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
Brian Curtin [Fri, 10 Aug 2012 04:04:42 +0000 (23:04 -0500)]
Fix #15567. collections.deque wasn't imported
Andrew Svetlov [Thu, 9 Aug 2012 18:32:11 +0000 (21:32 +0300)]
fix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 12:23:49 +0000 (15:23 +0300)]
Issue #15501: Document exception classes in subprocess module.
Initial patch by Anton Barkovsky.
Benjamin Peterson [Tue, 7 Aug 2012 18:57:47 +0000 (11:57 -0700)]
make documented file() kw names and actual ones agree (closes #15572)
Patch by Daniel Ellis.
R David Murray [Mon, 6 Aug 2012 20:09:09 +0000 (16:09 -0400)]
#15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
Ned Deily [Sun, 5 Aug 2012 21:42:45 +0000 (14:42 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Vinay Sajip [Sat, 4 Aug 2012 22:40:21 +0000 (23:40 +0100)]
Issue #15541: Correct anomaly in logging.exception. Thanks to Ned Batchelder for the report.
Andrew Svetlov [Sat, 4 Aug 2012 18:45:23 +0000 (21:45 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
Sandro Tosi [Sat, 4 Aug 2012 17:42:06 +0000 (19:42 +0200)]
add missing period; thanks to Gaston Fiore from docs@
Antoine Pitrou [Fri, 3 Aug 2012 22:55:38 +0000 (00:55 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
Jesus Cea [Fri, 3 Aug 2012 13:51:11 +0000 (15:51 +0200)]
#15512: Declarations reorganization
Jesus Cea [Fri, 3 Aug 2012 13:48:56 +0000 (15:48 +0200)]
#15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 12:48:23 +0000 (14:48 +0200)]
Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:25:53 +0000 (14:25 +0200)]
Closes #15512: Correct __sizeof__ support for parser
Antoine Pitrou [Thu, 2 Aug 2012 18:37:12 +0000 (20:37 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Eli Bendersky [Thu, 2 Aug 2012 00:00:33 +0000 (03:00 +0300)]
Issue #15231: update PyPI upload doc to say --no-raw passed to rst2html.py
Martin v. Löwis [Wed, 1 Aug 2012 08:05:27 +0000 (10:05 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Andrew Svetlov [Tue, 31 Jul 2012 16:51:27 +0000 (19:51 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Andrew Svetlov [Mon, 30 Jul 2012 17:04:53 +0000 (20:04 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Ned Deily [Mon, 30 Jul 2012 11:07:49 +0000 (04:07 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Ned Deily [Mon, 30 Jul 2012 10:28:22 +0000 (03:28 -0700)]
Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:06 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 17:02:46 +0000 (19:02 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Martin v. Löwis [Sun, 29 Jul 2012 14:30:50 +0000 (16:30 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
Meador Inge [Sun, 29 Jul 2012 02:58:44 +0000 (21:58 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Richard Oudkerk [Fri, 27 Jul 2012 13:05:46 +0000 (14:05 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Vinay Sajip [Fri, 27 Jul 2012 09:52:18 +0000 (10:52 +0100)]
Improved cookbook entry and fixed typo.
Andrew Svetlov [Thu, 26 Jul 2012 14:19:40 +0000 (17:19 +0300)]
Issue #15041: Update "see also" list in tkinter documentation.