]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
10 years agoMerge with 3.5
Terry Jan Reedy [Sat, 4 Jun 2016 06:32:32 +0000 (02:32 -0400)] 
Merge with 3.5

10 years agoIDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.
Terry Jan Reedy [Sat, 4 Jun 2016 06:32:18 +0000 (02:32 -0400)] 
IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.

10 years agomerge 3.5
Benjamin Peterson [Sat, 4 Jun 2016 05:38:47 +0000 (22:38 -0700)] 
merge 3.5

10 years agomerge heads
Benjamin Peterson [Sat, 4 Jun 2016 05:38:42 +0000 (22:38 -0700)] 
merge heads

10 years agomerge heads
Benjamin Peterson [Sat, 4 Jun 2016 05:38:37 +0000 (22:38 -0700)] 
merge heads

10 years agomerge 3.5
Benjamin Peterson [Sat, 4 Jun 2016 05:38:10 +0000 (22:38 -0700)] 
merge 3.5

10 years agofix indentation of comment
Benjamin Peterson [Sat, 4 Jun 2016 05:37:48 +0000 (22:37 -0700)] 
fix indentation of comment

10 years agoIssue #22797: Synchronize urlopen() doc string with RST documentation
Martin Panter [Sat, 4 Jun 2016 05:06:34 +0000 (05:06 +0000)] 
Issue #22797: Synchronize urlopen() doc string with RST documentation

10 years agoMore typo fixes for 3.6
Martin Panter [Sat, 4 Jun 2016 05:06:25 +0000 (05:06 +0000)] 
More typo fixes for 3.6

10 years agoMerge typo fixes from 3.5
Martin Panter [Sat, 4 Jun 2016 05:26:40 +0000 (05:26 +0000)] 
Merge typo fixes from 3.5

10 years agoFix typos in code comment and documentation
Martin Panter [Sat, 4 Jun 2016 04:57:19 +0000 (04:57 +0000)] 
Fix typos in code comment and documentation

10 years agoMerge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings.
Terry Jan Reedy [Sat, 4 Jun 2016 03:58:37 +0000 (23:58 -0400)] 
Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings.

10 years agoIssue #27196: Stop 'application destroyed' warnings when running IDLE tests.
Terry Jan Reedy [Sat, 4 Jun 2016 03:53:56 +0000 (23:53 -0400)] 
Issue #27196: Stop 'application destroyed' warnings when running IDLE tests.
The update_idletasks solution was provided by Serhiy Storchaka.

10 years agoIssue 20567: Revise idle_test/README.txt and some tests to match new advice.
Terry Jan Reedy [Sat, 4 Jun 2016 02:28:05 +0000 (22:28 -0400)] 
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.

10 years agoIssue 20567: Revise idle_test/README.txt and some tests to match new advice.
Terry Jan Reedy [Sat, 4 Jun 2016 02:19:17 +0000 (22:19 -0400)] 
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.

10 years agoIssue #24225: Fix additional renamed module references.
Ned Deily [Sat, 4 Jun 2016 00:50:44 +0000 (17:50 -0700)] 
Issue #24225: Fix additional renamed module references.

10 years agomerge from 3.5 - Fixes Issue #26373: subprocess.Popen.communicate
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 4 Jun 2016 00:34:15 +0000 (00:34 +0000)] 
merge from 3.5 - Fixes Issue #26373: subprocess.Popen.communicate
now correctly ignores BrokenPipeError when the child process dies
before .communicate() is called in more (all?) circumstances.

10 years agoFixes Issue #26373: subprocess.Popen.communicate now correctly ignores
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 4 Jun 2016 00:22:17 +0000 (00:22 +0000)] 
Fixes Issue #26373: subprocess.Popen.communicate now correctly ignores
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.

10 years agoClean up urlopen doc string.
R David Murray [Sat, 4 Jun 2016 00:16:06 +0000 (20:16 -0400)] 
Clean up urlopen doc string.

Clarifies what is returned when and that the methods are common between the two.

Patch by Alexander Liu as part of #22797.

10 years agoMerge: #16484: Fix pydoc doc links to modules whose names are mixed case.
R David Murray [Fri, 3 Jun 2016 23:29:18 +0000 (19:29 -0400)] 
Merge: #16484: Fix pydoc doc links to modules whose names are mixed case.

10 years ago#16484: Fix pydoc doc links to modules whose names are mixed case.
R David Murray [Fri, 3 Jun 2016 23:28:35 +0000 (19:28 -0400)] 
#16484: Fix pydoc doc links to modules whose names are mixed case.

Patch by Sean Rodman, test by Kaushik N.

10 years agofinal final step in backout of bad default->3.5 merge d085b4f779af: null merge 3...
Ned Deily [Fri, 3 Jun 2016 23:22:33 +0000 (16:22 -0700)] 
final final step in backout of bad default->3.5 merge d085b4f779af: null merge 3.5->default

10 years agofinal step in backout of bad default->3.5 merge d085b4f779af. merge 3.5 heads
Ned Deily [Fri, 3 Jun 2016 22:20:13 +0000 (15:20 -0700)] 
final step in backout of bad default->3.5 merge d085b4f779af. merge 3.5 heads

10 years agofirst step in backout of bad default->3.5 merge d085b4f779af. Create new head and...
Ned Deily [Fri, 3 Jun 2016 22:17:13 +0000 (15:17 -0700)] 
first step in backout of bad default->3.5 merge d085b4f779af.  Create new head and fix whitespace.

10 years agoNull merge
Serhiy Storchaka [Fri, 3 Jun 2016 21:53:32 +0000 (00:53 +0300)] 
Null merge

10 years agoIssue #27073: Removed redundant checks in long_add and long_sub.
Serhiy Storchaka [Fri, 3 Jun 2016 21:06:45 +0000 (00:06 +0300)] 
Issue #27073: Removed redundant checks in long_add and long_sub.
Patch by Oren Milman.

10 years agopsuedo merge: #22797: clarify when URLErrors are raised by urlopen.
R David Murray [Fri, 3 Jun 2016 19:40:29 +0000 (15:40 -0400)] 
psuedo merge: #22797: clarify when URLErrors are raised by urlopen.

I'm not sure how my previous merge commit got screwed up, hopefully this
one will do the right thing.

10 years agosignal, socket, and ssl module IntEnum constant name lookups now return a
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 19:14:52 +0000 (19:14 +0000)] 
signal, socket, and ssl module IntEnum constant name lookups now return a
consistent name for values having multiple names.  Ex: signal.Signals(6)
now refers to itself as signal.SIGALRM rather than flipping between that
and signal.SIGIOT based on the interpreter's hash randomization seed.

This helps finish issue27167.

10 years agoIssue #26983: float() now always return an instance of exact float.
Serhiy Storchaka [Fri, 3 Jun 2016 18:42:55 +0000 (21:42 +0300)] 
Issue #26983: float() now always return an instance of exact float.
The deprecation warning is emitted if __float__ returns an instance of
a strict subclass of float.  In a future versions of Python this can
be an error.

10 years agoMerge: #22797: clarify when URLErrors are raised by urlopen.
R David Murray [Fri, 3 Jun 2016 17:32:48 +0000 (13:32 -0400)] 
Merge: #22797: clarify when URLErrors are raised by urlopen.

10 years ago#22797: clarify when URLErrors are raised by urlopen.
R David Murray [Fri, 3 Jun 2016 17:29:17 +0000 (13:29 -0400)] 
#22797: clarify when URLErrors are raised by urlopen.

10 years agoNull merge
Serhiy Storchaka [Fri, 3 Jun 2016 07:48:43 +0000 (10:48 +0300)] 
Null merge

10 years agoMerge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:48:13 +0000 (10:48 +0300)] 
Merge heads

10 years agoMerge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:47:38 +0000 (10:47 +0300)] 
Merge heads

10 years agoMerge 3.5.
Serhiy Storchaka [Fri, 3 Jun 2016 07:45:56 +0000 (10:45 +0300)] 
Merge 3.5.

10 years agoMerge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:44:12 +0000 (10:44 +0300)] 
Merge heads

10 years agoIssue #27185: Rename test_string_merged.py back to test_string.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:38:24 +0000 (10:38 +0300)] 
Issue #27185: Rename test_string_merged.py back to test_string.py.

10 years agoIssue #27185: Merge test_pep292.py into test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:38:02 +0000 (10:38 +0300)] 
Issue #27185: Merge test_pep292.py into test_string_merged.py.

10 years agoIssue #27185: Rename test_pep292.py to test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:32:36 +0000 (10:32 +0300)] 
Issue #27185: Rename test_pep292.py to test_string_merged.py.

10 years agoIssue #27185: Rename test_string.py to test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:30:25 +0000 (10:30 +0300)] 
Issue #27185: Rename test_string.py to test_string_merged.py.

10 years ago[merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3...
Senthil Kumaran [Fri, 3 Jun 2016 07:04:28 +0000 (00:04 -0700)] 
[merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.

Patch contributed by Dave Sawyer.

10 years agoissue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
Senthil Kumaran [Fri, 3 Jun 2016 07:03:48 +0000 (00:03 -0700)] 
issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.

Patch contributed by Dave Sawyer.

10 years ago[merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the librar...
Senthil Kumaran [Fri, 3 Jun 2016 06:50:02 +0000 (23:50 -0700)] 
[merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the library documentation.

10 years agoissue8519 - Reference termios and ioctl manual pages in the library documentation.
Senthil Kumaran [Fri, 3 Jun 2016 06:49:05 +0000 (23:49 -0700)] 
issue8519 - Reference termios and ioctl manual pages in the library documentation.

10 years agoissue27167: make the test not care about the exact signal name in the
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 06:19:35 +0000 (06:19 +0000)] 
issue27167: make the test not care about the exact signal name in the
error message as some numbers map to multiple names.

10 years agoIssue #27167: Clarify the subprocess.CalledProcessError error message text
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 06:14:06 +0000 (06:14 +0000)] 
Issue #27167: Clarify the subprocess.CalledProcessError error message text
when the child process died due to a signal.

10 years agoissue25931: document that socketserver.Forking* are unavailable on platforms
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 05:44:47 +0000 (05:44 +0000)] 
issue25931: document that socketserver.Forking* are unavailable on platforms
lacking os.fork().

10 years agoIssue25931: fix tests broken by the conditional define of socketserver.Forking*
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 05:26:14 +0000 (05:26 +0000)] 
Issue25931: fix tests broken by the conditional define of socketserver.Forking*

10 years agotypo fix
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:57:26 +0000 (00:57 +0000)] 
typo fix

10 years agomerge 3.5
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:33:02 +0000 (00:33 +0000)] 
merge 3.5

10 years agoDocument that CalledProcessError.returncode is the negative
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:31:21 +0000 (00:31 +0000)] 
Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.

10 years agoReindent properly.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:16:02 +0000 (00:16 +0000)] 
Reindent properly.

10 years agoIssue #25931: Don't defining socketserver.Forking* names on platforms such
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:13:36 +0000 (00:13 +0000)] 
Issue #25931: Don't defining socketserver.Forking* names on platforms such
as Windows that do not support os.fork().

10 years agoMerge: #26829: Clarify that namespace is copied to a new __dict__ in instance creation.
R David Murray [Fri, 3 Jun 2016 00:06:13 +0000 (20:06 -0400)] 
Merge: #26829: Clarify that namespace is copied to a new __dict__ in instance creation.

10 years ago#26829: Clarify that namespace is copied to a new __dict__ in instance creation.
R David Murray [Fri, 3 Jun 2016 00:05:43 +0000 (20:05 -0400)] 
#26829: Clarify that namespace is copied to a new __dict__ in instance creation.

Patch by Emily Morehouse.

10 years agoMerge: #27185: move test_pep292 into test_string.
R David Murray [Thu, 2 Jun 2016 23:38:20 +0000 (19:38 -0400)] 
Merge: #27185: move test_pep292 into test_string.

10 years ago#27185: move test_pep292 into test_string.
R David Murray [Thu, 2 Jun 2016 23:37:47 +0000 (19:37 -0400)] 
#27185: move test_pep292 into test_string.

This makes the Template tests discoverable.  Patch by Erin Braswell.

10 years agoIssue #16192: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 22:28:29 +0000 (15:28 -0700)] 
Issue #16192: Merge from 3.5

10 years agoIssue #16192: Fix copy and paste mistake noticed by Eryk Sun
Berker Peksag [Thu, 2 Jun 2016 22:28:00 +0000 (15:28 -0700)] 
Issue #16192: Fix copy and paste mistake noticed by Eryk Sun

10 years agoissue27186 -- initial docs, tests, and python version of os.fspath
Ethan Furman [Thu, 2 Jun 2016 22:06:09 +0000 (15:06 -0700)] 
issue27186 -- initial docs, tests, and python version of os.fspath

10 years agoMerge 3.5 (asyncio)
Yury Selivanov [Thu, 2 Jun 2016 20:51:27 +0000 (16:51 -0400)] 
Merge 3.5 (asyncio)

10 years agoasyncio: Fix getaddrinfo to accept service names (for port)
Yury Selivanov [Thu, 2 Jun 2016 20:51:07 +0000 (16:51 -0400)] 
asyncio: Fix getaddrinfo to accept service names (for port)

Patch by A. Jesse Jiryu Davis

10 years agoMerge 3.5 (asyncio)
Yury Selivanov [Thu, 2 Jun 2016 20:44:10 +0000 (16:44 -0400)] 
Merge 3.5  (asyncio)

10 years agoIssue #21776: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 20:47:23 +0000 (13:47 -0700)] 
Issue #21776: Merge from 3.5

10 years agoIssue #21776: distutils.upload now correctly handles HTTPError
Berker Peksag [Thu, 2 Jun 2016 20:45:53 +0000 (13:45 -0700)] 
Issue #21776: distutils.upload now correctly handles HTTPError

Initial patch by Claudiu Popa.

10 years agoasyncio: Support host=b'' for getaddrinfo
Yury Selivanov [Thu, 2 Jun 2016 20:43:52 +0000 (16:43 -0400)] 
asyncio: Support host=b'' for getaddrinfo

10 years agoMerge: #20973: add total ordering tests for ipaddress
R David Murray [Thu, 2 Jun 2016 19:49:41 +0000 (15:49 -0400)] 
Merge: #20973: add total ordering tests for ipaddress

10 years ago#20973: add total ordering tests for ipaddress
R David Murray [Thu, 2 Jun 2016 19:46:04 +0000 (15:46 -0400)] 
#20973: add total ordering tests for ipaddress

Patch by Tommy Beadle.

10 years agomerge 3.5
Benjamin Peterson [Thu, 2 Jun 2016 19:42:40 +0000 (12:42 -0700)] 
merge 3.5

10 years agoremove (hilarious) defaults for various constants getpath.c needs
Benjamin Peterson [Thu, 2 Jun 2016 19:41:35 +0000 (12:41 -0700)] 
remove (hilarious) defaults for various constants getpath.c needs

10 years agoMerge: #13784: fix xml.sax.reader getColumn/LineNumber docs.
R David Murray [Thu, 2 Jun 2016 19:15:12 +0000 (15:15 -0400)] 
Merge: #13784: fix xml.sax.reader getColumn/LineNumber docs.

10 years agoIssue #16192: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 19:18:21 +0000 (12:18 -0700)] 
Issue #16192: Merge from 3.5

10 years agoIssue #16192: Clarify when c_int is an alias to c_long in ctypes documentation
Berker Peksag [Thu, 2 Jun 2016 19:17:51 +0000 (12:17 -0700)] 
Issue #16192: Clarify when c_int is an alias to c_long in ctypes documentation

10 years ago#13784: fix xml.sax.reader getColumn/LineNumber docs.
R David Murray [Thu, 2 Jun 2016 19:14:30 +0000 (15:14 -0400)] 
#13784: fix xml.sax.reader getColumn/LineNumber docs.

verification and patch by Emily Morehouse.

10 years agomerge 3.5
Benjamin Peterson [Thu, 2 Jun 2016 18:36:16 +0000 (11:36 -0700)] 
merge 3.5

10 years agonote that Py_VISIT handles NULL (closes #27183)
Benjamin Peterson [Thu, 2 Jun 2016 18:35:59 +0000 (11:35 -0700)] 
note that Py_VISIT handles NULL (closes #27183)

10 years agoIssue #23116: Improve ask_ok() example in the Python tutorial
Berker Peksag [Thu, 2 Jun 2016 18:31:19 +0000 (11:31 -0700)] 
Issue #23116: Improve ask_ok() example in the Python tutorial

10 years agoreplace custom validation logic in the parse module with a simple DFA validator ...
Benjamin Peterson [Thu, 2 Jun 2016 18:30:18 +0000 (11:30 -0700)] 
replace custom validation logic in the parse module with a simple DFA validator (closes #26526)

Patch from A. Skrobov.

10 years agoIssue #23116: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 18:31:51 +0000 (11:31 -0700)] 
Issue #23116: Merge from 3.5

10 years agoIssue #21271: Adds new keyword only parameters in reset_mock call
Kushal Das [Thu, 2 Jun 2016 17:20:16 +0000 (10:20 -0700)] 
Issue #21271: Adds new keyword only parameters in reset_mock call

We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.

10 years agoIssue #27171: Fix typo in exception message
Martin Panter [Thu, 2 Jun 2016 10:13:47 +0000 (10:13 +0000)] 
Issue #27171: Fix typo in exception message

10 years agoIssue #27171: Merge typo fixes from 3.5
Martin Panter [Thu, 2 Jun 2016 10:11:18 +0000 (10:11 +0000)] 
Issue #27171: Merge typo fixes from 3.5

10 years agoIssue #27171: Fix typos in documentation, comments, and test function names
Martin Panter [Thu, 2 Jun 2016 10:07:09 +0000 (10:07 +0000)] 
Issue #27171: Fix typos in documentation, comments, and test function names

10 years agoIssue #12243: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 01:26:50 +0000 (18:26 -0700)] 
Issue #12243: Merge from 3.5

10 years agoIssue #12243: Remove redundant availability notes from getpass docs
Berker Peksag [Thu, 2 Jun 2016 01:26:18 +0000 (18:26 -0700)] 
Issue #12243: Remove redundant availability notes from getpass docs

Patch by Bryce Verdier.

10 years agoIssue #27178: Fix markup in tutorial
Berker Peksag [Wed, 1 Jun 2016 21:38:18 +0000 (14:38 -0700)] 
Issue #27178: Fix markup in tutorial

Patch by Nathan Harold.

10 years agoMerge from 3.5
Berker Peksag [Wed, 1 Jun 2016 20:55:00 +0000 (13:55 -0700)] 
Merge from 3.5

10 years agoFix link in programming FAQ.
Berker Peksag [Wed, 1 Jun 2016 20:54:33 +0000 (13:54 -0700)] 
Fix link in programming FAQ.

The example actually uses the sort method of list object.

10 years agoIssue #27174: Merge from 3.5
Berker Peksag [Wed, 1 Jun 2016 16:53:05 +0000 (09:53 -0700)] 
Issue #27174: Merge from 3.5

10 years agoIssue #27174: Update IPython URL in tutorial
Berker Peksag [Wed, 1 Jun 2016 16:52:35 +0000 (09:52 -0700)] 
Issue #27174: Update IPython URL in tutorial

10 years agoMerge from 3.5
Berker Peksag [Wed, 1 Jun 2016 16:36:40 +0000 (09:36 -0700)] 
Merge from 3.5

10 years agoFix typo in Python tutorial
Berker Peksag [Wed, 1 Jun 2016 16:36:14 +0000 (09:36 -0700)] 
Fix typo in Python tutorial

10 years agoIssue #25570: Merge add_header() example from 3.5
Martin Panter [Wed, 1 Jun 2016 08:17:27 +0000 (08:17 +0000)] 
Issue #25570: Merge add_header() example from 3.5

10 years agoIssue #25570: Add example of customizing User-Agent via add_header()
Martin Panter [Wed, 1 Jun 2016 08:10:50 +0000 (08:10 +0000)] 
Issue #25570: Add example of customizing User-Agent via add_header()

10 years agoMerge with 3.5
Zachary Ware [Wed, 1 Jun 2016 05:01:21 +0000 (00:01 -0500)] 
Merge with 3.5

10 years agoFix typo
Zachary Ware [Wed, 1 Jun 2016 05:01:10 +0000 (00:01 -0500)] 
Fix typo

10 years agoIssue # 24225: Update idlelib.README.txt with new file names and event handlers.
Terry Jan Reedy [Wed, 1 Jun 2016 00:17:58 +0000 (20:17 -0400)] 
Issue # 24225: Update idlelib.README.txt with new file names and event handlers.

10 years agoIssue #27156: Remove obsolete code not used by IDLE.
Terry Jan Reedy [Mon, 30 May 2016 05:59:42 +0000 (01:59 -0400)] 
Issue #27156: Remove obsolete code not used by IDLE.
help.txt, replaced by help.html, is out-of-date and should not be used.
Its dedicated viewer has be replaced by the html viewer in help.py.
'import idlever; I = idlever.IDLE_VERSION' is the same as
'import sys; I = version[:version.index(' ')]'

10 years agoIssue #27125: Remove duplicated words in exception message
Martin Panter [Mon, 30 May 2016 04:08:23 +0000 (04:08 +0000)] 
Issue #27125: Remove duplicated words in exception message

10 years agoIssue #27125: Merge typo fixes from 3.5
Martin Panter [Mon, 30 May 2016 05:24:49 +0000 (05:24 +0000)] 
Issue #27125: Merge typo fixes from 3.5