]> granicus.if.org Git - python/log
python
12 years agoIssue #15728: Fix leak in PyUnicode_AsWideCharString(). Found by Coverity.
Stefan Krah [Sun, 19 Aug 2012 19:52:43 +0000 (21:52 +0200)]
Issue #15728: Fix leak in PyUnicode_AsWideCharString(). Found by Coverity.

12 years agoIssue #15595: Fix subprocess.Popen(universal_newlines=True)
Andrew Svetlov [Sun, 19 Aug 2012 19:20:03 +0000 (22:20 +0300)]
Issue #15595: Fix subprocess.Popen(universal_newlines=True)
for certain locales (utf-16 and utf-32 family).

Patch by Chris Jerdonek.

12 years agoIssue #15595: Fix subprocess.Popen(universal_newlines=True)
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.

12 years agoUse Thread.is_alive() instead of old-style Thread.isAlive() in subprocess.
Andrew Svetlov [Sun, 19 Aug 2012 17:49:39 +0000 (20:49 +0300)]
Use Thread.is_alive() instead of old-style Thread.isAlive() in subprocess.

12 years agoFixes #14668. Mention Windows Path manipulation option in the installer.
Brian Curtin [Sun, 19 Aug 2012 16:22:20 +0000 (11:22 -0500)]
Fixes #14668. Mention Windows Path manipulation option in the installer.

12 years agoBrush subprocess tests a bit.
Andrew Svetlov [Sun, 19 Aug 2012 13:25:37 +0000 (16:25 +0300)]
Brush subprocess tests a bit.

12 years agoThe latest NumPy revision no longer segfaults here.
Stefan Krah [Sun, 19 Aug 2012 10:54:50 +0000 (12:54 +0200)]
The latest NumPy revision no longer segfaults here.

12 years agoFix out-of-date comment in test_memoryview.
Stefan Krah [Sun, 19 Aug 2012 10:50:24 +0000 (12:50 +0200)]
Fix out-of-date comment in test_memoryview.

12 years agoMereg 3.2.
Stefan Krah [Sun, 19 Aug 2012 09:22:28 +0000 (11:22 +0200)]
Mereg 3.2.

12 years agoCheck for NULL return value in PyStructSequence_NewType(). Found by Coverity.
Stefan Krah [Sun, 19 Aug 2012 09:20:41 +0000 (11:20 +0200)]
Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.

12 years agoAllow redemo.py to be used from the command line like other demos.
Ned Deily [Sat, 18 Aug 2012 19:24:56 +0000 (12:24 -0700)]
Allow redemo.py to be used from the command line like other demos.

12 years agoAllow redemo.py to be used from the command line like other demos.
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.

12 years agoIssue #15615: Add some tests for the json module's handling of invalid input data.
Antoine Pitrou [Sat, 18 Aug 2012 18:48:17 +0000 (20:48 +0200)]
Issue #15615: Add some tests for the json module's handling of invalid input data.
Patch by Kushal Das.

12 years agoIssue #15615: Add some tests for the json module's handling of invalid input data.
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.

12 years agoIssue #15477: Merge fix from 3.2
Mark Dickinson [Sat, 18 Aug 2012 11:26:15 +0000 (12:26 +0100)]
Issue #15477: Merge fix from 3.2

12 years agoIssue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.
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.

12 years agoMerge 3.2: tutorial typo fix
Eli Bendersky [Sat, 18 Aug 2012 06:50:32 +0000 (09:50 +0300)]
Merge 3.2: tutorial typo fix

12 years agotutorial typo fix
Eli Bendersky [Sat, 18 Aug 2012 06:50:09 +0000 (09:50 +0300)]
tutorial typo fix

12 years agoIssue #15586: fix prompts in some documentation examples
Eli Bendersky [Sat, 18 Aug 2012 02:42:22 +0000 (05:42 +0300)]
Issue #15586: fix prompts in some documentation examples

12 years agoMerge #15636: add versionadded for decodebytes
R David Murray [Sat, 18 Aug 2012 00:55:54 +0000 (20:55 -0400)]
Merge #15636: add versionadded for decodebytes

12 years ago#15636: add versionadded for decodebytes
R David Murray [Sat, 18 Aug 2012 00:55:21 +0000 (20:55 -0400)]
#15636: add versionadded for decodebytes

12 years agoMerge #15355: Mention already-executing Exception in generator docs.
R David Murray [Sat, 18 Aug 2012 00:49:24 +0000 (20:49 -0400)]
Merge #15355: Mention already-executing Exception in generator docs.

Patch by Chris Jerdonek.

12 years ago#15355: Mention already-executing Exception in generator docs.
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.

12 years agoMerge #15694: reflow paragraph.
R David Murray [Sat, 18 Aug 2012 00:40:03 +0000 (20:40 -0400)]
Merge #15694: reflow paragraph.

12 years ago#15694: reflow paragraph.
R David Murray [Sat, 18 Aug 2012 00:39:21 +0000 (20:39 -0400)]
#15694: reflow paragraph.

12 years agoMerge #15694: Link discussion of file objects to glossary entry.
R David Murray [Sat, 18 Aug 2012 00:38:19 +0000 (20:38 -0400)]
Merge #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.

12 years ago#15694: Link discussion of file objects to glossary entry.
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.

12 years agoCloses #15632: regrtest.py: fix spurious refleaks due to various caches
Stefan Krah [Fri, 17 Aug 2012 21:09:48 +0000 (23:09 +0200)]
Closes #15632: regrtest.py: fix spurious refleaks due to various caches
filling up with random data.

12 years agoIssue #15678: Fix menu customization for IDLE started from OS X
Ned Deily [Fri, 17 Aug 2012 20:22:30 +0000 (13:22 -0700)]
Issue #15678: Fix menu customization for IDLE started from OS X
command lines.  It was broken as a side effect of the changes to
pythonw.c in b79d276041a8 for #15307.  Since sys.executable no
longer includes 'Python.app' in the path name, test for a
framework build instead.  This should give the previous behavior
in nearly all cases.  Whether the previous behavior is sensible
is left as an issue for later releases.  IDLE.app behavior was
not affected as it does its own manipulation of sys.executable.

12 years agoMerge with 3.2 #15660
Terry Jan Reedy [Fri, 17 Aug 2012 19:42:12 +0000 (15:42 -0400)]
Merge with 3.2 #15660

12 years agoIssue 15660: Clarify 0 prefix for width field in str.format doc.
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.

12 years agoIssue #15640: Document importlib.abc.Finder as deprecated.
Brett Cannon [Fri, 17 Aug 2012 18:08:24 +0000 (14:08 -0400)]
Issue #15640: Document importlib.abc.Finder as deprecated.

The code for the class itself isn't deprecated for
backwards-compatibility reasons, but the class shouldn't be directly
inherited by anyone anymore as the API is no longer as widely valid as
it used to be.

12 years agoIssue #15715: Ignore failed imports triggered by the use of fromlist.
Brett Cannon [Fri, 17 Aug 2012 17:21:16 +0000 (13:21 -0400)]
Issue #15715: Ignore failed imports triggered by the use of fromlist.

When the fromlist argument is specified for __import__() and the
attribute doesn't already exist, an import is attempted. If that fails
(e.g. module doesn't exist), the ImportError will now be silenced (for
backwards-compatibility). This *does not* affect
``from ... import ...`` statements.

Thanks to Eric Snow for the patch and Simon Feltman for reporting the
regression.

12 years agoMerge
Richard Oudkerk [Fri, 17 Aug 2012 14:05:09 +0000 (15:05 +0100)]
Merge

12 years agoIssue #15412: Remove erroneous note about weakrefs
Richard Oudkerk [Fri, 17 Aug 2012 14:02:47 +0000 (15:02 +0100)]
Issue #15412: Remove erroneous note about weakrefs

12 years agoMerge
Richard Oudkerk [Fri, 17 Aug 2012 13:42:43 +0000 (14:42 +0100)]
Merge

12 years agoIssue #14501: Clarify that authentication keys are byte strings
Richard Oudkerk [Fri, 17 Aug 2012 13:39:18 +0000 (14:39 +0100)]
Issue #14501: Clarify that authentication keys are byte strings

12 years agoUpdate the getpeercert() example with a real-world cert showing non-trivial issuer...
Antoine Pitrou [Thu, 16 Aug 2012 20:18:37 +0000 (22:18 +0200)]
Update the getpeercert() example with a real-world cert showing non-trivial issuer, subject and subjectAltName.

12 years agoUpdate the getpeercert() example with a real-world cert showing non-trivial issuer...
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.

12 years agoFix subprocess test broken on Windows
Andrew Svetlov [Thu, 16 Aug 2012 17:17:47 +0000 (20:17 +0300)]
Fix subprocess test broken on Windows

12 years agoIssue #14669: Fix pickling of connections and sockets on MacOSX
Richard Oudkerk [Thu, 16 Aug 2012 15:48:55 +0000 (16:48 +0100)]
Issue #14669: Fix pickling of connections and sockets on MacOSX
by sending/receiving an acknowledgment after file descriptor transfer.
TestPicklingConnection has been reenabled for MacOSX.

12 years ago#11062: Fix universal newline support in Babyl._install_message()
Petri Lehtinen [Thu, 16 Aug 2012 04:27:47 +0000 (07:27 +0300)]
#11062: Fix universal newline support in Babyl._install_message()

12 years ago#11062: Fix universal newline support in Babyl._install_message()
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.

12 years agoMerge str docstring fix from 3.2
Nick Coghlan [Thu, 16 Aug 2012 04:14:30 +0000 (14:14 +1000)]
Merge str docstring fix from 3.2

12 years agoFix str docstring
Nick Coghlan [Thu, 16 Aug 2012 04:13:07 +0000 (14:13 +1000)]
Fix str docstring

12 years agoIssue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Antoine Pitrou [Wed, 15 Aug 2012 21:20:39 +0000 (23:20 +0200)]
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.

12 years agoIssue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
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.

12 years agomerge heads
Andrew Svetlov [Wed, 15 Aug 2012 19:53:56 +0000 (22:53 +0300)]
merge heads

12 years agoAdd yet another test for subprocess.Popen.communicate
Andrew Svetlov [Wed, 15 Aug 2012 19:46:43 +0000 (22:46 +0300)]
Add yet another test for subprocess.Popen.communicate

12 years agomerge with 3.2
Sandro Tosi [Wed, 15 Aug 2012 19:37:56 +0000 (21:37 +0200)]
merge with 3.2

12 years agoclarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from...
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@

12 years ago#15543: reflow paragraph.
R David Murray [Wed, 15 Aug 2012 15:13:31 +0000 (11:13 -0400)]
#15543: reflow paragraph.

12 years ago#15543: additional link in subprocess docs.
R David Murray [Wed, 15 Aug 2012 15:12:15 +0000 (11:12 -0400)]
#15543: additional link in subprocess docs.

Patch by Chris Jerdonek.

12 years agoMerge #15543: glossary entry for and 'universal newlines', and links to it.
R David Murray [Wed, 15 Aug 2012 15:11:27 +0000 (11:11 -0400)]
Merge #15543: glossary entry for and 'universal newlines', and links to it.

Patch by Chris Jerdonek.

12 years ago#15543: reflow paragraphs.
R David Murray [Wed, 15 Aug 2012 15:05:36 +0000 (11:05 -0400)]
#15543: reflow paragraphs.

12 years ago#15543: glossary entry for and 'universal newlines', and links to it.
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.

12 years agoCleanup universal_newlines usage for subprocess.Popen, remove unused param.
Andrew Svetlov [Wed, 15 Aug 2012 14:36:15 +0000 (17:36 +0300)]
Cleanup universal_newlines usage for subprocess.Popen, remove unused param.

12 years agomerge 3.2
Eli Bendersky [Wed, 15 Aug 2012 11:51:08 +0000 (14:51 +0300)]
merge 3.2

12 years agomerge heads in 3.2 branch
Eli Bendersky [Wed, 15 Aug 2012 11:50:52 +0000 (14:50 +0300)]
merge heads in 3.2 branch

12 years agoIssue #15656: fixing code sample in extending doc
Eli Bendersky [Wed, 15 Aug 2012 11:49:49 +0000 (14:49 +0300)]
Issue #15656: fixing code sample in extending doc

12 years ago#11062: Fix adding a message from file to Babyl mailbox
Petri Lehtinen [Wed, 15 Aug 2012 11:36:14 +0000 (14:36 +0300)]
#11062: Fix adding a message from file to Babyl mailbox

12 years agoIssue #15586: typo fix. This commit is accompanied by an apology for all Liechtenstei...
Eli Bendersky [Wed, 15 Aug 2012 11:26:30 +0000 (14:26 +0300)]
Issue #15586: typo fix. This commit is accompanied by an apology for all Liechtensteiners out there, and a thanks to Eric Araujo for noticing.

12 years ago#11062: Fix adding a message from file to Babyl mailbox
Petri Lehtinen [Wed, 15 Aug 2012 11:00:40 +0000 (14:00 +0300)]
#11062: Fix adding a message from file to Babyl mailbox

12 years agoMerge #15269: document dircmp.left and right, and add tests for them.
R David Murray [Wed, 15 Aug 2012 01:45:25 +0000 (21:45 -0400)]
Merge #15269: document dircmp.left and right, and add tests for them.

Patch by Chris Jerdonek.

12 years ago#15269: document dircmp.left and right, and add tests for them.
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.

12 years agomerge with 3.2
Sandro Tosi [Tue, 14 Aug 2012 17:52:04 +0000 (19:52 +0200)]
merge with 3.2

12 years agofix typo
Sandro Tosi [Tue, 14 Aug 2012 17:51:43 +0000 (19:51 +0200)]
fix typo

12 years agoMerge heads
Andrew Svetlov [Tue, 14 Aug 2012 15:42:54 +0000 (18:42 +0300)]
Merge heads

12 years agoMerge 3.2 to default
Andrew Svetlov [Tue, 14 Aug 2012 15:42:10 +0000 (18:42 +0300)]
Merge 3.2 to default

12 years agoMerge 3.2
Andrew Svetlov [Tue, 14 Aug 2012 15:41:40 +0000 (18:41 +0300)]
Merge 3.2

12 years agoIssue #15592. Fix regression: subprocess.communicate() breaks on no input with univer...
Andrew Svetlov [Tue, 14 Aug 2012 15:40:21 +0000 (18:40 +0300)]
Issue #15592. Fix regression: subprocess.communicate() breaks on no input with universal newlines true.

Patch by Chris Jerdonek.

12 years agoAdd test to explicit check the absence regression in subprocess (issue #15592).
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.

12 years agomerge 3.2
Matthias Klose [Tue, 14 Aug 2012 15:30:12 +0000 (17:30 +0200)]
merge 3.2

12 years agoModules/socketmodule.c: netdb_lock: define static.
Matthias Klose [Tue, 14 Aug 2012 15:29:04 +0000 (17:29 +0200)]
Modules/socketmodule.c: netdb_lock: define static.

12 years agoIssue #14167: Document return statement in finally blocks.
Andrew Svetlov [Tue, 14 Aug 2012 12:38:58 +0000 (15:38 +0300)]
Issue #14167: Document return statement in finally blocks.

Patch by Yury Selivanov.

12 years agoIssue #14167: Document return statement in finally blocks.
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.

12 years agoMerge 3.2
Richard Oudkerk [Tue, 14 Aug 2012 11:51:14 +0000 (12:51 +0100)]
Merge 3.2

12 years agoIssue #15646: Prevent equivalent of a fork bomb when using multiprocessing
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.

12 years agoReview of signature docs.
Georg Brandl [Tue, 14 Aug 2012 07:45:28 +0000 (09:45 +0200)]
Review of signature docs.

12 years agomerge with 3.2
Georg Brandl [Tue, 14 Aug 2012 07:40:26 +0000 (09:40 +0200)]
merge with 3.2

12 years agoRestore original line lengths.
Georg Brandl [Tue, 14 Aug 2012 07:39:07 +0000 (09:39 +0200)]
Restore original line lengths.

12 years agoAdd Daniel Ellis to Misc/ACKS
Eli Bendersky [Tue, 14 Aug 2012 04:20:06 +0000 (07:20 +0300)]
Add Daniel Ellis to Misc/ACKS

12 years agoIssue #15586: add some examples to ElementTree documentation. Patch by Daniel Ellis.
Eli Bendersky [Tue, 14 Aug 2012 04:19:33 +0000 (07:19 +0300)]
Issue #15586: add some examples to ElementTree documentation. Patch by Daniel Ellis.

12 years agoerrant merge problem committed
Brian Curtin [Mon, 13 Aug 2012 22:20:00 +0000 (17:20 -0500)]
errant merge problem committed

12 years agoMerge 3.2
Brian Curtin [Mon, 13 Aug 2012 22:12:02 +0000 (17:12 -0500)]
Merge 3.2

12 years agoFix #15496. Add directory removal helpers to make Windows tests more reliable. Patch...
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

12 years agoIssue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Andrew Svetlov [Mon, 13 Aug 2012 20:23:02 +0000 (23:23 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.

Patch by Chris Jerdonek.

12 years agoIssue #15497: Correct characters in TextWrapper.replace_whitespace docs.
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.

12 years agoPush importlib ABC hierarchy chart.
Andrew Svetlov [Mon, 13 Aug 2012 19:19:01 +0000 (22:19 +0300)]
Push importlib ABC hierarchy chart.

12 years agoIssue #15561: Update subprocess docs to reference io.TextIOWrapper.
Andrew Svetlov [Mon, 13 Aug 2012 19:11:14 +0000 (22:11 +0300)]
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.

Patch by Chris Jerdonek.

12 years agoIssue #15561: Update subprocess docs to reference io.TextIOWrapper.
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.

12 years agoMention PEP 362: Function Signature Object in whatsnew.
Andrew Svetlov [Mon, 13 Aug 2012 18:27:56 +0000 (21:27 +0300)]
Mention PEP 362: Function Signature Object in whatsnew.

12 years agoMinor update of docs for inspect module.
Andrew Svetlov [Mon, 13 Aug 2012 15:23:54 +0000 (18:23 +0300)]
Minor update of docs for inspect module.

12 years agoIssue #15151: PEP 362 — document signature and related classes for inspect.py
Andrew Svetlov [Mon, 13 Aug 2012 14:10:28 +0000 (17:10 +0300)]
Issue #15151: PEP 362 — document signature and related classes for inspect.py

Initial patch by Yury Selivanov

12 years agoIssue #15571: comment the fact what python impl of TextIOWrapper always works in...
Andrew Svetlov [Mon, 13 Aug 2012 13:09:54 +0000 (16:09 +0300)]
Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode

12 years agoIssue #15624: clarify newline documentation for open and io.TextIOWrapper
Andrew Svetlov [Mon, 13 Aug 2012 09:59:00 +0000 (12:59 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper

Thanks to Chris Jerdonek

12 years agoIssue #15624: clarify newline documentation for open and io.TextIOWrapper
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

12 years agomerge from 3.2
Senthil Kumaran [Sun, 12 Aug 2012 19:13:38 +0000 (12:13 -0700)]
merge from 3.2

Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.

12 years agoIssue #15630: Add an example for "continue" statement in the tutorial. Patch by
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.

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 15:34:13 +0000 (17:34 +0200)]
merge with 3.2