Yury Selivanov
dce63234c5
asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647 )
...
Patch by Vladimir Rutsky.
2016-03-02 10:49:16 -05:00
Yury Selivanov
3ebaea005d
Sync selectors.py with upstream asyncio
2016-03-02 10:43:45 -05:00
Yury Selivanov
45c84cc0ca
Merge 3.5
2016-03-02 10:41:51 -05:00
Yury Selivanov
0c6a34409e
asyncio, selectors: Update to the upstream version
2016-03-02 10:37:59 -05:00
Yury Selivanov
aed6f6c028
Merge 3.5
2016-03-02 10:34:05 -05:00
Yury Selivanov
049205f646
Merge 3.4
2016-03-02 10:33:47 -05:00
Yury Selivanov
90faa09152
asyncio: Update 3.4 asyncio/test_tasks to upstream version
2016-03-02 10:33:22 -05:00
Raymond Hettinger
6f86a3308a
Factor-out common subexpression.
2016-03-02 00:30:58 -08:00
Raymond Hettinger
589106b206
Put block length computations in a more logical order.
2016-03-02 00:06:21 -08:00
Victor Stinner
2ad474ba5e
Update assertion in compiler_addop_i()
...
In practice, bytecode instruction arguments are unsigned. Update the assertion
to make it more explicit that argument must be greater or equal than 0.
Rewrite also the comment.
2016-03-01 23:34:47 +01:00
Victor Stinner
f2192855dd
Merge 3.5
2016-03-01 22:07:53 +01:00
Victor Stinner
337986740f
Issue #26464 : Fix unicode_fast_translate() again
...
Initialize i variable if the string is non-ASCII.
2016-03-01 21:59:58 +01:00
Victor Stinner
3d9d77a3dc
Merge 3.5
2016-03-01 21:30:50 +01:00
Victor Stinner
6c9aa8f2bf
Fix str.translate()
...
Issue #26464 : Fix str.translate() when string is ASCII and first replacements
removes character, but next replacement uses a non-ASCII character or a string
longer than 1 character. Regression introduced in Python 3.5.0.
2016-03-01 21:30:30 +01:00
Serhiy Storchaka
42e49ac0da
Issue #26457 : Fixed the subnets() methods in IP network classes for the case
...
when resulting prefix length is equal to maximal prefix length.
Based on patch by Xiang Zhang.
2016-03-01 10:26:10 +02:00
Serhiy Storchaka
bb0dbd583b
Issue #26457 : Fixed the subnets() methods in IP network classes for the case
...
when resulting prefix length is equal to maximal prefix length.
Based on patch by Xiang Zhang.
2016-03-01 10:25:45 +02:00
Terry Jan Reedy
8131f14de9
Merge with 3.5
2016-03-01 01:19:02 -05:00
Terry Jan Reedy
5f582bdec8
Whitespace
2016-03-01 01:18:47 -05:00
Terry Jan Reedy
54f99500dd
Merge with 3.5
2016-03-01 01:13:21 -05:00
Terry Jan Reedy
7811a9cf3e
Document maintenance of idlelib/help.html in idlelib.
2016-03-01 01:13:07 -05:00
Terry Jan Reedy
13d09afff1
Merge with 3.5
2016-03-01 00:30:20 -05:00
Terry Jan Reedy
f8cd02dcda
Rebase the 3.x version of idlelib/help.html on the 3.5 version of
...
Doc/build/html/library/idle.html, which is built from Doc/library/idle.rst.
Help.html is an rstrip()ed copy of idle.html that can be pushed.
The displayed content is unchanged because a) the version number is not
displayed, being inherent in the version displaying the file and b) the tt
tag was ignored by the custom parser in idlelib/help.py. The wrapped
<span class="pre"> tags remain as they were.
This will be merged in 3.6 (without conflict) because the 3.6 help.html is
a copy of the 3.5 file (which was a copy of the 3.4 file). The two files will
remain the same until either a) there is a content change that only applies
to one of them or b) 3.5 maintenance ends and the 3.6 file is itself rebased.
2016-03-01 00:29:57 -05:00
Martin Panter
93088d1b03
Issue #26385 : Merge NamedTemporaryFile fix from 3.5
2016-02-29 11:25:09 +00:00
Georg Brandl
d047c2f8b2
merge with 3.5
2016-02-28 21:13:44 +01:00
Georg Brandl
96421d6f11
Update susp-ignore file ( #25910 ).
2016-02-28 21:13:23 +01:00
Georg Brandl
a7f7232838
merge with 3.5
2016-02-28 21:09:45 +01:00
Georg Brandl
76b2ee03c3
Fix typo.
2016-02-28 21:09:36 +01:00
Martin Panter
7869a22779
Issue #26385 : Cleanup NamedTemporaryFile if open() fails, by SilentGhost
2016-02-28 05:22:20 +00:00
Martin Panter
8cacc63002
Issue #22836 : Merge exception reporting from 3.5
2016-02-28 03:29:51 +00:00
Martin Panter
3263f6874a
Issue #22836 : Keep exception reports sensible despite errors
2016-02-28 03:16:11 +00:00
Ezio Melotti
b8d75035f2
#26246 : merge with 3.5.
2016-02-27 08:42:14 +02:00
Ezio Melotti
738f88f688
#26246 : merge with 3.4.
2016-02-27 08:41:16 +02:00
Ezio Melotti
90ba2ca68a
#26246 : update copybutton.js after JQuery update. Patch by Liang-Bo Wang.
2016-02-27 08:39:36 +02:00
Victor Stinner
fc6f2efd13
compile.c: inline compiler_use_new_block()
...
* Inline compiler_use_new_block() function into its only callee,
compiler_enter_scope()
* Remove unused NEW_BLOCK() macro
2016-02-27 02:19:22 +01:00
Georg Brandl
3902d62c4e
merge with 3.5
2016-02-26 19:37:52 +01:00
Georg Brandl
5d94134040
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Georg Brandl
1a41c44af9
merge with 3.5
2016-02-26 19:18:05 +01:00
Georg Brandl
06871ef2b3
Fix version.
2016-02-26 19:17:39 +01:00
Georg Brandl
eb73563f48
merge with 3.5
2016-02-26 19:16:43 +01:00
Georg Brandl
32fbd3a623
Closes #26442 : fix copy-paste.
2016-02-26 19:16:40 +01:00
Georg Brandl
def4ff6a64
merge with 3.5
2016-02-26 19:14:56 +01:00
Georg Brandl
adeffcc2f9
Closes #26444 : typo fixes.
2016-02-26 19:13:47 +01:00
Benjamin Peterson
9d66d4af06
remove unused c_encoding struct member
2016-02-25 23:25:14 -08:00
Benjamin Peterson
768921cf33
rewrite parsestr() so it's comprehensible; remove dead code
2016-02-25 23:13:53 -08:00
Benjamin Peterson
202803a0c0
c_encoding can never be NULL, which allows some code simplification
2016-02-25 22:34:45 -08:00
Martin Panter
7812dbccf0
Dummy merge with 3.5
2016-02-26 00:42:33 +00:00
Martin Panter
de9b27d908
Issue #26390 : Merge pbkdf2_hmac() doc from 3.5
2016-02-26 00:41:38 +00:00
Georg Brandl
6d6dd73aec
merge with 3.5
2016-02-25 20:18:00 +01:00
Georg Brandl
8c16cb9f65
Closes #26435 : fix syntax in directives. Thanks to Jakub Stasiak.
2016-02-25 20:17:45 +01:00
Georg Brandl
057ab49a6b
merge with 3.5
2016-02-25 20:14:21 +01:00