Victor Stinner
9ff9cbd600
Merge 3.5 (os.urandom)
2016-06-07 11:25:43 +02:00
Victor Stinner
dddf4849ec
os.urandom() doesn't block on Linux anymore
...
Issue #26839 : On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
2016-06-07 11:21:42 +02:00
Ned Deily
223b874c00
Issue #26014 : merge from 3.5
2016-06-05 17:39:58 -07:00
Ned Deily
8f5798edfb
Issue #26014 : Update 3.x packaging documentation:
...
- "See also" links to the new docs are now provided in the legacy pages
- links to setuptools documentation have been updated
(original patch by Susan Sun)
2016-06-05 17:38:48 -07:00
Martin Panter
ff5cd4576f
Issue #24291 : Merge wsgi partial write fix from 3.5
2016-06-05 06:56:51 +00:00
Martin Panter
ed0425c60a
Issue #24291 : Avoid WSGIRequestHandler doing partial writes
...
If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.
Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.
2016-06-05 06:28:55 +00:00
Berker Peksag
94f89a6e02
Fix typos in datetime documentation.
2016-06-04 21:36:53 -07:00
Nick Coghlan
b4b966ece2
Issue #19611 : handle implicit parameters in inspect.signature
...
inspect.signature now reports the implicit ``.0`` parameters generated by
the compiler for comprehension and generator expression scopes as if they
were positional-only parameters called ``implicit0``.
Patch by Jelle Zijlstra.
2016-06-04 14:40:03 -07:00
Ethan Furman
d62548afed
issue27186: add open/io.open; patch by Jelle Zijlstra
2016-06-04 14:38:43 -07:00
Kushal Das
c79b06c35c
Issue #19234 : Merge from 3.5
2016-06-04 10:21:36 -07:00
Kushal Das
89beb27061
Issue #19234 : Documents socket.fileno() returns -1 on failure
2016-06-04 10:20:12 -07:00
Ned Deily
7a3827f61f
Issue 27216: Fix typo (noticed by Alex Chan).
2016-06-04 09:41:05 -07:00
Ned Deily
32db43867c
Issue 27216: Fix typo (noticed by Alex Chan).
2016-06-04 09:40:40 -07:00
Martin Panter
19409197e2
Merge typo fixes from 3.5
2016-06-04 05:26:40 +00:00
Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
R David Murray
11aaa42d1c
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.
2016-06-03 15:40:29 -04:00
R David Murray
21dcb932a7
#22797 : clarify when URLErrors are raised by urlopen.
2016-06-03 13:29:17 -04:00
Senthil Kumaran
194a4a245a
[merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
...
Patch contributed by Dave Sawyer.
2016-06-03 00:04:28 -07:00
Senthil Kumaran
7ee91942b4
issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
...
Patch contributed by Dave Sawyer.
2016-06-03 00:03:48 -07:00
Senthil Kumaran
464afee749
[merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the library documentation.
2016-06-02 23:50:02 -07:00
Senthil Kumaran
0779129302
issue8519 - Reference termios and ioctl manual pages in the library documentation.
2016-06-02 23:49:05 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
287e687648
issue25931: document that socketserver.Forking* are unavailable on platforms
...
lacking os.fork().
2016-06-03 05:44:47 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3498db1f78
merge 3.5
2016-06-03 00:33:02 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
583a1d6240
Document that CalledProcessError.returncode is the negative
...
signal number when the process died due to a signal.
2016-06-03 00:31:21 +00:00
R David Murray
3bad04ca62
Merge: #26829 : Clarify that namespace is copied to a new __dict__ in instance creation.
2016-06-02 20:06:13 -04:00
R David Murray
dd4fcf52f4
#26829 : Clarify that namespace is copied to a new __dict__ in instance creation.
...
Patch by Emily Morehouse.
2016-06-02 20:05:43 -04:00
Berker Peksag
ca4589e932
Issue #16192 : Merge from 3.5
2016-06-02 15:28:29 -07:00
Berker Peksag
8891dfe717
Issue #16192 : Fix copy and paste mistake noticed by Eryk Sun
2016-06-02 15:28:00 -07:00
Ethan Furman
cdc0879d3a
issue27186 -- initial docs, tests, and python version of os.fspath
2016-06-02 15:06:09 -07:00
R David Murray
e747dd89b6
Merge: #13784 : fix xml.sax.reader getColumn/LineNumber docs.
2016-06-02 15:15:12 -04:00
Berker Peksag
d612920484
Issue #16192 : Merge from 3.5
2016-06-02 12:18:21 -07:00
Berker Peksag
d85a1e6b55
Issue #16192 : Clarify when c_int is an alias to c_long in ctypes documentation
2016-06-02 12:17:51 -07:00
R David Murray
f86959d883
#13784 : fix xml.sax.reader getColumn/LineNumber docs.
...
verification and patch by Emily Morehouse.
2016-06-02 15:14:30 -04:00
Kushal Das
9cd39a170b
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.
2016-06-02 10:20:16 -07:00
Berker Peksag
fa6de5cddf
Issue #12243 : Merge from 3.5
2016-06-01 18:26:50 -07:00
Berker Peksag
1b207c55a4
Issue #12243 : Remove redundant availability notes from getpass docs
...
Patch by Bryce Verdier.
2016-06-01 18:26:18 -07:00
Martin Panter
f9de40666c
Issue #25570 : Merge add_header() example from 3.5
2016-06-01 08:17:27 +00:00
Martin Panter
7aaaded8f4
Issue #25570 : Add example of customizing User-Agent via add_header()
2016-06-01 08:10:50 +00:00
Zachary Ware
d6ce44c412
Merge with 3.5
2016-06-01 00:01:21 -05:00
Zachary Ware
f9aff925e0
Fix typo
2016-06-01 00:01:10 -05:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Senthil Kumaran
96ebb8431a
[merge from 3.5] issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
...
Patch contributed by Nathan Harold.
2016-05-29 20:37:54 -07:00
Senthil Kumaran
ebd84e342c
issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
...
Patch contributed by Nathan Harold.
2016-05-29 20:36:58 -07:00
Serhiy Storchaka
8c740c4d19
Improved docs for issue27033. Based on comments by R. David Murray.
2016-05-29 23:43:24 +03:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Martin Panter
82069612ec
Issue #27124 : Merge binascii doc from 3.5
2016-05-29 00:56:02 +00:00
Martin Panter
58dd7648de
Issue #27124 : Fix documentation of exception raised by a2b_hex()
2016-05-29 00:48:54 +00:00
Eric Snow
dc4f7c09cc
Issue #27147 : Mention PEP 420 in the importlib docs.
2016-05-28 11:08:20 -07:00