]> granicus.if.org Git - python/log
python
10 years agoIssue #21157: Touch up imp docs to be more explicit about importlib
Brett Cannon [Fri, 9 May 2014 14:37:31 +0000 (10:37 -0400)]
Issue #21157: Touch up imp docs to be more explicit about importlib
alternatives.

10 years agoIssue #21435: Segfault in gc with cyclic trash
Tim Peters [Thu, 8 May 2014 22:42:19 +0000 (17:42 -0500)]
Issue #21435: Segfault in gc with cyclic trash
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.

10 years agoIssue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on...
Antoine Pitrou [Thu, 8 May 2014 22:24:50 +0000 (00:24 +0200)]
Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.

Patch by akira.

10 years ago#21300: fix typo
R David Murray [Thu, 8 May 2014 14:05:47 +0000 (10:05 -0400)]
#21300: fix typo

10 years agoMerging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
Kristján Valur Jónsson [Thu, 8 May 2014 10:59:52 +0000 (10:59 +0000)]
Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737

10 years agoThe PyCOND_TIMEDWAIT must use microseconds for the timeout argument
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737

10 years ago- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 10:57:44 +0000 (12:57 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.

10 years ago- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 02:44:42 +0000 (04:44 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.

10 years ago#21300: Clean up the docs for the email "policy" arguments.
R David Murray [Wed, 7 May 2014 01:33:18 +0000 (21:33 -0400)]
#21300: Clean up the docs for the email "policy" arguments.

10 years agoasyncio: Fix the second half of issue #21447: race in _write_to_self().
Guido van Rossum [Tue, 6 May 2014 21:42:40 +0000 (14:42 -0700)]
asyncio: Fix the second half of issue #21447: race in _write_to_self().

10 years agoAdd prompts to interactive example.
Zachary Ware [Tue, 6 May 2014 14:18:17 +0000 (09:18 -0500)]
Add prompts to interactive example.

This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.

10 years agoIssue #21366: Document the fact that ``return`` in a ``finally`` clause
Zachary Ware [Tue, 6 May 2014 14:07:13 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.

10 years agoasyncio docs: ProactorEventLoop does not support SSL.
Guido van Rossum [Mon, 5 May 2014 14:34:56 +0000 (07:34 -0700)]
asyncio docs: ProactorEventLoop does not support SSL.

10 years agoIssue #21088: Bugfix for curses.window.addch() regression in 3.4.0.
Larry Hastings [Sun, 4 May 2014 11:41:18 +0000 (04:41 -0700)]
Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.
In porting to Argument Clinic, the first two arguments were reversed.

10 years agoIssue #18604: Skip the Tk instantiation test on OS X because it can
Ned Deily [Sun, 4 May 2014 02:24:05 +0000 (19:24 -0700)]
Issue #18604: Skip the Tk instantiation test on OS X because it can
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).

10 years agouse with blocks to make sure files are closed
Benjamin Peterson [Sun, 4 May 2014 00:18:50 +0000 (20:18 -0400)]
use with blocks to make sure files are closed

10 years agoimprove test coverage of filecmp (closes #21357)
Benjamin Peterson [Sun, 4 May 2014 00:07:16 +0000 (20:07 -0400)]
improve test coverage of filecmp (closes #21357)

Patch by Diana Clarke.

10 years agoIssue 21375: Fix possible Py_ssizet overflow in heapq.
Raymond Hettinger [Sat, 3 May 2014 22:22:07 +0000 (15:22 -0700)]
Issue 21375:  Fix possible Py_ssizet overflow in heapq.

10 years agoIssue #18604: Consolidated checks for GUI availability.
Zachary Ware [Fri, 2 May 2014 15:51:07 +0000 (10:51 -0500)]
Issue #18604: Consolidated checks for GUI availability.

test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability.  Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).

10 years agoUpdate to 1.0.1g
Martin v. Löwis [Thu, 1 May 2014 12:28:48 +0000 (14:28 +0200)]
Update to 1.0.1g

10 years agoDocument the subprocess Popen.args attribute (issue21353)
Gregory P. Smith [Tue, 29 Apr 2014 18:33:56 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)

10 years agoDocument the subprocess Popen.args attribute (issue21353)
Gregory P. Smith [Tue, 29 Apr 2014 18:33:23 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)

10 years agoIssue #21374: Fix pickling of DecimalTuple.
Stefan Krah [Tue, 29 Apr 2014 16:24:50 +0000 (18:24 +0200)]
Issue #21374: Fix pickling of DecimalTuple.

10 years agoCloses issue #21316: mark test_devpoll to be meaningfull only for Solaris
Jesus Cea [Tue, 29 Apr 2014 16:18:37 +0000 (18:18 +0200)]
Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris

10 years agoIssue #17386: Expand Doc/make.bat to be much more similar to Doc/Makefile
Zachary Ware [Tue, 29 Apr 2014 14:45:33 +0000 (09:45 -0500)]
Issue #17386: Expand Doc/make.bat to be much more similar to Doc/Makefile

10 years agoIssue #17386: Update Doc/README.txt to list all targets
Zachary Ware [Tue, 29 Apr 2014 14:26:56 +0000 (09:26 -0500)]
Issue #17386: Update Doc/README.txt to list all targets
supported by Doc/Makefile, as well as a bit of modernization,
cleanup, and notes about the difference between Unix and Windows.

10 years agoIssue #17386: List the 'htmlview' target in the Doc/Makefile help output.
Zachary Ware [Tue, 29 Apr 2014 14:24:40 +0000 (09:24 -0500)]
Issue #17386: List the 'htmlview' target in the Doc/Makefile help output.

10 years agoIssue #21321: itertools.islice() now releases the reference to the source iterator...
Antoine Pitrou [Tue, 29 Apr 2014 10:13:46 +0000 (12:13 +0200)]
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.

Patch by Anton Afanasyev.

10 years agoIssue #21055: Index (augmented) assignment symbols.
Terry Jan Reedy [Tue, 29 Apr 2014 05:19:17 +0000 (01:19 -0400)]
Issue #21055: Index (augmented) assignment symbols.

10 years agoCloses 21048: Index 'as' in import and with statements.
Terry Jan Reedy [Tue, 29 Apr 2014 04:58:56 +0000 (00:58 -0400)]
Closes 21048: Index 'as' in import and with statements.

10 years agoIssue #21026: Augment site doc based on experiments. Patch by Carol Willing.
Terry Jan Reedy [Tue, 29 Apr 2014 04:31:53 +0000 (00:31 -0400)]
Issue #21026: Augment site doc based on experiments. Patch by Carol Willing.

10 years agoIssue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V....
Antoine Pitrou [Mon, 28 Apr 2014 23:39:03 +0000 (01:39 +0200)]
Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags.  Patch by Yury V. Zaytsev.

10 years agoIssue #9815: assertRaises now tries to clear references to local variables in the...
Antoine Pitrou [Mon, 28 Apr 2014 23:23:50 +0000 (01:23 +0200)]
Issue #9815: assertRaises now tries to clear references to local variables in the exception's traceback.

10 years agoIssue #13204: Calling sys.flags.__new__ would crash the interpreter, now it raises...
Antoine Pitrou [Mon, 28 Apr 2014 11:07:06 +0000 (13:07 +0200)]
Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.

10 years agoasyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.
Guido van Rossum [Sun, 27 Apr 2014 17:44:22 +0000 (10:44 -0700)]
asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.

10 years agoasyncio: Be careful accessing instance variables in __del__ (closes #21340).
Guido van Rossum [Sun, 27 Apr 2014 17:33:58 +0000 (10:33 -0700)]
asyncio: Be careful accessing instance variables in __del__ (closes #21340).

10 years ago#18243: Remove obsolete cautionary note from email mktime_tz docs.
R David Murray [Sat, 26 Apr 2014 23:01:18 +0000 (19:01 -0400)]
#18243: Remove obsolete cautionary note from email mktime_tz docs.

10 years agomake operations on closed dumb databases raise a consistent exception (closes #19385)
Benjamin Peterson [Sat, 26 Apr 2014 20:56:52 +0000 (16:56 -0400)]
make operations on closed dumb databases raise a consistent exception (closes #19385)

Patch by Claudiu Popa.

10 years agoshallow defaults to 'True' not '1' (closes #21355)
Benjamin Peterson [Sat, 26 Apr 2014 17:36:21 +0000 (13:36 -0400)]
shallow defaults to 'True' not '1' (closes #21355)

Patch by Diana Clarke.

10 years agoIssue #21207: Detect when the os.urandom cached fd has been closed or replaced, and...
Antoine Pitrou [Sat, 26 Apr 2014 12:33:03 +0000 (14:33 +0200)]
Issue #21207: Detect when the os.urandom cached fd has been closed or replaced, and open it anew.

10 years ago#21225: copy docstrings from base classes
Andrew Kuchling [Fri, 25 Apr 2014 13:29:30 +0000 (09:29 -0400)]
#21225: copy docstrings from base classes

10 years agoIssue #21346: Fix typo, make message consistent in test_itertools.
Zachary Ware [Thu, 24 Apr 2014 18:22:05 +0000 (13:22 -0500)]
Issue #21346: Fix typo, make message consistent in test_itertools.

Pointed out by Brian Kearns.

10 years ago"Escape" a character in the middle of "warning"
Zachary Ware [Wed, 23 Apr 2014 17:09:54 +0000 (12:09 -0500)]
"Escape" a character in the middle of "warning"

This should stop Buildbot from falsely reporting a warning on Windows bots.

10 years agofix the test on windows which has different return codes from killed
Gregory P. Smith [Wed, 23 Apr 2014 15:38:36 +0000 (08:38 -0700)]
fix the test on windows which has different return codes from killed
children.

10 years agoPrevent Sphinx error on whatsnew/changelog
Zachary Ware [Wed, 23 Apr 2014 15:04:20 +0000 (10:04 -0500)]
Prevent Sphinx error on whatsnew/changelog

10 years agosubprocess's Popen.wait() is now thread safe so that multiple threads
Gregory P. Smith [Wed, 23 Apr 2014 07:27:17 +0000 (00:27 -0700)]
subprocess's Popen.wait() is now thread safe so that multiple threads
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value.  Fixes issue #21291.

10 years agofix off-by-one error (closes #21330)
Benjamin Peterson [Wed, 23 Apr 2014 01:54:10 +0000 (21:54 -0400)]
fix off-by-one error (closes #21330)

10 years agoIssue #21127: Path objects can now be instantiated from str subclass instances (such...
Antoine Pitrou [Tue, 22 Apr 2014 22:34:15 +0000 (00:34 +0200)]
Issue #21127: Path objects can now be instantiated from str subclass instances (such as numpy.str_).

Thanks to Antony Lee for the report and preliminary patch.

10 years agoIssue #21138: Change default reformat paragraph width to PEP 8's 72.
Terry Jan Reedy [Tue, 22 Apr 2014 05:26:41 +0000 (01:26 -0400)]
Issue #21138: Change default reformat paragraph width to PEP 8's 72.

10 years agoIssue 21284: Idle: make test_formatparagraph pass even when a user changes the
Terry Jan Reedy [Tue, 22 Apr 2014 05:11:03 +0000 (01:11 -0400)]
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
reformat width in the configuration menu.

10 years agoNEWS entry for #15002
Senthil Kumaran [Sun, 20 Apr 2014 16:44:11 +0000 (09:44 -0700)]
NEWS entry for #15002

10 years agourllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)
Senthil Kumaran [Sun, 20 Apr 2014 16:41:29 +0000 (09:41 -0700)]
urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)
facility. Provides a better way to handle file descriptor close.

Address issue #15002 . Patch contributed by Christian Theune.

10 years ago#12220: improve minidom error when URI contains spaces.
R David Murray [Sun, 20 Apr 2014 04:46:05 +0000 (00:46 -0400)]
#12220: improve minidom error when URI contains spaces.

Fix by 'amathew', test by Marek Stepniowski.

10 years agoIssue #11571: Ensure that the turtle window becomes the topmost window
Ned Deily [Sun, 20 Apr 2014 02:11:14 +0000 (19:11 -0700)]
Issue #11571: Ensure that the turtle window becomes the topmost window
when launched on OS X.  (Original patch by Ronald Oussoren)

10 years agoIssue #21311: Avoid exception in _osx_support with non-standard compiler
Ned Deily [Sat, 19 Apr 2014 20:25:29 +0000 (13:25 -0700)]
Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations.  Patch by John Szakmeister.

10 years ago#9364: Improve the text printed by help(pydoc) and help(help).
R David Murray [Sat, 19 Apr 2014 16:59:30 +0000 (12:59 -0400)]
#9364: Improve the text printed by help(pydoc) and help(help).

10 years agoIssue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.
Eric Snow [Sat, 19 Apr 2014 06:13:23 +0000 (00:13 -0600)]
Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.

10 years agoIssue #21232: Replace .splitlines arg '1' with 'keepends=True'.
Terry Jan Reedy [Fri, 18 Apr 2014 21:00:19 +0000 (17:00 -0400)]
Issue #21232: Replace .splitlines arg '1' with 'keepends=True'.

10 years agoIssue #21289: Fix documentation building on Windows using Doc/make.bat.
Zachary Ware [Fri, 18 Apr 2014 20:10:40 +0000 (15:10 -0500)]
Issue #21289: Fix documentation building on Windows using Doc/make.bat.

Also fixes a long-standing typo in Doc/README.txt.

Initial patch by Dave Sawyer.

10 years agoNEWS for latest asyncio commit.
Guido van Rossum [Fri, 18 Apr 2014 16:21:26 +0000 (09:21 -0700)]
NEWS for latest asyncio commit.

10 years agoasyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).
Guido van Rossum [Tue, 15 Apr 2014 19:06:34 +0000 (12:06 -0700)]
asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).

10 years agoFix a typo in the docstring of nb_index.
Zachary Ware [Fri, 18 Apr 2014 14:23:14 +0000 (09:23 -0500)]
Fix a typo in the docstring of nb_index.

10 years agoFix a typo in the signature for object.__ge__
Zachary Ware [Fri, 18 Apr 2014 14:14:31 +0000 (09:14 -0500)]
Fix a typo in the signature for object.__ge__

10 years agocorrect len signature in docstring (closes #21294)
Benjamin Peterson [Fri, 18 Apr 2014 05:03:59 +0000 (01:03 -0400)]
correct len signature in docstring (closes #21294)

10 years agofix ref count annotations on sphinx >= 1.2.1 (closes #21286)
Benjamin Peterson [Thu, 17 Apr 2014 22:29:01 +0000 (18:29 -0400)]
fix ref count annotations on sphinx >= 1.2.1 (closes #21286)

10 years ago- Issue #21285: Refactor and fix curses configure check to always search
doko@ubuntu.com [Thu, 17 Apr 2014 18:13:44 +0000 (20:13 +0200)]
- Issue #21285: Refactor and fix curses configure check to always search
  in a ncursesw directory.

10 years agoFixes for KFreeBSD and the Hurd:
doko@ubuntu.com [Thu, 17 Apr 2014 17:47:16 +0000 (19:47 +0200)]
Fixes for KFreeBSD and the Hurd:

- Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.

- Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.

- Issue #21275: Fix a socket test on KFreeBSD.

10 years ago- Issue #15234: For BerkelyDB and Sqlite, only add the found library and
doko@ubuntu.com [Thu, 17 Apr 2014 15:52:48 +0000 (17:52 +0200)]
- Issue #15234: For BerkelyDB and Sqlite, only add the found library and
  include directories if they aren't already being searched. This avoids
  an explicit runtime library dependency.

10 years agoClarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248
Senthil Kumaran [Thu, 17 Apr 2014 03:43:34 +0000 (23:43 -0400)]
Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248

10 years agoCorrect the URL in the http.client example. Noted by Evens Fortuné. Closes #21229
Senthil Kumaran [Thu, 17 Apr 2014 03:33:02 +0000 (23:33 -0400)]
Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229

10 years ago#18628: clarify index entry for source file encoding declaration.
R David Murray [Thu, 17 Apr 2014 01:48:04 +0000 (21:48 -0400)]
#18628: clarify index entry for source file encoding declaration.

Patch by Sam Lucidi.

10 years agoremove superfluous and useless line
Benjamin Peterson [Wed, 16 Apr 2014 20:16:37 +0000 (16:16 -0400)]
remove superfluous and useless line

10 years agouse the called property of the run_pip mock rather than an assertion method that...
Benjamin Peterson [Wed, 16 Apr 2014 20:06:39 +0000 (16:06 -0400)]
use the called property of the run_pip mock rather than an assertion method that doesn't exist

10 years agoAddress issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute...
Senthil Kumaran [Wed, 16 Apr 2014 17:56:19 +0000 (13:56 -0400)]
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.

Initial patch by Caelyn McAulay.

10 years agoTry to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue #21015
Antoine Pitrou [Wed, 16 Apr 2014 16:33:39 +0000 (18:33 +0200)]
Try to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue #21015

10 years ago#18566: Whitespace
Terry Jan Reedy [Wed, 16 Apr 2014 03:44:14 +0000 (23:44 -0400)]
#18566: Whitespace

10 years agoIssue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
Terry Jan Reedy [Wed, 16 Apr 2014 03:38:18 +0000 (23:38 -0400)]
Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.

10 years ago#1704474: mark refleak test as specific to CPython
Andrew Kuchling [Tue, 15 Apr 2014 20:44:43 +0000 (16:44 -0400)]
#1704474: mark refleak test as specific to CPython

Patch by Christian Hudon.

10 years ago#15840: make docs consistent by saying operations on closed files raise ValueError.
Andrew Kuchling [Wed, 16 Apr 2014 01:11:36 +0000 (21:11 -0400)]
#15840: make docs consistent by saying operations on closed files raise ValueError.

Patch by Caelyn McAulay.

Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementations have a macro to check for the stream being closed, and
these macros all raised ValueError.  If we find any, a new bug should
be opened.

10 years ago#20874: reflow paragraph.
R David Murray [Wed, 16 Apr 2014 00:26:54 +0000 (20:26 -0400)]
#20874: reflow paragraph.

10 years ago#20874: update tutorial wording: sophisticated line editing is now standard.
R David Murray [Wed, 16 Apr 2014 00:25:18 +0000 (20:25 -0400)]
#20874: update tutorial wording: sophisticated line editing is now standard.

Patch by Rafael Mejia.

10 years agoIssue #21245: updated documentation on exception() method and function.
Vinay Sajip [Tue, 15 Apr 2014 22:13:12 +0000 (23:13 +0100)]
Issue #21245: updated documentation on exception() method and function.

10 years agoCloses issue 21239. unittest.mock.patch.stopall() did not work deterministically...
Michael Foord [Tue, 15 Apr 2014 21:21:08 +0000 (17:21 -0400)]
Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.

10 years agoRun test_urllib2_localnet tests using unittest.main().
Senthil Kumaran [Tue, 15 Apr 2014 20:36:43 +0000 (16:36 -0400)]
Run test_urllib2_localnet tests using unittest.main().

Capture threads in the setUpModule and cleanup threads in the tearDownModule.

10 years agoCloses Issue 21222.
Kushal Das [Tue, 15 Apr 2014 19:35:50 +0000 (01:05 +0530)]
Closes Issue 21222.

Passing name keyword argument to mock.create_autospec now works.

10 years ago- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
doko@ubuntu.com [Tue, 15 Apr 2014 18:37:54 +0000 (20:37 +0200)]
- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
  are built as builtins.

10 years agoasyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly
Yury Selivanov [Tue, 15 Apr 2014 16:01:16 +0000 (12:01 -0400)]
asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly

Issue #21209.

10 years agoReverted 16efa8d27e4c after discussion with Eric.
Vinay Sajip [Tue, 15 Apr 2014 12:52:21 +0000 (13:52 +0100)]
Reverted 16efa8d27e4c after discussion with Eric.

10 years agoIssue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
Vinay Sajip [Tue, 15 Apr 2014 10:18:10 +0000 (11:18 +0100)]
Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.

10 years agoClosed issue #8931: Make alternate formatting for 'c' raise an exception. Patch by...
Eric V. Smith [Tue, 15 Apr 2014 07:05:02 +0000 (03:05 -0400)]
Closed issue #8931: Make alternate formatting for 'c' raise an exception. Patch by Torsten Landschoff.

10 years agomisc.news: Remove whitespace
Yury Selivanov [Tue, 15 Apr 2014 02:22:36 +0000 (22:22 -0400)]
misc.news: Remove whitespace

10 years agoasyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1
Yury Selivanov [Tue, 15 Apr 2014 02:21:52 +0000 (22:21 -0400)]
asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1

Closes issue #21209.

10 years agoInvoke test_urllibnet tests using unittest.main function
Senthil Kumaran [Tue, 15 Apr 2014 01:31:41 +0000 (21:31 -0400)]
Invoke test_urllibnet tests using unittest.main function

10 years ago#15104: add backtick code markup.
R David Murray [Mon, 14 Apr 2014 22:53:51 +0000 (18:53 -0400)]
#15104: add backtick code markup.

10 years ago#17498: Defer SMTPServerDisconnected errors until the next command.
R David Murray [Mon, 14 Apr 2014 22:21:38 +0000 (18:21 -0400)]
#17498: Defer SMTPServerDisconnected errors until the next command.

Normally an SMTP server will return an error, and smtplib will then issue an
RSET to return the connection to the known starting state.  Some servers,
however, disconnect after issuing certain errors.  When we issue the RSET,
this would result in raising an SMTPServerDisconnected error, *instead* of
returning the error code the user of the library was expecting.  This fix
makes the internal RSET calls ignore the disconnection so that the error code
is returned.  The user of the library will then get the SMTPServerDisconnected
error the next time they try to talk to the server.

Patch by Kushal Das.

10 years agomerge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:48:39 +0000 (16:48 -0400)]
merge heads

10 years agoIssue #13598: Added acknowledgements to Misc/NEWS.
Eric V. Smith [Mon, 14 Apr 2014 20:46:52 +0000 (16:46 -0400)]
Issue #13598: Added acknowledgements to Misc/NEWS.

10 years agomerge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:45:49 +0000 (16:45 -0400)]
merge heads

10 years agomerge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:43:58 +0000 (16:43 -0400)]
merge heads

10 years agoIssue #13598: Add auto-numbering of replacement fields to string.Formatter.
Eric V. Smith [Mon, 14 Apr 2014 20:43:50 +0000 (16:43 -0400)]
Issue #13598: Add auto-numbering of replacement fields to string.Formatter.