]> granicus.if.org Git - python/log
python
11 years agoBacked out changeset: 17df50df62c7
Tim Golden [Sun, 27 Apr 2014 17:35:36 +0000 (18:35 +0100)]
Backed out changeset: 17df50df62c7

11 years agoIssue #18314 Add NEWS item.
Tim Golden [Sun, 27 Apr 2014 17:02:35 +0000 (18:02 +0100)]
Issue #18314 Add NEWS item.

11 years agoIssue #18314 os.unlink will now remove junction points on Windows. Patch by Kim Gräsman.
Tim Golden [Sun, 27 Apr 2014 17:00:10 +0000 (18:00 +0100)]
Issue #18314 os.unlink will now remove junction points on Windows. Patch by Kim Gräsman.

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

11 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.

11 years agomerge 3.4 (#19385)
Benjamin Peterson [Sat, 26 Apr 2014 20:57:11 +0000 (16:57 -0400)]
merge 3.4 (#19385)

11 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.

11 years agomerge 3.4 (#21355)
Benjamin Peterson [Sat, 26 Apr 2014 17:36:35 +0000 (13:36 -0400)]
merge 3.4 (#21355)

11 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.

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

11 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.

11 years agoMerge from 3.4
Andrew Kuchling [Fri, 25 Apr 2014 13:35:26 +0000 (09:35 -0400)]
Merge from 3.4

11 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

11 years agosprinkle some _PyId goodness around moduleobject.c
Benjamin Peterson [Thu, 24 Apr 2014 23:39:18 +0000 (19:39 -0400)]
sprinkle some _PyId goodness around moduleobject.c

11 years agodo not override errors from descriptors on modules
Benjamin Peterson [Thu, 24 Apr 2014 23:29:23 +0000 (19:29 -0400)]
do not override errors from descriptors on modules

11 years agoIssue8297: module attribute lookup failures now include module name in error message.
Ethan Furman [Thu, 24 Apr 2014 21:47:47 +0000 (14:47 -0700)]
Issue8297: module attribute lookup failures now include module name in error message.

11 years agoCloses #21346: Merge with 3.4
Zachary Ware [Thu, 24 Apr 2014 18:22:47 +0000 (13:22 -0500)]
Closes #21346: Merge with 3.4

11 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.

11 years agoupdate os.sendfile() doc signaling that cross-platform apps should not use headers...
Giampaolo Rodola' [Thu, 24 Apr 2014 16:09:21 +0000 (18:09 +0200)]
update os.sendfile() doc signaling that cross-platform apps should not use headers, trailers and flags arguments

11 years agoIssue #9765: Adjust where Tools/msi/msi.py looks for Tcl/Tk license terms.
Zachary Ware [Wed, 23 Apr 2014 20:37:37 +0000 (15:37 -0500)]
Issue #9765: Adjust where Tools/msi/msi.py looks for Tcl/Tk license terms.
Patch by Daniel Stutzbach.

11 years agoFix compiler warning on Windows
Zachary Ware [Wed, 23 Apr 2014 18:51:27 +0000 (13:51 -0500)]
Fix compiler warning on Windows

..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value

11 years agoNull merge
Zachary Ware [Wed, 23 Apr 2014 17:17:25 +0000 (12:17 -0500)]
Null merge

11 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.

11 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.

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

11 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.

11 years agoMerge from 3.4
Zachary Ware [Wed, 23 Apr 2014 15:04:55 +0000 (10:04 -0500)]
Merge from 3.4

11 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

11 years agoAdd implementation notes
Raymond Hettinger [Wed, 23 Apr 2014 07:58:48 +0000 (00:58 -0700)]
Add implementation notes

11 years agosubprocess's Popen.wait() is now thread safe so that multiple threads
Gregory P. Smith [Wed, 23 Apr 2014 07:38:22 +0000 (00:38 -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.

11 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.

11 years agomerge 3.4 (#21330)
Benjamin Peterson [Wed, 23 Apr 2014 01:55:07 +0000 (21:55 -0400)]
merge 3.4 (#21330)

11 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)

11 years agoIssue #21127: Path objects can now be instantiated from str subclass instances (such...
Antoine Pitrou [Tue, 22 Apr 2014 22:34:51 +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.

11 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.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 22 Apr 2014 05:27:06 +0000 (01:27 -0400)]
Merge with 3.4

11 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.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 22 Apr 2014 05:11:49 +0000 (01:11 -0400)]
Merge with 3.4

11 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.

11 years agomerge 3.4
Senthil Kumaran [Sun, 20 Apr 2014 16:45:00 +0000 (09:45 -0700)]
merge 3.4

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.

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

11 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.

11 years agoMerge: #12220: improve minidom error when URI contains spaces.
R David Murray [Sun, 20 Apr 2014 04:48:25 +0000 (00:48 -0400)]
Merge: #12220: improve minidom error when URI contains spaces.

11 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.

11 years agoIssue #10291: Cleanup turtledemo to use docstrings for help.
Ned Deily [Sun, 20 Apr 2014 02:14:29 +0000 (19:14 -0700)]
Issue #10291: Cleanup turtledemo to use docstrings for help.
(Original patch by Alexander Belopolsky, refreshed by Jessica McKellar.)

11 years agoIssue #11571: merge with 3.4
Ned Deily [Sun, 20 Apr 2014 02:12:31 +0000 (19:12 -0700)]
Issue #11571: merge with 3.4

11 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)

11 years agoIssue #21311: merge with 3.4
Ned Deily [Sat, 19 Apr 2014 20:27:06 +0000 (13:27 -0700)]
Issue #21311: merge with 3.4

11 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.

11 years agoIssue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar.
Antoine Pitrou [Sat, 19 Apr 2014 19:07:16 +0000 (21:07 +0200)]
Issue #7221: remove redundant tests in test_asyncore.  Patch by Jessica McKellar.

11 years agoMerge: #9364: Improve the text printed by help(pydoc) and help(help).
R David Murray [Sat, 19 Apr 2014 17:01:21 +0000 (13:01 -0400)]
Merge: #9364: Improve the text printed by help(pydoc) and help(help).

11 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).

11 years agoMerge from 3.4.
Eric Snow [Sat, 19 Apr 2014 06:14:54 +0000 (00:14 -0600)]
Merge from 3.4.

11 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.

11 years agoMerge with 3.4. Closes #21232.
Terry Jan Reedy [Fri, 18 Apr 2014 21:00:50 +0000 (17:00 -0400)]
Merge with 3.4. Closes #21232.

11 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'.

11 years agoMerge with 3.4
Zachary Ware [Fri, 18 Apr 2014 20:45:02 +0000 (15:45 -0500)]
Merge with 3.4

11 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.

11 years agoIssue #21068: The ssl.PROTOCOL* constants are now enum members.
Antoine Pitrou [Fri, 18 Apr 2014 18:33:08 +0000 (20:33 +0200)]
Issue #21068: The ssl.PROTOCOL* constants are now enum members.

11 years agofix the description of bytes tests
Philip Jenvey [Fri, 18 Apr 2014 18:10:50 +0000 (11:10 -0700)]
fix the description of bytes tests

11 years agoMerge news item from 3.4
Guido van Rossum [Fri, 18 Apr 2014 16:21:55 +0000 (09:21 -0700)]
Merge news item from 3.4

11 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.

11 years agoMerge 3.4
Guido van Rossum [Fri, 18 Apr 2014 16:13:12 +0000 (09:13 -0700)]
Merge 3.4

11 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).

11 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.

11 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__

11 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)

11 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)

11 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.

11 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.

11 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.

11 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

11 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

11 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.

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

11 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

11 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.

11 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

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

11 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.

11 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.

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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).

11 years agoFix typo in test method name.
Mark Dickinson [Fri, 18 Apr 2014 15:08:47 +0000 (16:08 +0100)]
Fix typo in test method name.

11 years agoMerge typo fix from 3.4
Zachary Ware [Fri, 18 Apr 2014 14:23:35 +0000 (09:23 -0500)]
Merge typo fix from 3.4

11 years agoMerge typo fix from 3.4
Zachary Ware [Fri, 18 Apr 2014 14:17:04 +0000 (09:17 -0500)]
Merge typo fix from 3.4

11 years agomerge 3.4
Benjamin Peterson [Fri, 18 Apr 2014 05:04:07 +0000 (01:04 -0400)]
merge 3.4

11 years agomerge 3.4
Benjamin Peterson [Thu, 17 Apr 2014 22:29:27 +0000 (18:29 -0400)]
merge 3.4

11 years ago- Merge 3.4
doko@ubuntu.com [Thu, 17 Apr 2014 18:14:29 +0000 (20:14 +0200)]
- Merge 3.4

11 years ago- Merge 3.4
doko@ubuntu.com [Thu, 17 Apr 2014 17:49:00 +0000 (19:49 +0200)]
- Merge 3.4

11 years ago- fix merge conflict
doko@ubuntu.com [Thu, 17 Apr 2014 16:46:53 +0000 (18:46 +0200)]
- fix merge conflict

11 years agoMerge 3.4
doko@ubuntu.com [Thu, 17 Apr 2014 15:55:03 +0000 (17:55 +0200)]
Merge 3.4

11 years agoAdd a --ciphers option to Lib/test/ssl_servers.py
Antoine Pitrou [Thu, 17 Apr 2014 10:30:14 +0000 (12:30 +0200)]
Add a --ciphers option to Lib/test/ssl_servers.py

11 years agoUse ssl.create_default_context in Lib/test/ssl_servers.py
Antoine Pitrou [Thu, 17 Apr 2014 10:21:36 +0000 (12:21 +0200)]
Use ssl.create_default_context in Lib/test/ssl_servers.py