Commit graph

7838 commits

Author SHA1 Message Date
Berker Peksag
f4c69ab0ed Issue #23322: Merge from 3.5 2016-08-08 13:07:35 +03:00
Berker Peksag
7d1c5efed1 Issue #23322: Remove outdated reference to an example in parser docs
Initial patch by Sahil Chelaramani.
2016-08-08 13:07:08 +03:00
Andrew Svetlov
2b1c45ed54 Merge 3.5 2016-08-08 03:11:06 +03:00
Andrew Svetlov
4365b8302d Use asyncio.gather instead of asyncio.wait in example.
gather will raise exception in case of problem but wait just returns done and pending lists of futures.
For getting error every future result should be retrieved, which is boring and error prone.
2016-08-08 03:10:39 +03:00
Gregory P. Smith
50abe877ee Issue #27664: Add to concurrent.futures.thread.ThreadPoolExecutor()
the ability to specify a thread name prefix.
2016-08-07 10:19:20 -07:00
Guido van Rossum
3cc38327b6 Better docs for typing.Any by Michael Lee. Fixes issue #27688. (Merge 3.5->3.6) 2016-08-06 13:48:10 -07:00
Guido van Rossum
abfe28b012 Better docs for typing.Any by Michael Lee. Fixes issue #27688. 2016-08-06 13:46:48 -07:00
Berker Peksag
43b586b951 Silence warnings from 'make suspicious' to make the docs buildbot happy 2016-08-06 13:37:22 +03:00
Vinay Sajip
fd0f84bd8f Closes #22829: Added --prompt option to venv. 2016-08-06 10:43:44 +01:00
Berker Peksag
933c66af56 Issue #18548: Merge from 3.5 2016-08-06 03:00:30 +03:00
Berker Peksag
ab75e02f5c Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
2016-08-06 03:00:03 +03:00
Ethan Furman
73fc586d9f Add AutoEnum: automatically provides next value if missing. Issue 26988. 2016-08-05 16:03:16 -07:00
Ethan Furman
20bd9f033a Clarify NotImplemented vs NotImplementedError. Initial patch by Emmanuel Barry. Closes issue 27242. 2016-08-05 15:10:16 -07:00
Guido van Rossum
b6337a1145 Add typing.Generator docs, by Michael Lee. (Merge 3.5->3.6) 2016-08-05 12:57:38 -07:00
Guido van Rossum
b858af61b9 Add typing.Generator docs, by Michael Lee. 2016-08-05 12:56:09 -07:00
Martin Panter
02b75abf73 Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
Berker Peksag
6090194ef7 Merge from 3.5 2016-08-04 17:26:00 +03:00
Berker Peksag
85b6090768 Fix indentation of versionadded directive in IPv4Address.reverse_pointer docs 2016-08-04 17:25:40 +03:00
Berker Peksag
8576ca1970 Merge from 3.5 2016-08-04 17:22:05 +03:00
Berker Peksag
6bbc83986d Indent ipaddress.ip_address() example correctly 2016-08-04 17:21:46 +03:00
Martin Panter
69332c1a64 Fix spelling and grammar in documentation and code comments 2016-08-04 13:07:31 +00:00
Alexander Belopolsky
43746c3770 Closes #27661: Added tzinfo keyword argument to datetime.combine. 2016-08-02 17:49:30 -04:00
Senthil Kumaran
cde03fa038 [merge from 3.5] - Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:51:13 -07:00
Senthil Kumaran
17742f2d45 [merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:39:06 -07:00
Senthil Kumaran
436fe5a447 [merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:34:34 -07:00
Senthil Kumaran
4cbb23f8f2 Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:24:16 -07:00
Berker Peksag
f6daa690e4 Merge from 3.5 2016-07-30 03:48:12 +03:00
Berker Peksag
fa95068081 Silence another "default role used" warning in typing.rst
This should make ware-docs green again.
2016-07-30 03:47:52 +03:00
Berker Peksag
23aa24bc68 Fix "default role used" warning in shlex.rst 2016-07-30 03:40:38 +03:00
Guido van Rossum
a9333b1207 Fix whitespace. 2016-07-29 15:41:35 -07:00
Guido van Rossum
c301cbf445 Fix whitespace. 2016-07-29 15:41:17 -07:00
Guido van Rossum
e608709675 Expand documentation about type aliases and NewType in the typing module (merge 3.5 -> 3.6).
By Michael Lee.
2016-07-29 15:39:36 -07:00
Guido van Rossum
342e800e97 Expand documentation about type aliases and NewType in the typing module.
By Michael Lee.
2016-07-29 15:38:14 -07:00
Vinay Sajip
c1f974c944 Closes #1521950: Made shlex parsing more shell-like. 2016-07-29 22:35:03 +01:00
Martin Panter
6a09315ff0 Issue #26462: Merge code block fixes from 3.5 2016-07-29 01:49:37 +00:00
Martin Panter
8bde911115 Issue #27626: Merge spelling fixes from 3.5 2016-07-28 01:30:58 +00:00
Martin Panter
eb9957065a Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Berker Peksag
755df2a558 Issue #27633: Merge from 3.5 2016-07-27 13:33:28 +03:00
Berker Peksag
25539b089f Issue #27633: Fix usage of versionchanged directive in email.parser.rst
Patch by Florian Preinstorfer.
2016-07-27 13:32:54 +03:00
Martin Panter
1050d2d0c7 Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Martin Panter
c75885bb86 Issue #26638: Merge CLI link fix from 3.5 2016-07-26 06:47:09 +00:00
Martin Panter
254da19d0e Issue #26638: Don’t link 2to3 -l option to the tarfile -l option 2016-07-26 06:46:06 +00:00
Berker Peksag
3b055b5960 Issue #27601: Merge from 3.5 2016-07-25 04:56:19 +03:00
Berker Peksag
aa46bd461c Issue #27601: Improve example in the "Hashing of numeric types" section
* Fix return value of hash_compute() implementation
* Rename variable names to hash_value to improve readability

Patch by Emanuel Barry.
2016-07-25 04:55:51 +03:00
Vinay Sajip
638e622055 Closes #27493: accepted Path objects in file handlers for logging. 2016-07-22 18:23:04 +01:00
Vinay Sajip
cccf6068fa Closes #26559: Allow configuring flush-on-close behaviour of MemoryHandler. 2016-07-22 16:27:31 +01:00
Zachary Ware
de85ed69f4 Closes #25393: Merge with 3.5 2016-07-19 16:46:09 -05:00
Zachary Ware
48e3f98206 Issue #25393: Fix probable copy/paste error in resource docs
Patch by Alakshendra Yadav.
2016-07-19 16:41:20 -05:00
Berker Peksag
fe8d966657 Issue #27567: Expose the POLLRDHUP constant in the select module 2016-07-19 21:09:26 +03:00
Benjamin Peterson
0715ce358a add EPOLLEXCLUSIVE 2016-07-18 22:02:44 -07:00