]>
granicus.if.org Git - python/log
Mark Dickinson [Fri, 24 Aug 2012 18:51:00 +0000 (19:51 +0100)]
Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.
Mark Dickinson [Fri, 24 Aug 2012 18:32:13 +0000 (19:32 +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:37:23 +0000 (19:37 +0200)]
Issue #14674: Add a discussion of the json module's standard compliance.
Patch by Chris Rebert.
Georg Brandl [Fri, 24 Aug 2012 16:15:29 +0000 (18:15 +0200)]
Closes #9374: add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
R David Murray [Fri, 24 Aug 2012 15:14:13 +0000 (11:14 -0400)]
#15249: Mangle From lines correctly when body contains invalid bytes.
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
Ross Lagerwall [Fri, 24 Aug 2012 11:25:59 +0000 (13:25 +0200)]
Issue 15777: Fix a refleak in _posixsubprocess.
It was exposed by
03c98d05b140 and
dbbf3ccf72e8 .
Ned Deily [Thu, 23 Aug 2012 06:27:26 +0000 (23:27 -0700)]
Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
Ronald Oussoren [Wed, 22 Aug 2012 12:24:14 +0000 (14:24 +0200)]
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.
This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.
Trent Nelson [Tue, 21 Aug 2012 23:41:43 +0000 (23:41 +0000)]
Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
Ezio Melotti [Tue, 21 Aug 2012 08:38:41 +0000 (11:38 +0300)]
#15752: s/assertRaisesRegexp/assertRaisesRegex/g
Stefan Krah [Tue, 21 Aug 2012 06:16:09 +0000 (08:16 +0200)]
Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().
Trent Nelson [Tue, 21 Aug 2012 01:22:59 +0000 (21:22 -0400)]
Issue #15285: Refactor connect timeout test in test_timeout.
Antoine Pitrou [Mon, 20 Aug 2012 22:07:07 +0000 (00:07 +0200)]
Issue #14954: Clarify the interaction of weak references and garbage collection.
Patch by Ethan Furman.
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:14:18 +0000 (14:14 -0400)]
#15742: clarify sqlite parameter substitution example.
Suggestion and patch by Mike Hoy.
Antoine Pitrou [Mon, 20 Aug 2012 17:30:46 +0000 (19:30 +0200)]
Issue #15726: Fix incorrect bounds checking in PyState_FindModule.
Patch by Robin Schreiber.
Stefan Krah [Mon, 20 Aug 2012 15:19:50 +0000 (17:19 +0200)]
Issue #15741: Fix potential NULL dereference. Found by Coverity.
Stefan Krah [Mon, 20 Aug 2012 12:36:47 +0000 (14:36 +0200)]
Issue #15738: Fix a missing NULL check in subprocess_fork_exec().
Stefan Krah [Mon, 20 Aug 2012 09:04:24 +0000 (11:04 +0200)]
Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().
Found by Coverity.
R David Murray [Sun, 19 Aug 2012 21:26:34 +0000 (17:26 -0400)]
#13579: teach string.Formatter about 'a'.
Patch by Francisco Martín Brugué.
Andrew Svetlov [Sun, 19 Aug 2012 19:13:41 +0000 (22:13 +0300)]
Issue #15595: Fix subprocess.Popen(universal_newlines=True)
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
Stefan Krah [Sun, 19 Aug 2012 09:20:41 +0000 (11:20 +0200)]
Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.
Ned Deily [Sat, 18 Aug 2012 19:21:17 +0000 (12:21 -0700)]
Allow redemo.py to be used from the command line like other demos.
Antoine Pitrou [Sat, 18 Aug 2012 18:46:23 +0000 (20:46 +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:24:30 +0000 (12:24 +0100)]
Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.
Eli Bendersky [Sat, 18 Aug 2012 06:50:09 +0000 (09:50 +0300)]
tutorial typo fix
R David Murray [Sat, 18 Aug 2012 00:55:21 +0000 (20:55 -0400)]
#15636: add versionadded for decodebytes
R David Murray [Sat, 18 Aug 2012 00:48:59 +0000 (20:48 -0400)]
#15355: Mention already-executing Exception in generator docs.
Patch by Chris Jerdonek.
R David Murray [Sat, 18 Aug 2012 00:39:21 +0000 (20:39 -0400)]
#15694: reflow paragraph.
R David Murray [Sat, 18 Aug 2012 00:33:54 +0000 (20:33 -0400)]
#15694: Link discussion of file objects to glossary entry.
This is analogous to the link for `flie objects` in the description of
'open' that exists in the 2.7 docs, and adds a similar link to the
io docs.
Patch by Chris Jerdonek.
Terry Jan Reedy [Fri, 17 Aug 2012 19:40:46 +0000 (15:40 -0400)]
Issue 15660: Clarify 0 prefix for width field in str.format doc.
Richard Oudkerk [Fri, 17 Aug 2012 14:02:47 +0000 (15:02 +0100)]
Issue #15412: Remove erroneous note about weakrefs
Richard Oudkerk [Fri, 17 Aug 2012 13:39:18 +0000 (14:39 +0100)]
Issue #14501: Clarify that authentication keys are byte strings
Antoine Pitrou [Thu, 16 Aug 2012 20:14:43 +0000 (22:14 +0200)]
Update the getpeercert() example with a real-world cert showing non-trivial issuer, subject and subjectAltName.
Petri Lehtinen [Thu, 16 Aug 2012 04:22:15 +0000 (07:22 +0300)]
#11062: Fix universal newline support in Babyl._install_message()
When adding a message from a binary file, \r\n was translated to
\r\r\n in the message body.
Nick Coghlan [Thu, 16 Aug 2012 04:13:07 +0000 (14:13 +1000)]
Fix str docstring
Antoine Pitrou [Wed, 15 Aug 2012 21:18:25 +0000 (23:18 +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:35 +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:05:36 +0000 (11:05 -0400)]
#15543: reflow paragraphs.
R David Murray [Wed, 15 Aug 2012 14:43:58 +0000 (10:43 -0400)]
#15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
Eli Bendersky [Wed, 15 Aug 2012 11:50:52 +0000 (14:50 +0300)]
merge heads in 3.2 branch
Eli Bendersky [Wed, 15 Aug 2012 11:49:49 +0000 (14:49 +0300)]
Issue #15656: fixing code sample in extending doc
Petri Lehtinen [Wed, 15 Aug 2012 11:00:40 +0000 (14:00 +0300)]
#11062: Fix adding a message from file to Babyl mailbox
R David Murray [Wed, 15 Aug 2012 01:40:13 +0000 (21:40 -0400)]
#15269: document dircmp.left and right, and add tests for them.
Patch by Chris Jerdonek.
Sandro Tosi [Tue, 14 Aug 2012 17:51:43 +0000 (19:51 +0200)]
fix typo
Andrew Svetlov [Tue, 14 Aug 2012 15:41:40 +0000 (18:41 +0300)]
Merge 3.2
Andrew Svetlov [Tue, 14 Aug 2012 15:35:17 +0000 (18:35 +0300)]
Add test to explicit check the absence regression in subprocess (issue #15592).
Patch by Chris Jerdonek.
Matthias Klose [Tue, 14 Aug 2012 15:29:04 +0000 (17:29 +0200)]
Modules/socketmodule.c: netdb_lock: define static.
Andrew Svetlov [Tue, 14 Aug 2012 12:38:15 +0000 (15:38 +0300)]
Issue #14167: Document return statement in finally blocks.
Patch by Yury Selivanov.
Richard Oudkerk [Tue, 14 Aug 2012 10:41:32 +0000 (11:41 +0100)]
Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing
on Windows without the "if __name__ == '__main__'" idiom.
Georg Brandl [Tue, 14 Aug 2012 07:39:07 +0000 (09:39 +0200)]
Restore original line lengths.
Brian Curtin [Mon, 13 Aug 2012 22:05:57 +0000 (17:05 -0500)]
Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
Andrew Svetlov [Mon, 13 Aug 2012 20:22:23 +0000 (23:22 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 19:09:04 +0000 (22:09 +0300)]
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 09:58:02 +0000 (12:58 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper
Thanks to Chris Jerdonek
Senthil Kumaran [Sun, 12 Aug 2012 19:01:47 +0000 (12:01 -0700)]
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.
Sandro Tosi [Sun, 12 Aug 2012 15:34:00 +0000 (17:34 +0200)]
add usage example from cli; thanks to Christian Clauss from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:35:25 +0000 (15:35 +0200)]
escape '\'; thanks to Steve Holden from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)]
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
Sandro Tosi [Sun, 12 Aug 2012 10:35:14 +0000 (12:35 +0200)]
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
Sandro Tosi [Sun, 12 Aug 2012 09:02:03 +0000 (11:02 +0200)]
update Geany URL; thanks to Karl Tarbet from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:49:26 +0000 (10:49 +0200)]
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:24:50 +0000 (10:24 +0200)]
zip() returns an iterator, make a list() of it; thanks to Martin from docs@
Antoine Pitrou [Sat, 11 Aug 2012 14:51:50 +0000 (16:51 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.
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:02:14 +0000 (11:02 +0200)]
Revert
961a15aff2a6 , this is already checked in another way.
Georg Brandl [Sat, 11 Aug 2012 08:59:23 +0000 (10:59 +0200)]
Closes #15620: check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
Meador Inge [Sat, 11 Aug 2012 03:35:45 +0000 (22:35 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
Andrew Svetlov [Thu, 9 Aug 2012 18:26:34 +0000 (21:26 +0300)]
fix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 12:20:45 +0000 (15:20 +0300)]
Issue #15501: Document exception classes in subprocess module.
Initial patch by Anton Barkovsky.
Ned Deily [Thu, 9 Aug 2012 03:57:24 +0000 (20:57 -0700)]
Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
failure on OS X built with 10.4 ABI.
R David Murray [Mon, 6 Aug 2012 20:08:09 +0000 (16:08 -0400)]
#15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
Brett Cannon [Mon, 6 Aug 2012 00:46:25 +0000 (20:46 -0400)]
Issue #15482: Properly document the default 'level' parameter for
__import__().
To help explain why the -1 default value is typically not seen, a note
about how import statements only use values of >= 0 is also noted.
Ned Deily [Sun, 5 Aug 2012 21:56:21 +0000 (14:56 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Antoine Pitrou [Sun, 5 Aug 2012 12:52:45 +0000 (14:52 +0200)]
Fix CGI tests to take into account the platform's line ending (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:23:40 +0000 (00:23 +0200)]
Fix universal newlines test to avoid the newline translation done by sys.stdout.
Antoine Pitrou [Sat, 4 Aug 2012 22:15:06 +0000 (00:15 +0200)]
Fix test_sys under Windows (issue #13119)
Andrew Svetlov [Sat, 4 Aug 2012 18:38:22 +0000 (21:38 +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:24 +0000 (19:42 +0200)]
add missing period; thanks to Gaston Fiore from docs@
Victor Stinner [Fri, 3 Aug 2012 23:37:32 +0000 (01:37 +0200)]
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
Victor Stinner [Fri, 3 Aug 2012 23:18:56 +0000 (01:18 +0200)]
open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
translate newlines on output.
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:49:14 +0000 (15:49 +0200)]
#15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 12:49:42 +0000 (14:49 +0200)]
Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:28:37 +0000 (14:28 +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 [Wed, 1 Aug 2012 23:56:39 +0000 (02:56 +0300)]
Issue #15321: update PyPI upload doc to say --no-raw passed to rst2html.py
Martin v. Löwis [Wed, 1 Aug 2012 08:32:11 +0000 (10:32 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Analysis by Victor Stinner. Patch by Stefan Krah.
Andrew Svetlov [Tue, 31 Jul 2012 16:48:00 +0000 (19:48 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Andrew Svetlov [Mon, 30 Jul 2012 16:59:53 +0000 (19:59 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Ned Deily [Mon, 30 Jul 2012 11:09:32 +0000 (04:09 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Ned Deily [Mon, 30 Jul 2012 10:31:21 +0000 (03:31 -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:33:05 +0000 (16:33 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
Meador Inge [Sun, 29 Jul 2012 03:16:39 +0000 (22:16 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Richard Oudkerk [Fri, 27 Jul 2012 13:06:11 +0000 (14:06 +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:54:10 +0000 (10:54 +0100)]
Improved cookbook entry and fixed typo.
Andrew Svetlov [Thu, 26 Jul 2012 14:02:57 +0000 (17:02 +0300)]
Issue #15041: update "see also" list in tkinter documentation.