]> granicus.if.org Git - python/log
python
11 years agomerge
Brett Cannon [Sat, 4 May 2013 21:29:36 +0000 (17:29 -0400)]
merge

11 years ago#17115: Remove what appears to be a useless chunk of code which broke
Brett Cannon [Sat, 4 May 2013 21:27:59 +0000 (17:27 -0400)]
#17115: Remove what appears to be a useless chunk of code which broke
other tests.

11 years agoIssue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
Antoine Pitrou [Sat, 4 May 2013 21:21:09 +0000 (23:21 +0200)]
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.

11 years agoIssue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
Antoine Pitrou [Sat, 4 May 2013 21:16:59 +0000 (23:16 +0200)]
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.

11 years agoIssue #17408: Avoid using an obsolete instance of the copyreg module when the interpr...
Antoine Pitrou [Sat, 4 May 2013 18:46:19 +0000 (20:46 +0200)]
Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.

11 years agoIssue #17408: Avoid using an obsolete instance of the copyreg module when the interpr...
Antoine Pitrou [Sat, 4 May 2013 18:45:02 +0000 (20:45 +0200)]
Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.

11 years agoElaborate on bytes-like objects.
Antoine Pitrou [Sat, 4 May 2013 18:18:53 +0000 (20:18 +0200)]
Elaborate on bytes-like objects.

11 years agoElaborate on bytes-like objects.
Antoine Pitrou [Sat, 4 May 2013 18:18:34 +0000 (20:18 +0200)]
Elaborate on bytes-like objects.

11 years agoIssue #5845: Enable tab-completion in the interactive interpreter by default, thanks...
Antoine Pitrou [Sat, 4 May 2013 18:08:35 +0000 (20:08 +0200)]
Issue #5845: Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.

(original patch by Éric Araujo)

11 years ago#17115,17116: Have modules initialize the __package__ and __loader__
Brett Cannon [Sat, 4 May 2013 17:56:58 +0000 (13:56 -0400)]
#17115,17116: Have modules initialize the __package__ and __loader__
attributes to None.

The long-term goal is for people to be able to rely on these
attributes existing and checking for None to see if they have been
set. Since import itself sets these attributes when a loader does not
the only instances when the attributes are None are from someone
overloading __import__() and not using a loader or someone creating a
module from scratch.

This patch also unifies module initialization. Before you could have
different attributes with default values depending on how the module
object was created. Now the only way to not get the same default set
of attributes is to circumvent initialization by calling
ModuleType.__new__() directly.

11 years ago#16518: merge with 3.3.
Ezio Melotti [Sat, 4 May 2013 15:07:12 +0000 (18:07 +0300)]
#16518: merge with 3.3.

11 years ago#16518: use "bytes-like object" throughout the docs.
Ezio Melotti [Sat, 4 May 2013 15:06:34 +0000 (18:06 +0300)]
#16518: use "bytes-like object" throughout the docs.

11 years ago#7855: merge with 3.3.
Ezio Melotti [Sat, 4 May 2013 14:47:54 +0000 (17:47 +0300)]
#7855: merge with 3.3.

11 years ago#7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch...
Ezio Melotti [Sat, 4 May 2013 14:46:23 +0000 (17:46 +0300)]
#7855: Add tests for ctypes/winreg for issues found in IronPython.  Initial patch by Dino Viehland.

11 years agoNull merge (already committed in changeset a3ba5fe9bfd3)
Serhiy Storchaka [Sat, 4 May 2013 12:16:16 +0000 (15:16 +0300)]
Null merge (already committed in changeset a3ba5fe9bfd3)

11 years agoIssue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Serhiy Storchaka [Sat, 4 May 2013 12:12:55 +0000 (15:12 +0300)]
Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.

11 years agoadd trailing newline to file
Brett Cannon [Fri, 3 May 2013 14:57:08 +0000 (10:57 -0400)]
add trailing newline to file

11 years agoMove test_imp over to unittest.main()
Brett Cannon [Fri, 3 May 2013 14:56:19 +0000 (10:56 -0400)]
Move test_imp over to unittest.main()

11 years agoGuard more tests in test_imp requiring imp.load_dynamic() to exist.
Brett Cannon [Fri, 3 May 2013 14:54:23 +0000 (10:54 -0400)]
Guard more tests in test_imp requiring imp.load_dynamic() to exist.

11 years ago#15902: merge w/ 3.3
Brett Cannon [Fri, 3 May 2013 14:47:17 +0000 (10:47 -0400)]
#15902: merge w/ 3.3

11 years agoIssue #15902: Fix imp.load_module() to accept None as a file when
Brett Cannon [Fri, 3 May 2013 14:37:08 +0000 (10:37 -0400)]
Issue #15902: Fix imp.load_module() to accept None as a file when
trying to load an extension module.

While at it, also add a proper unittest.skipIf() guard to another test
involving imp.load_dynamic().

11 years agomerge
Raymond Hettinger [Fri, 3 May 2013 09:41:02 +0000 (02:41 -0700)]
merge

11 years agoIssue #15535: Fix pickling of named tuples.
Raymond Hettinger [Fri, 3 May 2013 09:24:15 +0000 (02:24 -0700)]
Issue #15535:  Fix pickling of named tuples.

11 years agoCloses #17892: Fix the name of _PyObject_CallMethodObjIdArgs
Alexandre Vassalotti [Thu, 2 May 2013 17:44:04 +0000 (10:44 -0700)]
Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgs

11 years agoIssue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise an OSErr...
Antoine Pitrou [Wed, 1 May 2013 18:52:07 +0000 (20:52 +0200)]
Issue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected.

11 years ago#17802: merge with 3.3.
Ezio Melotti [Wed, 1 May 2013 13:20:00 +0000 (16:20 +0300)]
#17802: merge with 3.3.

11 years ago#17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
Ezio Melotti [Wed, 1 May 2013 13:18:25 +0000 (16:18 +0300)]
#17802: Fix an UnboundLocalError in html.parser.  Initial tests by Thomas Barlow.

11 years agoMerge.
Charles-Francois Natali [Wed, 1 May 2013 13:15:50 +0000 (15:15 +0200)]
Merge.

11 years agoMove NEWS entry to the right section.
Ezio Melotti [Wed, 1 May 2013 13:13:45 +0000 (16:13 +0300)]
Move NEWS entry to the right section.

11 years agoIssue #17529: Fix os.sendfile() documentation regarding the type of file
Charles-Francois Natali [Wed, 1 May 2013 13:13:12 +0000 (15:13 +0200)]
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.

11 years agoIssue #17529: Fix os.sendfile() documentation regarding the type of file
Charles-Francois Natali [Wed, 1 May 2013 13:12:20 +0000 (15:12 +0200)]
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.

11 years ago#14679: add an __all__ (that contains only HTMLParser) to html.parser.
Ezio Melotti [Wed, 1 May 2013 13:09:34 +0000 (16:09 +0300)]
#14679: add an __all__ (that contains only HTMLParser) to html.parser.

11 years ago#11078: test___all__ now checks for duplicates in __all__. Initial patch by R. David...
Ezio Melotti [Wed, 1 May 2013 11:58:09 +0000 (14:58 +0300)]
#11078: test___all__ now checks for duplicates in __all__.  Initial patch by R. David Murray.

11 years agoIssue #17712: Fix test_gdb failures on Ubuntu 13.04.
Antoine Pitrou [Tue, 30 Apr 2013 22:17:45 +0000 (00:17 +0200)]
Issue #17712: Fix test_gdb failures on Ubuntu 13.04.

11 years agoIssue #17712: Fix test_gdb failures on Ubuntu 13.04.
Antoine Pitrou [Tue, 30 Apr 2013 22:15:44 +0000 (00:15 +0200)]
Issue #17712: Fix test_gdb failures on Ubuntu 13.04.

11 years ago#16518: merge with 3.3.
Ezio Melotti [Tue, 30 Apr 2013 20:34:41 +0000 (23:34 +0300)]
#16518: merge with 3.3.

11 years ago#16518: add "bytes-like object" to the glossary.
Ezio Melotti [Tue, 30 Apr 2013 20:33:31 +0000 (23:33 +0300)]
#16518: add "bytes-like object" to the glossary.

11 years agocheck local class namespace before reaching for cells (closes #17853)
Benjamin Peterson [Tue, 30 Apr 2013 13:41:40 +0000 (09:41 -0400)]
check local class namespace before reaching for cells (closes #17853)

11 years ago#17881: merge with 3.3.
Ezio Melotti [Tue, 30 Apr 2013 13:34:30 +0000 (16:34 +0300)]
#17881: merge with 3.3.

11 years ago#17881: clarify documentation of plistlib.
Ezio Melotti [Tue, 30 Apr 2013 13:34:04 +0000 (16:34 +0300)]
#17881: clarify documentation of plistlib.

11 years agomerge (no news entry needed for this fix to an earlier 3.4 blunder
Gregory P. Smith [Tue, 30 Apr 2013 08:05:28 +0000 (01:05 -0700)]
merge (no news entry needed for this fix to an earlier 3.4 blunder
that already contains the right news)

11 years agomerge
Gregory P. Smith [Tue, 30 Apr 2013 08:03:46 +0000 (01:03 -0700)]
merge

11 years agofix the news entry, the description in 3.3 should be different
Gregory P. Smith [Tue, 30 Apr 2013 08:01:54 +0000 (01:01 -0700)]
fix the news entry, the description in 3.3 should be different
than the one merged from 3.2 to match the actual changes here.

11 years agonews entry
Gregory P. Smith [Tue, 30 Apr 2013 07:58:24 +0000 (00:58 -0700)]
news entry

11 years agonews entry
Gregory P. Smith [Tue, 30 Apr 2013 07:57:18 +0000 (00:57 -0700)]
news entry

11 years agonull merge
Gregory P. Smith [Tue, 30 Apr 2013 07:06:20 +0000 (00:06 -0700)]
null merge

11 years agonull merge
Gregory P. Smith [Tue, 30 Apr 2013 07:05:50 +0000 (00:05 -0700)]
null merge

11 years agoThis local change was lost during the fixing of issue17192 to update
Gregory P. Smith [Tue, 30 Apr 2013 07:05:25 +0000 (00:05 -0700)]
This local change was lost during the fixing of issue17192 to update
libffi to 3.0.13.  (i'm not sure if it is needed anymore but see
issue 10309 for details which makes no mention of upstream; this
change is already in 3.3 and 3.4 but may need reapplying to 2.7
as done here)

11 years ago* Fix remaining bits of issue 17192 for 3.4 - these changes
Gregory P. Smith [Tue, 30 Apr 2013 07:03:30 +0000 (00:03 -0700)]
* Fix remaining bits of issue 17192 for 3.4 - these changes
  were missing from a messed up merge during the libffi 3.0.13
  import.  the diffs from upstream libffi 3.0.13 are now small.

11 years ago* Fix remaining bits of issue 17192 for 3.3 - these changes
Gregory P. Smith [Tue, 30 Apr 2013 07:03:01 +0000 (00:03 -0700)]
* Fix remaining bits of issue 17192 for 3.3 - these changes
  were missing from a messed up merge during the libffi 3.0.13
  import.  the diffs from upstream libffi 3.0.13 are now small.

11 years ago* Fix PART of issue 17192 for 3.4 - reapply the issue11729 patch
Gregory P. Smith [Tue, 30 Apr 2013 06:48:03 +0000 (23:48 -0700)]
* Fix PART of issue 17192 for 3.4 - reapply the issue11729 patch
  that was undone in the merge fun from upstream which already
  had it in 3.0.13.
* Add the missing update to libffi.info.

11 years ago* Fix PART of issue 17192 for 3.3 - reapply the issue11729 patch
Gregory P. Smith [Tue, 30 Apr 2013 06:47:17 +0000 (23:47 -0700)]
* Fix PART of issue 17192 for 3.3 - reapply the issue11729 patch
  that was undone in the merge fun from upstream which already
  had it in 3.0.13.
* Add the missing update to libffi.info.

11 years ago* Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone
Gregory P. Smith [Tue, 30 Apr 2013 06:45:38 +0000 (23:45 -0700)]
* Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone
  in the merge fun from upstream which already had it in 3.0.13.
* Add the missing update to libffi.info.

11 years agorefactor traceback.py to reduce code duplication (closes #17646)
Benjamin Peterson [Mon, 29 Apr 2013 20:09:39 +0000 (16:09 -0400)]
refactor traceback.py to reduce code duplication (closes #17646)

Patch by Martin Morrison.

11 years agomerge 3.3 (#17863)
Benjamin Peterson [Mon, 29 Apr 2013 14:23:31 +0000 (10:23 -0400)]
merge 3.3 (#17863)

11 years agoignore errors when trying to fetch sys.stdin.encoding (closes #17863)
Benjamin Peterson [Mon, 29 Apr 2013 14:23:08 +0000 (10:23 -0400)]
ignore errors when trying to fetch sys.stdin.encoding (closes #17863)

11 years agomerge 3.3
Benjamin Peterson [Mon, 29 Apr 2013 13:08:33 +0000 (09:08 -0400)]
merge 3.3

11 years agoraise an ImportError (rather than fatal) when __import__ is not found in __builtins__...
Benjamin Peterson [Mon, 29 Apr 2013 13:08:14 +0000 (09:08 -0400)]
raise an ImportError (rather than fatal) when __import__ is not found in __builtins__ (closes #17867)

11 years agoNull merge, DataHandler exists in 3.4.
R David Murray [Sun, 28 Apr 2013 21:07:16 +0000 (17:07 -0400)]
Null merge, DataHandler exists in 3.4.

11 years ago#7152: Remove incorrectly added reference to DataHandler.
R David Murray [Sun, 28 Apr 2013 21:06:01 +0000 (17:06 -0400)]
#7152: Remove incorrectly added reference to DataHandler.

11 years agomerge for issue #17358
Brett Cannon [Sun, 28 Apr 2013 15:58:31 +0000 (11:58 -0400)]
merge for issue #17358

11 years agoIssue #17358: imp.load_source() and load_compiled() should now return
Brett Cannon [Sun, 28 Apr 2013 15:53:26 +0000 (11:53 -0400)]
Issue #17358: imp.load_source() and load_compiled() should now return
modules which will typically work when reloaded.

A hack is used to support these functions as their API allowed them to
pass in a file object but then operate as if import had loaded them.
Unfortunately the hack kept a reference around for the file object
passed in which would be unusable on reload since it had been closed.
The solution is to simply use the hack for the initial load but then a
proper loader on the module so that imp.reload() at least has a chance
to work.

11 years agoMerge: Reflow paragraphs.
R David Murray [Sun, 28 Apr 2013 15:30:19 +0000 (11:30 -0400)]
Merge: Reflow paragraphs.

(I got a merge conflict on this in urllib.request.rst, which makes no sense to
me.  Hopefully I didn't screw up the previous 3.3 commit.)

11 years agoReflow paragraphs.
R David Murray [Sun, 28 Apr 2013 15:24:35 +0000 (11:24 -0400)]
Reflow paragraphs.

I know one of them looks worse, but now it is <80 chars and
matches the 2.7 text.

11 years agoMerge #7152: Clarify that ProxyHandler is added only if proxy settings are detected.
R David Murray [Sun, 28 Apr 2013 15:08:27 +0000 (11:08 -0400)]
Merge #7152: Clarify that ProxyHandler is added only if proxy settings are detected.

Behavior confirmation and initial patch by Jessica McKellar.

11 years ago#7152: Clarify that ProxyHandler is added only if proxy settings are detected.
R David Murray [Sun, 28 Apr 2013 15:07:16 +0000 (11:07 -0400)]
#7152: Clarify that ProxyHandler is added only if proxy settings are detected.

Behavior confirmation and initial patch by Jessica McKellar.

11 years agoAdded base64 module tests for non-binary files.
Serhiy Storchaka [Sun, 28 Apr 2013 12:56:32 +0000 (15:56 +0300)]
Added base64 module tests for non-binary files.

11 years agoAdded base64 module tests for non-binary files.
Serhiy Storchaka [Sun, 28 Apr 2013 12:56:11 +0000 (15:56 +0300)]
Added base64 module tests for non-binary files.

11 years agoIssue #17842. Added base64 module tests with bytearray arguments.
Serhiy Storchaka [Sun, 28 Apr 2013 12:53:54 +0000 (15:53 +0300)]
Issue #17842. Added base64 module tests with bytearray arguments.
Original patch by Kushal Das.

11 years agoIssue #17842. Added base64 module tests with bytearray arguments.
Serhiy Storchaka [Sun, 28 Apr 2013 12:53:08 +0000 (15:53 +0300)]
Issue #17842. Added base64 module tests with bytearray arguments.
Original patch by Kushal Das.

11 years agoIssue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
Serhiy Storchaka [Sun, 28 Apr 2013 11:11:55 +0000 (14:11 +0300)]
Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
such as was shipped with Centos 5 and Mac OS X 10.4.

11 years agoIssue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
Serhiy Storchaka [Sun, 28 Apr 2013 11:10:27 +0000 (14:10 +0300)]
Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
such as was shipped with Centos 5 and Mac OS X 10.4.

11 years agomerge for issue #17357
Brett Cannon [Sun, 28 Apr 2013 03:20:55 +0000 (23:20 -0400)]
merge for issue #17357

11 years agoIssue #17357: Use more stern wording for
Brett Cannon [Sun, 28 Apr 2013 03:20:32 +0000 (23:20 -0400)]
Issue #17357: Use more stern wording for
importlib.invalidate_caches().

11 years agoIssue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking.
Antoine Pitrou [Fri, 26 Apr 2013 22:20:04 +0000 (00:20 +0200)]
Issue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking.

11 years agomerge heads
Giampaolo Rodola' [Fri, 26 Apr 2013 13:24:42 +0000 (15:24 +0200)]
merge heads

11 years agoftplib: update connect() docstring by mentioning 'timeout' argument
Giampaolo Rodola' [Fri, 26 Apr 2013 13:23:43 +0000 (15:23 +0200)]
ftplib: update connect() docstring by mentioning 'timeout' argument

11 years ago17830: preserve line endings of original file when updating keywords.
R David Murray [Thu, 25 Apr 2013 16:01:36 +0000 (12:01 -0400)]
17830: preserve line endings of original file when updating keywords.

This fixes the test failures on Windows from the new tests, and
includes test fixes as well as the module fix.

11 years agoIssue #17272: Making the urllib.request's Request.full_url a descriptor. Fixes
Senthil Kumaran [Thu, 25 Apr 2013 12:45:48 +0000 (05:45 -0700)]
Issue #17272: Making the urllib.request's Request.full_url a descriptor.  Fixes
bugs with assignment to full_url. Patch by Demian Brecht.

11 years agoIssue #17835: Fix test_io when the default OS pipe buffer size is larger than one...
Antoine Pitrou [Wed, 24 Apr 2013 21:33:20 +0000 (23:33 +0200)]
Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.

11 years agoIssue #17835: Fix test_io when the default OS pipe buffer size is larger than one...
Antoine Pitrou [Wed, 24 Apr 2013 21:31:38 +0000 (23:31 +0200)]
Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.

11 years agoIssue #17244: Windows doesn't let you set permissions on directories.
Brett Cannon [Wed, 24 Apr 2013 20:34:07 +0000 (16:34 -0400)]
Issue #17244: Windows doesn't let you set permissions on directories.

11 years agoIssue #17832: fix a compilation warning about a function prototype.
Antoine Pitrou [Wed, 24 Apr 2013 18:17:53 +0000 (20:17 +0200)]
Issue #17832: fix a compilation warning about a function prototype.
Also, make the private function static.

11 years agoRevert c9674421d78e, leaving an additional comment
Eli Bendersky [Wed, 24 Apr 2013 12:34:07 +0000 (05:34 -0700)]
Revert c9674421d78e, leaving an additional comment

11 years agoclean the environment from pre-existing PYTHONWARNINGS for test_warnings
Łukasz Langa [Tue, 23 Apr 2013 23:51:42 +0000 (01:51 +0200)]
clean the environment from pre-existing PYTHONWARNINGS for test_warnings

11 years agoclean the environment from pre-existing PYTHONWARNINGS for test_warnings
Łukasz Langa [Tue, 23 Apr 2013 23:49:52 +0000 (01:49 +0200)]
clean the environment from pre-existing PYTHONWARNINGS for test_warnings

11 years agonull merge
Łukasz Langa [Tue, 23 Apr 2013 23:30:20 +0000 (01:30 +0200)]
null merge

11 years agobackported rev 79713 from 3.4, test_recursion_limit skipped for -O0
Łukasz Langa [Tue, 23 Apr 2013 23:29:26 +0000 (01:29 +0200)]
backported rev 79713 from 3.4, test_recursion_limit skipped for -O0

11 years agofix character index in ExtendedInterpolation's exception message
Łukasz Langa [Tue, 23 Apr 2013 23:25:55 +0000 (01:25 +0200)]
fix character index in ExtendedInterpolation's exception message

11 years agofix character index in ExtendedInterpolation's exception message
Łukasz Langa [Tue, 23 Apr 2013 23:25:18 +0000 (01:25 +0200)]
fix character index in ExtendedInterpolation's exception message

11 years ago(3.3->default) Ensure that plistlib doesn't corrupt deeply nested datastructures
Ronald Oussoren [Tue, 23 Apr 2013 11:48:29 +0000 (13:48 +0200)]
(3.3->default) Ensure that plistlib doesn't corrupt deeply nested datastructures

Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.

Fixes #17353

11 years agoEnsure that plistlib doesn't corrupt deeply nested datastructures
Ronald Oussoren [Tue, 23 Apr 2013 11:47:22 +0000 (13:47 +0200)]
Ensure that plistlib doesn't corrupt deeply nested datastructures

Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.

Fixes #17353

11 years ago#17729: merge with 3.3.
Ezio Melotti [Tue, 23 Apr 2013 06:58:04 +0000 (09:58 +0300)]
#17729: merge with 3.3.

11 years ago#17729: remove the Advocacy HOWTO from the index.
Ezio Melotti [Tue, 23 Apr 2013 06:56:30 +0000 (09:56 +0300)]
#17729: remove the Advocacy HOWTO from the index.

11 years ago#17729: merge with 3.3.
Ezio Melotti [Tue, 23 Apr 2013 06:25:45 +0000 (09:25 +0300)]
#17729: merge with 3.3.

11 years ago#17729: remove the outdated Advocacy HOWTO, as suggested by the author.
Ezio Melotti [Tue, 23 Apr 2013 06:24:51 +0000 (09:24 +0300)]
#17729: remove the outdated Advocacy HOWTO, as suggested by the author.

11 years agoIssue #11714: Use 'with' statements to assure a Semaphore releases a
Serhiy Storchaka [Mon, 22 Apr 2013 19:54:16 +0000 (22:54 +0300)]
Issue #11714: Use 'with' statements to assure a Semaphore releases a
condition variable.  Original patch by Thomas Rachel.

11 years agoIssue #11714: Use 'with' statements to assure a Semaphore releases a
Serhiy Storchaka [Mon, 22 Apr 2013 19:51:43 +0000 (22:51 +0300)]
Issue #11714: Use 'with' statements to assure a Semaphore releases a
condition variable.  Original patch by Thomas Rachel.

11 years agoIssue #16624: `subprocess.check_output` now accepts an `input` argument,
Serhiy Storchaka [Mon, 22 Apr 2013 17:20:54 +0000 (20:20 +0300)]
Issue #16624: `subprocess.check_output` now accepts an `input` argument,
allowing the subprocess's stdin to be provided as a (byte) string.
Patch by Zack Weinberg.

11 years agoSimplify the code of get_attrib_from_keywords somewhat.
Eli Bendersky [Mon, 22 Apr 2013 12:52:16 +0000 (05:52 -0700)]
Simplify the code of get_attrib_from_keywords somewhat.