Terry Jan Reedy
3257b91892
Merge with 3.5
2015-09-20 23:05:52 -04:00
Terry Jan Reedy
192c103b5e
Merge with 3.4
2015-09-20 23:05:41 -04:00
Terry Jan Reedy
96f802a999
Issue #16893 : finish deprecation.
2015-09-20 23:05:25 -04:00
Terry Jan Reedy
ca5d6ecf0a
Merge with 3.5
2015-09-20 22:56:03 -04:00
Terry Jan Reedy
4fb0cf7b87
Merge with 3.4
2015-09-20 22:55:51 -04:00
Terry Jan Reedy
b50c6377a6
Issue #25199 : Idle: add synchronization comments for future maintainers.
2015-09-20 22:55:39 -04:00
Terry Jan Reedy
3f746e79fa
Merge with 3.5
2015-09-20 20:03:37 -04:00
Terry Jan Reedy
1de516e1df
Merge with 3.4
2015-09-20 20:03:22 -04:00
Terry Jan Reedy
963a38bc44
Issue #16893 : whitespace in idle.html.
2015-09-20 20:03:01 -04:00
Terry Jan Reedy
1b90af21de
Merge with 3.5
2015-09-20 19:57:58 -04:00
Terry Jan Reedy
47f9741e5c
Merge with 3.4
2015-09-20 19:57:37 -04:00
Terry Jan Reedy
5d46ab1274
Issue #16893 : Replace help.txt with idle.html for Idle doc display.
...
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
2015-09-20 19:57:13 -04:00
Eric V. Smith
608adf9c82
Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.
2015-09-20 15:09:15 -04:00
Benjamin Peterson
57b6579315
merge 3.5 ( #25145 )
2015-09-20 23:18:58 +05:00
Benjamin Peterson
fc2fb0f621
merge 3.4 ( #25145 )
2015-09-20 23:18:51 +05:00
Benjamin Peterson
16ad5cfad3
remove reference to PyGoogle ( #25145 )
...
Patch by Bar Harel.
2015-09-20 23:17:41 +05:00
Benjamin Peterson
95acbcedc4
use a more modern UA ( #25145 )
2015-09-20 23:16:45 +05:00
Terry Jan Reedy
5cdc9e1b37
Merge with 3.5
2015-09-20 02:34:51 -04:00
Terry Jan Reedy
86eb7300af
Merge with 3.4
2015-09-20 02:34:20 -04:00
Terry Jan Reedy
c37c49fd56
Issue #24199 : Add stacklevel to deprecation warning call.
2015-09-20 02:34:03 -04:00
Martin Panter
b7d276e647
Issue #25176 : Merge cgi.parse_qsl link from 3.5
2015-09-20 01:11:50 +00:00
Martin Panter
926be1b0ec
Issue #25176 : Merge cgi.parse_qsl link from 3.4 into 3.5
2015-09-20 01:07:41 +00:00
Martin Panter
cebfdac32c
Issue #25176 : Correct link for cgi.parse_qsl; patch from Ville Skyttä
2015-09-20 00:28:50 +00:00
Eric V. Smith
edef3ebafa
Temporary hack for issue #25180 : exclude test_fstring.py from the unparse round-tripping, while I figure out how to properly fix it.
2015-09-19 15:49:57 -04:00
Eric V. Smith
235a6f0984
Issue #24965 : Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.
2015-09-19 14:51:32 -04:00
Raymond Hettinger
aed8830af3
Add a fast path (no iterator creation) for a common case for repeating deques of size 1
2015-09-19 09:05:42 -07:00
Victor Stinner
026977717e
Merge 3.5
2015-09-19 13:39:16 +02:00
Victor Stinner
5783fd2c58
Issue #24999 : In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" to
...
avoid undefined behaviour when LONG_MAX type is smaller than 60 bits.
This change should fix a warning with the ICC compiler.
2015-09-19 13:39:03 +02:00
Serhiy Storchaka
d644d5eefa
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 11:00:11 +03:00
Serhiy Storchaka
f2d7ea1af1
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:59:48 +03:00
Serhiy Storchaka
d86a6ef41c
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:55:20 +03:00
Raymond Hettinger
0e14e6610b
Hoist constant expression out of an inner loop
2015-09-19 00:21:33 -06:00
Brett Cannon
6631b550d6
Merge for issue #25133
2015-09-18 15:21:22 -07:00
Brett Cannon
aa00324f73
Make it clearer that the constants in the selectors docs are module-level
2015-09-18 15:21:02 -07:00
Brett Cannon
36df60fe75
Merge for issue #24915
2015-09-18 15:17:37 -07:00
Brett Cannon
7188a3efe0
Issue #24915 : Add Clang support to PGO builds and use the test suite
...
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:13:44 -07:00
Victor Stinner
f409c7cd1b
Merge 3.5 (test_email)
2015-09-18 16:33:04 +02:00
Victor Stinner
4b363e2701
Merge 3.4 (test_email)
2015-09-18 16:32:51 +02:00
Victor Stinner
53936474aa
Issue #24836 : Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
...
Leopard because this OS uses out of date (pre 2011k) timezone files.
2015-09-18 16:32:23 +02:00
Victor Stinner
d8f432a98c
Issue #25003 : Skip test_os.URandomFDTests on Solaris 11.3 and newer
...
When os.urandom() is implemented with the getrandom() function, it doesn't use
a file descriptor.
2015-09-18 16:24:31 +02:00
Victor Stinner
3abf44e48f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-09-18 15:38:37 +02:00
Victor Stinner
258f17c96d
Merge 3.5
2015-09-18 15:08:14 +02:00
Victor Stinner
6df29ada02
Issue #25150 : Hide the private _Py_atomic_xxx symbols from the public
...
Python.h header to fix a compilation error with OpenMP. PyThreadState_GET()
becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies.
It is important that the _PyThreadState_Current variable is always accessed
with the same implementation of pyatomic.h. Use the PyThreadState_Get()
function so extension modules will all reuse the same implementation.
2015-09-18 15:06:34 +02:00
Victor Stinner
4298afe9f0
Null merge 3.5: datetime was already fixed, but with a very different implementation
2015-09-18 14:58:09 +02:00
Victor Stinner
5ebfe42cdf
Oops, fix test_microsecond_rounding()
...
Test self.theclass, not datetime. Regression introduced by manual tests.
2015-09-18 14:52:15 +02:00
Victor Stinner
84ff4abd79
Merge 3.4 (datetime rounding)
2015-09-18 14:50:18 +02:00
Victor Stinner
511491ade0
Issue #23517 : Fix rounding in fromtimestamp() and utcfromtimestamp() methods
...
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:
(datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)
It also the rounding mode used by round(float) for example.
Add more unit tests on the rounding mode in test_datetime.
2015-09-18 14:42:05 +02:00
Victor Stinner
13c15ca9cf
Merge 3.5 (pytime)
2015-09-18 14:21:55 +02:00
Victor Stinner
ec26f83f2e
Issue #25155 : Fix _PyTime_Divide() rounding
...
_PyTime_Divide() rounding was wrong: copy code from Python default which has
now much better unit tests.
2015-09-18 14:21:14 +02:00
Victor Stinner
cdf9b789ee
Merge 3.5 (NEWS)
2015-09-18 13:59:30 +02:00