Barry Warsaw
480e28538d
Issue #27066 : Fixed SystemError if a custom opener (for open()) returns
...
a negative number without setting an exception.
2016-06-08 17:47:26 -04:00
Guido van Rossum
fda4d67842
Omnibus news entry for updates to typing.py.
2016-06-08 11:30:48 -07:00
Guido van Rossum
91185fe028
Sync typing.py with upstream.
...
(Upstream is https://github.com/python/typing )
- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230 ).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229 ).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream #231 ).
- Add NewType() (upstream #189 ).
2016-06-08 11:19:11 -07:00
Yury Selivanov
07a9fcdc86
asyncio: Remove line about asyncio.timeout() from the NEWS file
2016-06-08 13:58:15 -04:00
Yury Selivanov
c1cf296de6
asyncio: Remove asyncio.timeout() context manager.
...
It will probably be added back in Python 3.6, once its compatibility
issues are resolved; see [1] for more details.
[1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
2016-06-08 13:57:03 -04:00
Yury Selivanov
af74512e44
asyncio: Update whatsnew/3.5.2
2016-06-08 12:55:29 -04:00
Yury Selivanov
55c5084223
Issue #27136 : Update asyncio docs
2016-06-08 12:48:15 -04:00
Yury Selivanov
f1c6fa9866
Issue #27136 : Fix DNS static resolution; don't use it in getaddrinfo
...
Patch by A. Jesse Jiryu Davis
2016-06-08 12:33:31 -04:00
Martin Panter
7d7a11b5d7
Issue #23275 : Backport target list assignment documentation fixes
2016-06-08 12:44:30 +00:00
Berker Peksag
84f387d420
Issue #21593 : Clarify that re.search() returns the first match
2016-06-08 14:56:56 +03:00
Martin Panter
e42e129ebe
Issue #25738 : Don’t send message body for 205 Reset Content
...
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Martin Panter
4e50553823
Issue #21313 : Tolerate truncated buildinfo in sys.version
2016-06-08 06:12:22 +00:00
Vinay Sajip
1bf197eb14
Fixed #27251 : corrected string/bytes handling in credentials.
2016-06-07 21:19:55 +01:00
Terry Jan Reedy
8bff8f6953
Items for NEWS and idlelib/NEWS.txt.
2016-06-07 15:33:53 -04: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
Martin Panter
6827fd867b
Issue #27229 : Comment in middle of shell command fails on BSD and OS X
2016-06-07 01:07:32 +00:00
Martin Panter
9c2a8f97da
Issue #27229 : Fix in-tree cross-build rule, by Xavier de Gaye
2016-06-07 00:27:17 +00: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
3f0ee83f14
Issue #27164 : Allow decompressing raw Deflate streams with predefined zdict
...
Based on patch by Xiang Zhang.
2016-06-05 10:48:34 +00:00
Serhiy Storchaka
484c913ed9
Issue #27225 : Fixed a reference leak in type_new when setting __new__ fails.
...
Patch by Xiang Zhang.
2016-06-05 10:48:36 +03:00
Serhiy Storchaka
3c5fa560ed
Issue #21916 : Added more tests for the turtle module.
...
Original patch by Jelle Zijlstra.
2016-06-05 10:32:57 +03: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
Senthil Kumaran
889f914edb
issue27202 - Fix the mistake in changesets 70af472451cb (3.5) and 2bb806539ca6 (3.6)
...
exclude_patterns in Sphinx conf.py will exclude the .rsts from the build. It
was incorrect exclude 2.x rsts in that. This fix contributed again Jelle
Zijlstra, excludes doctests in whatsnew/2.7.rst from being exercised by using
doctests skip option.
2016-06-04 22:22:26 -07:00
Berker Peksag
03fe0027fb
Issue #17888 : Add a note about contributing to Python docs
...
Patch by Terry Chia and Laura Rupprecht.
2016-06-04 21:47:44 -07:00
Senthil Kumaran
ff6c5c5466
issue27202 - Exclude 2.x release notes from python3 make doctests.
...
Patch contributed by Jelle Zijlstra.
2016-06-04 20:52:57 -07:00
Senthil Kumaran
7749320142
Issue27203 - Fix doctests Doc/faq/programming.rst.
...
Patch contributed by Jelle Zijlstra.
2016-06-04 20:07:34 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
2daf8e7f76
Move the BrokenPipeError tests to the POSIXProcessTestCase class
...
instead of the generic ProcessTestCase class as they are posix
specific.
2016-06-05 02:57:47 +00:00
Ned Deily
92b4b5a863
Issue #26930 : Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h.
2016-06-04 17:21:21 -07:00
doko@ubuntu.com
6ada01234d
- Issue #26884 : Fix linking extension modules for cross builds.
...
Patch by Xavier de Gaye.
2016-06-05 00:41:58 +02:00
Serhiy Storchaka
a23234b10d
Merge heads
2016-06-04 23:30:45 +03:00
Serhiy Storchaka
41e9ad1ef4
Issue #21916 : Added tests for the turtle module.
...
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
2016-06-04 23:27:26 +03:00
Terry Jan Reedy
f13cc2f991
Issue #24759 : Add 'private' notice for idlelib.idle_test.
2016-06-04 16:15:58 -04:00
Terry Jan Reedy
05dab096c1
Revise and synchronize idle_test.test_configdialog.
2016-06-04 15:54:44 -04:00
Zachary Ware
c17a0b87a6
Issue #26809 : Add __all__ to string module. Patch by Emanuel Barry
2016-06-04 14:35:05 -05:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
78b642c6b2
issue26372 - use os.devnull instead of /dev/null
2016-06-04 19:04:43 +00:00
Serhiy Storchaka
64a263a1ce
Issue #20041 : Fixed TypeError when frame.f_trace is set to None.
...
Patch by Xavier de Gaye.
2016-06-04 20:32:36 +03:00
Kushal Das
89beb27061
Issue #19234 : Documents socket.fileno() returns -1 on failure
2016-06-04 10:20:12 -07:00
Ned Deily
32db43867c
Issue 27216: Fix typo (noticed by Alex Chan).
2016-06-04 09:40:40 -07:00
Martin Panter
29ce082c10
Clarify deprecation of ElementTree.XMLParser(html=...) parameter
2016-06-04 07:12:51 +00:00
Terry Jan Reedy
1aa06e1525
IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.
2016-06-04 02:32:18 -04:00
Benjamin Peterson
40cfc1e33b
merge heads
2016-06-03 22:38:37 -07:00
Benjamin Peterson
3da82067c7
fix indentation of comment
2016-06-03 22:37:48 -07:00
Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
Terry Jan Reedy
6047b55372
Issue #27196 : Stop 'application destroyed' warnings when running IDLE tests.
...
The update_idletasks solution was provided by Serhiy Storchaka.
2016-06-03 23:53:56 -04:00
Terry Jan Reedy
75cbeb5dac
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:19:17 -04:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1ef8c7e886
Fixes Issue #26373 : subprocess.Popen.communicate now correctly ignores
...
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.
2016-06-04 00:22:17 +00:00
R David Murray
ead9bfc5c3
#16484 : Fix pydoc doc links to modules whose names are mixed case.
...
Patch by Sean Rodman, test by Kaushik N.
2016-06-03 19:28:35 -04:00
Ned Deily
369826a879
final step in backout of bad default->3.5 merge d085b4f779af. merge 3.5 heads
2016-06-03 15:20:13 -07:00
Ned Deily
6371152154
first step in backout of bad default->3.5 merge d085b4f779af. Create new head and fix whitespace.
2016-06-03 15:17:13 -07:00
R David Murray
f06324280a
Merge: #22797 : clarify when URLErrors are raised by urlopen.
2016-06-03 13:32:48 -04:00