]> granicus.if.org Git - python/log
python
11 years agoIssues #21948 and #16040: Merge with 3.4.
Berker Peksag [Wed, 9 Jul 2014 17:16:23 +0000 (20:16 +0300)]
Issues #21948 and #16040: Merge with 3.4.

11 years agoIssues #21948 and #16040: Fix typos.
Berker Peksag [Wed, 9 Jul 2014 17:15:28 +0000 (20:15 +0300)]
Issues #21948 and #16040: Fix typos.

11 years agoIssue #6916: Use assertWarns in test_asynchat.
Berker Peksag [Wed, 9 Jul 2014 00:12:23 +0000 (03:12 +0300)]
Issue #6916: Use assertWarns in test_asynchat.

11 years agoFix bootstrapping asdl -- it didn't work with Python 2.7.
Guido van Rossum [Tue, 8 Jul 2014 23:22:48 +0000 (16:22 -0700)]
Fix bootstrapping asdl -- it didn't work with Python 2.7.

11 years agoIssue #21938: simplify gen_iternext()
Antoine Pitrou [Tue, 8 Jul 2014 22:43:23 +0000 (18:43 -0400)]
Issue #21938: simplify gen_iternext()

11 years ago(Merge 3.4) asyncion, Tulip issue 181: BaseEventLoop.create_datagram_endpoint()
Victor Stinner [Tue, 8 Jul 2014 21:58:25 +0000 (23:58 +0200)]
(Merge 3.4) asyncion, Tulip issue 181: BaseEventLoop.create_datagram_endpoint()
now waits until protocol.connection_made() has been called. Document also why
transport constructors use a waiter.

11 years agoasyncion, Tulip issue 181: BaseEventLoop.create_datagram_endpoint() now waits
Victor Stinner [Tue, 8 Jul 2014 21:57:31 +0000 (23:57 +0200)]
asyncion, Tulip issue 181: BaseEventLoop.create_datagram_endpoint() now waits
until protocol.connection_made() has been called. Document also why transport
constructors use a waiter.

11 years ago(Merge 3.4) Issue #21680: Document asyncio event loops
Victor Stinner [Tue, 8 Jul 2014 21:43:11 +0000 (23:43 +0200)]
(Merge 3.4) Issue #21680: Document asyncio event loops

11 years agoIssue #21680: Document asyncio event loops
Victor Stinner [Tue, 8 Jul 2014 21:42:38 +0000 (23:42 +0200)]
Issue #21680: Document asyncio event loops

11 years agoIssue #21907: Make the buildbot clean script always return 0.
Zachary Ware [Tue, 8 Jul 2014 14:41:57 +0000 (09:41 -0500)]
Issue #21907: Make the buildbot clean script always return 0.

The clean script is a "best effort" thing anyway, and this will hopefully
revive the XP buildbot.

11 years agoMerge 3.4
Victor Stinner [Tue, 8 Jul 2014 10:43:24 +0000 (12:43 +0200)]
Merge 3.4

asyncio: sync with Tulip

- Tulip issue 185: Add a create_task() method to event loops. The create_task()
  method can be overriden in custom event loop to implement their own task
  class. For example, greenio and Pulsar projects use their own task class. The
  create_task() method is now preferred over creating directly task using the
  Task class.
- tests: fix a warning
- fix typo in the name of a test function
- Update AbstractEventLoop: add new event loop methods; update also the unit test

Update asyncio documentation

- Document the new create_task() method
- "Hide" the Task class: point to the create_task() method for interoperability
- Rewrite the documentation of the Task class
- Document the "Pending task destroyed"
- Update output in debug mode of examples in the dev section
- Replace Task() with create_task() in examples

11 years agoUpdate asyncio documentation
Victor Stinner [Tue, 8 Jul 2014 10:39:10 +0000 (12:39 +0200)]
Update asyncio documentation

- Document the new create_task() method
- "Hide" the Task class: point to the create_task() method for interoperability
- Rewrite the documentation of the Task class
- Document the "Pending task destroyed"
- Update output in debug mode of examples in the dev section
- Replace Task() with create_task() in examples

11 years agoasyncio: sync with Tulip
Victor Stinner [Tue, 8 Jul 2014 09:29:25 +0000 (11:29 +0200)]
asyncio: sync with Tulip

- Tulip issue 185: Add a create_task() method to event loops. The create_task()
  method can be overriden in custom event loop to implement their own task
  class. For example, greenio and Pulsar projects use their own task class. The
  create_task() method is now preferred over creating directly task using the
  Task class.
- tests: fix a warning
- fix typo in the name of a test function
- Update AbstractEventLoop: add new event loop methods; update also the unit test

11 years agoFix compilation failure (followup to #21803)
Antoine Pitrou [Mon, 7 Jul 2014 23:08:47 +0000 (19:08 -0400)]
Fix compilation failure (followup to #21803)

11 years agoIssue #21803: remove macro indirections in complexobject.h
Antoine Pitrou [Mon, 7 Jul 2014 22:49:30 +0000 (18:49 -0400)]
Issue #21803: remove macro indirections in complexobject.h

11 years ago(Merge 3.4) Issue #11259: asynchat.async_chat().set_terminator() now raises a
Victor Stinner [Mon, 7 Jul 2014 22:34:48 +0000 (00:34 +0200)]
(Merge 3.4) Issue #11259: asynchat.async_chat().set_terminator() now raises a
ValueError if the number of received bytes is negative.

11 years agoIssue #11259: asynchat.async_chat().set_terminator() now raises a ValueError if
Victor Stinner [Mon, 7 Jul 2014 22:26:36 +0000 (00:26 +0200)]
Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError if
the number of received bytes is negative.

11 years ago(Merge 3.4) asynchat: PEP8-ify the code
Victor Stinner [Mon, 7 Jul 2014 22:19:33 +0000 (00:19 +0200)]
(Merge 3.4) asynchat: PEP8-ify the code

11 years agoasynchat: PEP8-ify the code
Victor Stinner [Mon, 7 Jul 2014 22:16:54 +0000 (00:16 +0200)]
asynchat: PEP8-ify the code

11 years ago(Merge 3.4) Issue #12523: asynchat.async_chat.push() now raises a TypeError if
Victor Stinner [Mon, 7 Jul 2014 22:01:28 +0000 (00:01 +0200)]
(Merge 3.4) Issue #12523: asynchat.async_chat.push() now raises a TypeError if
it doesn't get a bytes string

11 years agoIssue #12523: asynchat.async_chat.push() now raises a TypeError if it doesn't
Victor Stinner [Mon, 7 Jul 2014 22:00:30 +0000 (00:00 +0200)]
Issue #12523: asynchat.async_chat.push() now raises a TypeError if it doesn't
get a bytes string

11 years ago(Merge 3.4) Issue #21925: PyImport_Cleanup(): Remove unused parameter in
Victor Stinner [Mon, 7 Jul 2014 21:07:27 +0000 (23:07 +0200)]
(Merge 3.4) Issue #21925: PyImport_Cleanup(): Remove unused parameter in
PySys_FormatStderr() call

11 years agoIssue #21925: PyImport_Cleanup(): Remove unused parameter in
Victor Stinner [Mon, 7 Jul 2014 21:06:15 +0000 (23:06 +0200)]
Issue #21925: PyImport_Cleanup(): Remove unused parameter in
PySys_FormatStderr() call

11 years agoIssue #21907: Exit with the correct return code
Zachary Ware [Mon, 7 Jul 2014 20:07:46 +0000 (15:07 -0500)]
Issue #21907: Exit with the correct return code

11 years ago(Merge 3.4) Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format
Victor Stinner [Mon, 7 Jul 2014 19:52:49 +0000 (21:52 +0200)]
(Merge 3.4) Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format
requires size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".

11 years agoIssue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires
Victor Stinner [Mon, 7 Jul 2014 19:52:29 +0000 (21:52 +0200)]
Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires
size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean".

11 years agoIssue #17846: Merge with 3.4
Zachary Ware [Mon, 7 Jul 2014 19:35:02 +0000 (14:35 -0500)]
Issue #17846: Merge with 3.4

11 years agoIssue #17846: Clarify note about Solution Folders.
Zachary Ware [Mon, 7 Jul 2014 19:33:24 +0000 (14:33 -0500)]
Issue #17846: Clarify note about Solution Folders.

Initial patch by Kathleen Weaver.

11 years agoMerge with 3.4
Zachary Ware [Mon, 7 Jul 2014 19:31:58 +0000 (14:31 -0500)]
Merge with 3.4

11 years agoFix MSVC edition mismatch.
Zachary Ware [Mon, 7 Jul 2014 19:31:34 +0000 (14:31 -0500)]
Fix MSVC edition mismatch.

11 years agoIssue #21907: Improved the batch scripts provided for building Python.
Zachary Ware [Mon, 7 Jul 2014 18:39:59 +0000 (13:39 -0500)]
Issue #21907: Improved the batch scripts provided for building Python.

The user-facing scripts in PCbuild have been updated to be easier to use
and the buildbot scripts in Tools\buildbot have been updated to use the
user-facing scripts in PCbuild wherever possible.

11 years agoIssue #21707: Merge with 3.4.
Berker Peksag [Mon, 7 Jul 2014 18:30:54 +0000 (21:30 +0300)]
Issue #21707: Merge with 3.4.

11 years agoIssue #21707: Fix tests on Windows.
Berker Peksag [Mon, 7 Jul 2014 18:29:50 +0000 (21:29 +0300)]
Issue #21707: Fix tests on Windows.

11 years ago(Merge 3.4) asyncio: sync with Tulip
Victor Stinner [Mon, 7 Jul 2014 16:08:57 +0000 (18:08 +0200)]
(Merge 3.4) asyncio: sync with Tulip

Backout the "Tulip issue 181: Faster create_connection()" changeset, it was a
mistake.

11 years agoasyncio: sync with Tulip
Victor Stinner [Mon, 7 Jul 2014 16:08:22 +0000 (18:08 +0200)]
asyncio: sync with Tulip

Backout the "Tulip issue 181: Faster create_connection()" changeset, it was a
mistake.

11 years ago(Merge 3.4) asyncio: sync with Tulip
Victor Stinner [Mon, 7 Jul 2014 15:27:27 +0000 (17:27 +0200)]
(Merge 3.4) asyncio: sync with Tulip

- Tulip issue #181: Faster create_connection(). Call directly
  waiter.set_result() in the constructor of _ProactorBasePipeTransport and
  _SelectorSocketTransport, instead of using of delaying the call with
  call_soon().
- Cleanup iscoroutine()

11 years agoasyncio: sync with Tulip
Victor Stinner [Mon, 7 Jul 2014 15:26:54 +0000 (17:26 +0200)]
asyncio: sync with Tulip

- Tulip issue #181: Faster create_connection(). Call directly
  waiter.set_result() in the constructor of _ProactorBasePipeTransport and
  _SelectorSocketTransport, instead of using of delaying the call with
  call_soon().
- Cleanup iscoroutine()

11 years agoNull merge
Serhiy Storchaka [Mon, 7 Jul 2014 12:18:52 +0000 (15:18 +0300)]
Null merge

11 years agoMerge heads
Serhiy Storchaka [Mon, 7 Jul 2014 12:18:22 +0000 (15:18 +0300)]
Merge heads

11 years agoMerge heads
Serhiy Storchaka [Mon, 7 Jul 2014 12:11:42 +0000 (15:11 +0300)]
Merge heads

11 years agoIssue #21707: Merge with 3.4.
Berker Peksag [Mon, 7 Jul 2014 11:59:47 +0000 (14:59 +0300)]
Issue #21707: Merge with 3.4.

11 years agoIssue #21707: Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_c...
Berker Peksag [Mon, 7 Jul 2014 11:58:12 +0000 (14:58 +0300)]
Issue #21707: Add missing kwonlyargcount argument to  ModuleFinder.replace_paths_in_code().

11 years agoIssue #21881: Just omit tests for platform-specific NaN representation in test_tcl.
Serhiy Storchaka [Mon, 7 Jul 2014 11:57:57 +0000 (14:57 +0300)]
Issue #21881: Just omit tests for platform-specific NaN representation in test_tcl.

11 years agoIssue #21881: Just omit tests for platform-specific NaN representation in test_tcl.
Serhiy Storchaka [Mon, 7 Jul 2014 11:57:08 +0000 (14:57 +0300)]
Issue #21881: Just omit tests for platform-specific NaN representation in test_tcl.

11 years agoIssue #19593: Use specific asserts in importlib tests.
Serhiy Storchaka [Mon, 7 Jul 2014 11:09:43 +0000 (14:09 +0300)]
Issue #19593: Use specific asserts in importlib tests.

11 years agoIssue #19593: Use specific asserts in importlib tests.
Serhiy Storchaka [Mon, 7 Jul 2014 11:08:19 +0000 (14:08 +0300)]
Issue #19593: Use specific asserts in importlib tests.

11 years agoNull merge
Serhiy Storchaka [Mon, 7 Jul 2014 10:46:38 +0000 (13:46 +0300)]
Null merge

11 years agoMerge heads
Serhiy Storchaka [Mon, 7 Jul 2014 10:46:09 +0000 (13:46 +0300)]
Merge heads

11 years agoIssue #21881: Be more tolerant in test_tcl to not parsable by float() NaN
Serhiy Storchaka [Mon, 7 Jul 2014 10:45:15 +0000 (13:45 +0300)]
Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN
representations (on mips and m68k platforms).

11 years agoIssue #21881: Be more tolerant in test_tcl to not parsable by float() NaN
Serhiy Storchaka [Mon, 7 Jul 2014 10:44:33 +0000 (13:44 +0300)]
Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN
representations (on mips and m68k platforms).

11 years agofor some reason, you don't get the right checksum from an incremental build
Benjamin Peterson [Mon, 7 Jul 2014 05:07:08 +0000 (22:07 -0700)]
for some reason, you don't get the right checksum from an incremental build

11 years agoMerge pathlib fixes
Antoine Pitrou [Mon, 7 Jul 2014 01:38:35 +0000 (21:38 -0400)]
Merge pathlib fixes

11 years agoIssue #20639: calling Path.with_suffix('') allows removing the suffix again.
Antoine Pitrou [Mon, 7 Jul 2014 01:37:15 +0000 (21:37 -0400)]
Issue #20639: calling Path.with_suffix('') allows removing the suffix again.
Patch by July Tikhonov.

11 years agoIssue #21714: Disallow the construction of invalid paths using Path.with_name()....
Antoine Pitrou [Mon, 7 Jul 2014 01:31:12 +0000 (21:31 -0400)]
Issue #21714: Disallow the construction of invalid paths using Path.with_name().  Original patch by Antony Lee.

11 years agoIssue #21923: merge from 3.4
Ned Deily [Sun, 6 Jul 2014 23:17:45 +0000 (16:17 -0700)]
Issue #21923: merge from 3.4

11 years agoIssue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
Ned Deily [Sun, 6 Jul 2014 23:14:33 +0000 (16:14 -0700)]
Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.  Original patch by Alex Gaynor.

11 years agoupgrade to unicode 7.0.0
Benjamin Peterson [Sun, 6 Jul 2014 20:04:20 +0000 (13:04 -0700)]
upgrade to unicode 7.0.0

11 years ago#20135: merge with 3.4.
Ezio Melotti [Sun, 6 Jul 2014 17:59:19 +0000 (20:59 +0300)]
#20135: merge with 3.4.

11 years ago#20135: move FAQ about mutable default arguments to the programming FAQs page.
Ezio Melotti [Sun, 6 Jul 2014 17:53:27 +0000 (20:53 +0300)]
#20135: move FAQ about mutable default arguments to the programming FAQs page.

11 years agoIssue #9554: Use modern unittest features in test_argparse.
Berker Peksag [Sun, 6 Jul 2014 06:33:20 +0000 (09:33 +0300)]
Issue #9554: Use modern unittest features in test_argparse.

Initial patch by Denver Coneybeare and Radu Voicilas.

11 years ago(Merge 3.4) Closes #21921: Fix ResourceWarning in the asyncio examples: close
Victor Stinner [Sat, 5 Jul 2014 13:41:18 +0000 (15:41 +0200)]
(Merge 3.4) Closes #21921: Fix ResourceWarning in the asyncio examples: close
the event loop at exit. Patch written by Vajrasky Kok (I modified also the
"hello world" example using a coroutine).

11 years agoCloses #21921: Fix ResourceWarning in the asyncio examples: close the event
Victor Stinner [Sat, 5 Jul 2014 13:38:59 +0000 (15:38 +0200)]
Closes #21921: Fix ResourceWarning in the asyncio examples: close the event
loop at exit. Patch written by Vajrasky Kok (I modified also the "hello world"
example using a coroutine).

11 years ago(Merge 3.4) Closes #21886, #21447: Fix a race condition in asyncio when setting
Victor Stinner [Sat, 5 Jul 2014 13:30:42 +0000 (15:30 +0200)]
(Merge 3.4) Closes #21886, #21447: Fix a race condition in asyncio when setting
the result of a Future with call_soon(). Add an helper, a private method, to
set the result only if the future was not cancelled.

11 years agoCloses #21886, #21447: Fix a race condition in asyncio when setting the result
Victor Stinner [Sat, 5 Jul 2014 13:29:41 +0000 (15:29 +0200)]
Closes #21886, #21447: Fix a race condition in asyncio when setting the result
of a Future with call_soon(). Add an helper, a private method, to set the
result only if the future was not cancelled.

11 years agoIssue #21920: Merge from 3.4.
Berker Peksag [Sat, 5 Jul 2014 08:11:09 +0000 (11:11 +0300)]
Issue #21920: Merge from 3.4.

11 years agoIssue #21920: Add a missing colon to the __main__ doc.
Berker Peksag [Sat, 5 Jul 2014 08:10:16 +0000 (11:10 +0300)]
Issue #21920: Add a missing colon to the __main__ doc.

Patch by Stefan Tatschner.

11 years agoIssue #21897: Fix a crash with the f_locals attribute with closure variables when...
Antoine Pitrou [Sat, 5 Jul 2014 00:26:22 +0000 (20:26 -0400)]
Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.

11 years agoIssue #21897: Fix a crash with the f_locals attribute with closure variables when...
Antoine Pitrou [Sat, 5 Jul 2014 00:24:13 +0000 (20:24 -0400)]
Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.

11 years agomerge 3.4
Benjamin Peterson [Sat, 5 Jul 2014 00:17:57 +0000 (17:17 -0700)]
merge 3.4

11 years agoproperly decref the return value of close()
Benjamin Peterson [Sat, 5 Jul 2014 00:00:25 +0000 (17:00 -0700)]
properly decref the return value of close()

11 years agoproperly decref the return value of close()
Benjamin Peterson [Sat, 5 Jul 2014 00:00:25 +0000 (17:00 -0700)]
properly decref the return value of close()

11 years ago(Merge 3.4) Issue #21892, #21893: Partial revert of changeset 4f55e802baf0,
Victor Stinner [Fri, 4 Jul 2014 20:50:13 +0000 (22:50 +0200)]
(Merge 3.4) Issue #21892, #21893: Partial revert of changeset 4f55e802baf0,
PyErr_Format() uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T

11 years agoIssue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format()
Victor Stinner [Fri, 4 Jul 2014 20:47:46 +0000 (22:47 +0200)]
Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format()
uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T

11 years agoMerge from 3.4.
Berker Peksag [Fri, 4 Jul 2014 12:07:31 +0000 (15:07 +0300)]
Merge from 3.4.

11 years agoAdd an index entry for exec() builtin.
Berker Peksag [Fri, 4 Jul 2014 12:06:45 +0000 (15:06 +0300)]
Add an index entry for exec() builtin.

Reported by Draic Kin on docs@.

11 years ago#15014: Add 'auth' command to implement auth mechanisms and use it in login.
R David Murray [Thu, 3 Jul 2014 18:47:46 +0000 (14:47 -0400)]
#15014: Add 'auth' command to implement auth mechanisms and use it in login.

Patch by Milan Oberkirch.

11 years agoCloses #21151: Merge with 3.4
Zachary Ware [Thu, 3 Jul 2014 16:03:46 +0000 (11:03 -0500)]
Closes #21151: Merge with 3.4

11 years agoIssue #21151: Fixed a segfault in the winreg module.
Zachary Ware [Thu, 3 Jul 2014 15:58:06 +0000 (10:58 -0500)]
Issue #21151: Fixed a segfault in the winreg module.

When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer.  Patch by John Ehresman.

(Also an incidental typo fix in a comment in test_winreg)

11 years agoMerge 3.4
Andrew Svetlov [Thu, 3 Jul 2014 13:07:57 +0000 (16:07 +0300)]
Merge 3.4

11 years agoUpdate docs about tp_richcompare
Andrew Svetlov [Thu, 3 Jul 2014 13:07:17 +0000 (16:07 +0300)]
Update docs about tp_richcompare

11 years agoIssue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests when
Berker Peksag [Thu, 3 Jul 2014 03:25:10 +0000 (06:25 +0300)]
Issue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests when
Python is built without threads.

11 years agomerge
Raymond Hettinger [Wed, 2 Jul 2014 23:31:54 +0000 (00:31 +0100)]
merge

11 years agoFix guidance for subclassing collections.Set()
Raymond Hettinger [Wed, 2 Jul 2014 23:31:30 +0000 (00:31 +0100)]
Fix guidance for subclassing collections.Set()

11 years ago(Merge 3.4) asyncio: sync with Tulip
Victor Stinner [Wed, 2 Jul 2014 22:59:28 +0000 (00:59 +0200)]
(Merge 3.4) asyncio: sync with Tulip

* _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode,
  not in read mode
* Examples: close the event loop at exit
* More reliable CoroWrapper.__del__. If the constructor is interrupted by
  KeyboardInterrupt or the coroutine objet is destroyed lately, some the
  _source_traceback attribute doesn't exist anymore.
* repr(Task): include also the future the task is waiting for

11 years agoasyncio: sync with Tulip
Victor Stinner [Wed, 2 Jul 2014 22:59:00 +0000 (00:59 +0200)]
asyncio: sync with Tulip

* _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode,
  not in read mode
* Examples: close the event loop at exit
* More reliable CoroWrapper.__del__. If the constructor is interrupted by
  KeyboardInterrupt or the coroutine objet is destroyed lately, some the
  _source_traceback attribute doesn't exist anymore.
* repr(Task): include also the future the task is waiting for

11 years ago(Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errors
Victor Stinner [Wed, 2 Jul 2014 21:00:38 +0000 (23:00 +0200)]
(Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errors
anymore. Before, it ignored I/O errors if at least the first C call read()
succeed.

11 years agoIssue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,
Victor Stinner [Wed, 2 Jul 2014 20:59:31 +0000 (22:59 +0200)]
Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,
it ignored I/O errors if at least the first C call read() succeed.

11 years agoNormalize style per PEP-8
Jason R. Coombs [Wed, 2 Jul 2014 12:36:19 +0000 (08:36 -0400)]
Normalize style per PEP-8

11 years agoIssue #5800: headers parameter of wsgiref.headers.Headers is now optional.
Berker Peksag [Wed, 2 Jul 2014 05:37:22 +0000 (08:37 +0300)]
Issue #5800: headers parameter of wsgiref.headers.Headers is now optional.

Patch by Pablo Torres Navarrete and SilentGhost.

11 years agoMerge 3.4
Andrew Svetlov [Wed, 2 Jul 2014 04:21:31 +0000 (07:21 +0300)]
Merge 3.4

11 years agoUse try-finally idiom in example for locks in multiprocessing
Andrew Svetlov [Wed, 2 Jul 2014 04:21:03 +0000 (07:21 +0300)]
Use try-finally idiom in example for locks in multiprocessing

11 years agoMerge with 3.4
Terry Jan Reedy [Wed, 2 Jul 2014 01:33:46 +0000 (21:33 -0400)]
Merge with 3.4

11 years agoMore idlelib cleanup inspired by pyflakes.
Terry Jan Reedy [Wed, 2 Jul 2014 01:33:31 +0000 (21:33 -0400)]
More idlelib cleanup inspired by pyflakes.

11 years agoIssue #18258: Fix test discovery for test_codecmaps_*.
Zachary Ware [Wed, 2 Jul 2014 01:06:19 +0000 (20:06 -0500)]
Issue #18258: Fix test discovery for test_codecmaps_*.

11 years agoIssue #18258: Fix test discovery for test_codecmaps_*.
Zachary Ware [Wed, 2 Jul 2014 00:55:04 +0000 (19:55 -0500)]
Issue #18258: Fix test discovery for test_codecmaps_*.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 1 Jul 2014 22:52:53 +0000 (18:52 -0400)]
Merge with 3.4

11 years agoDelete a few unused names suggested by pyflakes.
Terry Jan Reedy [Tue, 1 Jul 2014 22:52:37 +0000 (18:52 -0400)]
Delete a few unused names suggested by pyflakes.

11 years ago(Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing
Victor Stinner [Tue, 1 Jul 2014 14:48:42 +0000 (16:48 +0200)]
(Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing
parameters

11 years agoIssue #8677: make the zlib module "ssize_t clean" for parsing parameters
Victor Stinner [Tue, 1 Jul 2014 14:48:12 +0000 (16:48 +0200)]
Issue #8677: make the zlib module "ssize_t clean" for parsing parameters

11 years ago(Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" for
Victor Stinner [Tue, 1 Jul 2014 14:46:12 +0000 (16:46 +0200)]
(Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" for
parsing parameters