Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Yury Selivanov
f97edf1aa6
whatsnew/3.5: NumPy 1.10 has been released
2015-10-31 13:33:49 -04:00
Martin Panter
0e5eba25c7
Fix more typos in whatsnew/3.5.rst
2015-10-31 12:18:10 +00:00
Martin Panter
4827e488a4
Merge spelling fixes from 3.4 into 3.5
2015-10-31 12:16:18 +00:00
Martin Panter
1f1177d69a
Fix some spelling errors in documentation and code comments
2015-10-31 11:48:53 +00:00
Berker Peksag
ad56c922b0
Fix another typo noticed by SilentGhost
2015-10-19 00:56:39 +03:00
Berker Peksag
5783ee12bd
Issue #25434 : Fix typo in whatsnew/3.5rst
...
Patch by Louis Sautier.
2015-10-18 20:22:15 +03:00
Yury Selivanov
43d71e2512
asyncio: Make ensure_future() accept all kinds of awaitables.
2015-10-02 15:05:59 -04:00
Berker Peksag
9b93c6b5df
Issue #25137 : Add a note to whatsnew/3.5.rst for nested functools.partial calls
...
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
2015-09-22 13:08:16 +03:00
Yury Selivanov
8e3b04c70b
whatsnew/3.5: Reword bytes*.hex message
2015-09-16 12:18:29 -04:00
Berker Peksag
878bc871b4
whatsnew/3.5: Add missing word "class"
2015-09-15 20:06:28 +03:00
Serhiy Storchaka
516a1a96ee
Use :menuselection: in whatsnew/3.4.
2015-09-13 21:06:06 +03:00
Serhiy Storchaka
66ad8464cf
Use :menuselection: in whatsnew/3.4.
2015-09-13 21:05:37 +03:00
Yury Selivanov
69a15f1576
whatsnew/3.5: Fix typo
2015-09-13 11:52:07 -04:00
Yury Selivanov
801306bb65
whatsnew/3.5: One more edit
2015-09-13 11:40:00 -04:00
Yury Selivanov
a33cb35688
whatsnew/3.5: Edits
...
Patch by me and Elvis Pranskevichus
2015-09-13 11:21:25 -04:00
Larry Hastings
9c51f89cd6
Merge release engineering work from Python 3.5.0.
2015-09-13 15:43:21 +01:00
Yury Selivanov
73953d8670
whatsnew/3.5: Fix typo (issue #25082 )
2015-09-13 08:30:58 -04:00
Yury Selivanov
fe369a6e0e
whatsnew/3.5: Reorder stuff (issue #25082 ).
2015-09-13 08:29:19 -04:00
Serhiy Storchaka
35a361f1af
whatsnew/3.5: Fix formatting. More minor edits.
2015-09-13 12:07:54 +03:00
Yury Selivanov
3854f9e9fe
whatsnew/3.5: Delete prerelease warning note.
...
(we'll make a couple more commits tomorrow before release)
2015-09-13 01:57:57 -04:00
Yury Selivanov
a7672baa73
whatsnew/3.5: Fix formatting
2015-09-13 01:40:36 -04:00
Yury Selivanov
72dab13105
whatsnew/3.5: Tweak asyncio module section
2015-09-13 01:39:05 -04:00
Yury Selivanov
6d9dd756af
whatsnew/3.5: More examples
2015-09-13 01:10:19 -04:00
Yury Selivanov
63ae9f3b38
whatsnew/3.5: Cover asyncio changes relative to 3.4.0
2015-09-13 00:29:02 -04:00
Yury Selivanov
239503773d
whatsnew/3.5: Add some examples
...
Patch by Elvis Pranskevichus
2015-09-12 23:46:39 -04:00
Yury Selivanov
7b76baeabf
whatsnew/3.5: Update editor's email addresses
2015-09-12 17:53:33 -04:00
Yury Selivanov
95fd26bc01
whatsnew/3.5 More edits
...
Patch by Elvis Praskevichus. (+ issue #25070 )
2015-09-12 17:50:58 -04:00
Yury Selivanov
46a8b40ca8
whatsnew/3.5: Edits
...
Patch by Elvis Pranskevichus
2015-09-12 15:52:04 -04:00
Larry Hastings
2e789a1f1d
Final touch-ups for the What's New In Python 3.5 document.
2015-09-12 17:36:44 +01:00
Larry Hastings
17e9f3b774
Backported the What's New In 3.5 from 3.5.1 to 3.5.0 (final!).
2015-09-12 17:12:36 +01:00
Serhiy Storchaka
153627c111
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:20 +03:00
Serhiy Storchaka
0424eaf753
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:45:25 +03:00
Serhiy Storchaka
1c30e7ef56
whatsnew/3.5: Added missed author names.
2015-09-11 20:55:28 +03:00
Yury Selivanov
dddfffeda1
whatsnew/3.5: Fix nits
2015-09-11 01:23:10 -04:00
Yury Selivanov
fd8d52b96c
whatsnew/3.5: Drop empty section
2015-09-11 00:50:39 -04:00
Yury Selivanov
4dde587405
whatsnew/3.5: Sync whatsnew with versionadded/versionchanged doc tags
2015-09-11 00:48:21 -04:00
Yury Selivanov
508a81e094
whatsnew/3.5: Second pass over NEWS entries
2015-09-10 23:37:06 -04:00
Yury Selivanov
79cf1b04a3
whatsnew/3.5: Reformat code examples
2015-09-10 21:44:59 -04:00
Yury Selivanov
a88cd646d1
whatsnew/3.5: Another editing pass
...
Patch by Elvis Pranskevichus.
2015-09-10 21:26:54 -04:00
Yury Selivanov
3b76552538
whatsnew/3.5: Fix refs in the importlib section
2015-09-10 19:02:24 -04:00
Yury Selivanov
1c73e69ec5
whatsnew/3.5: Clarify types.coroutine & types.CoroutineType
2015-09-10 18:59:42 -04:00
Yury Selivanov
83c6d729d4
whatsnew/3.5: Don't mention pyio.FileIO
2015-09-10 18:31:49 -04:00
Yury Selivanov
c973990f4e
whatsnew/3.5: Describe changes in issue #22980
...
Initial patch by Larry Hastings.
2015-09-10 18:26:44 -04:00
Yury Selivanov
5c3111e319
whatsnew/3.5: More edits -- use articles consistently; fix refs
2015-09-10 18:04:35 -04:00
Yury Selivanov
ce917c731d
whatsnew/3.5: Editorialization pass on library section
...
Patch by Elvis Pranskevichus
2015-09-10 17:35:38 -04:00
Yury Selivanov
88d073dad5
whatsnew/3.5: Mention issue 22464
...
(About the only new feature that was worth mentioning in
whatsnew without a NEWS entry)
2015-09-09 22:46:40 -04:00
Yury Selivanov
ef05af5941
whatsnew/3.5: Merge argparse entries
2015-09-09 13:49:29 -04:00
Yury Selivanov
336b37b1dd
whatsnew/3.5: First pass over NEWS is done.
2015-09-09 12:23:01 -04:00
Yury Selivanov
1f4d4705bd
whatsnew/3.5: Fix nits per Berker Peksag suggestion
2015-09-09 09:27:29 -04:00
Yury Selivanov
0ac5f28bee
whatsnew/3.5: Reformat PEP 475 to render in less space; add "ugly" ex in 465
2015-09-08 23:40:46 -04:00
Yury Selivanov
40301c04eb
whatsnew/3.5: Better formatting; add traceback to significantly improved stdlib
2015-09-08 23:28:06 -04:00
Yury Selivanov
100fc3fbc2
whatsnew/3.5: Fix library news till Py3.5a1. Update other docs.
2015-09-08 22:40:30 -04:00
Yury Selivanov
dfcfe13300
docs/whatsnew/3.5: Update peps section
...
Patch by Elvis Pranskevichus.
2015-09-08 15:33:15 -04:00
Larry Hastings
d5b129c9a1
Fix for one-letter type in What's New In Python 3.5.
2015-08-24 12:49:22 -07:00
Yury Selivanov
7d6adab716
whatsnew/3.5: Mention new ssl memory bio
2015-08-05 19:01:51 -04:00
Yury Selivanov
40c0ce472e
whatsnew/3.5: Mention 'typing' module docs in seealso for pep 484
2015-08-05 12:46:29 -04:00
Yury Selivanov
a5a0062627
whatsnew: Add pep 448 to new syntax features section
2015-08-04 12:52:16 -04:00
Yury Selivanov
5df36af8b7
whatsnew/3.5: Briefly mention PEP 484
2015-08-04 12:46:57 -04:00
Yury Selivanov
216d999345
whatsnew/3.5: Mention PEP 448
2015-08-04 12:42:20 -04:00
Yury Selivanov
13b74aef62
whatsnew/3.5: Mention that 'async' is a bad name for modules
2015-08-03 14:55:58 -04:00
Berker Peksag
4333d8bad7
Issue #15582 : Add a whatsnew entry for inspect.getdoc() changes in 3.5.
...
Patch by Martin Panter.
2015-07-30 18:06:09 +03:00
Victor Stinner
ace8848df6
What's New in Python 3.5: document os.urandom() changes
2015-07-29 02:28:32 +02:00
Victor Stinner
988101364a
What's New in Python 3.5: document socket.sendall() change on timeout
2015-07-29 01:41:25 +02:00
Victor Stinner
287452eeaf
What's New in Python 3.5: Document ssl methods change on timeout
2015-07-29 01:39:13 +02:00
Victor Stinner
6752d65daf
What's New in Python 3.5: move PEP 475 doc
2015-07-29 01:11:10 +02:00
Steve Dower
313fbf4548
Issue #24642 : Adds installer notes and links to What's New for 3.5
2015-07-17 16:48:48 -07:00
Zachary Ware
3d3aedc8ba
Fix usage of the default role.
2015-07-07 00:07:25 -05:00
Yury Selivanov
fdbeb2b4b6
Issue #24400 : Resurrect inspect.isawaitable()
...
collections.abc.Awaitable and collections.abc.Coroutine no longer
use __instancecheck__ hook to detect generator-based coroutines.
inspect.isawaitable() can be used to detect generator-based coroutines
and to distinguish them from regular generator objects.
2015-07-03 13:11:35 -04:00
Nick Coghlan
2ab5b092e5
Close #24458 : PEP 489 documentation
...
Patch by Petr Viktorin.
2015-07-03 19:49:15 +10:00
Yury Selivanov
f488fb422a
Issue #19235 : Add new RecursionError exception. Patch by Georg Brandl.
2015-07-03 01:04:23 -04:00
Yury Selivanov
e13f8f3cab
Issue #24450 : Add gi_yieldfrom to generators; cr_await to coroutines.
...
Patch by Benno Leslie and Yury Selivanov.
2015-07-03 00:23:30 -04:00
Benjamin Peterson
44f323cb42
Merge 3.4
2015-07-01 22:36:29 -05:00
Benjamin Peterson
3ef80587f0
remove stray '(' ( closes #24547 )
2015-07-01 22:36:21 -05:00
Yury Selivanov
a74b5e59af
Issue #24400 : Remove inspect.isawaitable().
...
isawaitable() was added before collections.abc.Awaitable; now,
with Awaitable, it is no longer needed (we don't have ishashable()
or isiterable() methods in the inspect module either).
2015-06-30 18:19:01 -04:00
Benjamin Peterson
4801383c29
upgrade to Unicode 8.0.0
2015-06-27 15:45:56 -05:00
Yury Selivanov
27947d5d5c
docs.whatsnew: Update ref to tp_as_async
2015-06-23 15:09:58 -04:00
Yury Selivanov
5376ba9630
Issue #24400 : Introduce a distinct type for 'async def' coroutines.
...
Summary of changes:
1. Coroutines now have a distinct, separate from generators
type at the C level: PyGen_Type, and a new typedef PyCoroObject.
PyCoroObject shares the initial segment of struct layout with
PyGenObject, making it possible to reuse existing generators
machinery. The new type is exposed as 'types.CoroutineType'.
As a consequence of having a new type, CO_GENERATOR flag is
no longer applied to coroutines.
2. Having a separate type for coroutines made it possible to add
an __await__ method to the type. Although it is not used by the
interpreter (see details on that below), it makes coroutines
naturally (without using __instancecheck__) conform to
collections.abc.Coroutine and collections.abc.Awaitable ABCs.
[The __instancecheck__ is still used for generator-based
coroutines, as we don't want to add __await__ for generators.]
3. Add new opcode: GET_YIELD_FROM_ITER. The opcode is needed to
allow passing native coroutines to the YIELD_FROM opcode.
Before this change, 'yield from o' expression was compiled to:
(o)
GET_ITER
LOAD_CONST
YIELD_FROM
Now, we use GET_YIELD_FROM_ITER instead of GET_ITER.
The reason for adding a new opcode is that GET_ITER is used
in some contexts (such as 'for .. in' loops) where passing
a coroutine object is invalid.
4. Add two new introspection functions to the inspec module:
getcoroutinestate(c) and getcoroutinelocals(c).
5. inspect.iscoroutine(o) is updated to test if 'o' is a native
coroutine object. Before this commit it used abc.Coroutine,
and it was requested to update inspect.isgenerator(o) to use
abc.Generator; it was decided, however, that inspect functions
should really be tailored for checking for native types.
6. sys.set_coroutine_wrapper(w) API is updated to work with only
native coroutines. Since types.coroutine decorator supports
any type of callables now, it would be confusing that it does
not work for all types of coroutines.
7. Exceptions logic in generators C implementation was updated
to raise clearer messages for coroutines:
Before: TypeError("generator raised StopIteration")
After: TypeError("coroutine raised StopIteration")
2015-06-22 12:19:30 -04:00
Senthil Kumaran
b4760efbad
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.
...
Related Issues:
#issue21528
#issue24453
2015-06-14 17:35:37 -07:00
Ned Deily
cec3f56fab
Issue #24423 : Fix formatting error in 3.5 whatsnew
2015-06-10 15:43:05 -07:00
Yury Selivanov
4640b300e3
Issue 24180: Mention sys.(get|set)_coroutine_wrapper in whatsnew
2015-05-31 17:21:38 -04:00
Tal Einat
f67b0a36c5
minor fix of module order in whatsnew/3.5
2015-05-31 22:18:31 +03:00
Tal Einat
d5519ed7f4
Issue #19543 : Implementation of isclose as per PEP 485
...
For details, see:
PEP 0485 -- A Function for testing approximate equality
Functions added: math.isclose() and cmath.isclose().
Original code by Chris Barker. Patch by Tal Einat.
2015-05-31 22:05:00 +03:00
Serhiy Storchaka
d4ea03c785
Issue #24284 : The startswith and endswith methods of the str class no longer
...
return True when finding the empty string and the indexes are completely out
of range.
2015-05-31 09:15:51 +03:00
Benjamin Peterson
3d4a457663
improve section title
2015-05-31 00:22:42 -05:00
Yury Selivanov
7aa5341164
Reverting my previous commit.
...
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Yury Selivanov
802d45b660
Merge 3.5
2015-05-30 10:49:27 -04:00
Yury Selivanov
5844436adf
docs/whatsnew: Mention OrderedDict C implementation
2015-05-30 10:49:09 -04:00
Yury Selivanov
7a219110e6
docs/whatsnew/3.6: Mention that 'async' and 'await' will be keywords in 3.7
2015-05-28 17:10:29 -04:00
Yury Selivanov
153192be43
Merge 3.5
2015-05-28 17:09:38 -04:00
Yury Selivanov
8fa6d4f753
docs/whatsnew: Mention that 'async' and 'await' will be keywords in 3.7
2015-05-28 17:09:14 -04:00
Yury Selivanov
d1da507774
Add whatsnew for 3.6
2015-05-27 22:09:10 -04:00
Benjamin Peterson
e328323cf7
rephrase
2015-05-26 21:40:28 -05:00
Guido van Rossum
7ca13532f3
Fix bad indent in whatsnew/3.5.rst.
2015-05-23 15:27:51 -07:00
Terry Jan Reedy
44825cf71f
Add pointer to IDLE what's new file.
2015-05-23 18:19:42 -04:00
Terry Jan Reedy
e9cd1d3c69
Merge with 3.4
2015-05-23 18:15:41 -04:00
Terry Jan Reedy
a6f6a68368
whitespace
2015-05-23 18:15:18 -04:00
Terry Jan Reedy
ca1ad9423b
Merge with 3.4
2015-05-23 18:13:31 -04:00
Terry Jan Reedy
571164f96f
Add pointer to IDLE what's new file.
2015-05-23 18:13:14 -04:00