Commit graph

17590 commits

Author SHA1 Message Date
Terry Jan Reedy
8e5bc98995 Add NEWS items for Idle to 3.6.0a1 section. 2015-09-20 23:32:08 -04:00
Terry Jan Reedy
fbcbadbaf3 Merge with 3.5 2015-09-20 23:24:01 -04:00
Terry Jan Reedy
c8c5a331ff Add NEWS items for Idle. 2015-09-20 23:23:44 -04:00
Terry Jan Reedy
bb5f83f181 Add NEWS items for Idle. 2015-09-20 23:21:22 -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
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
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
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
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
cdf9b789ee Merge 3.5 (NEWS) 2015-09-18 13:59:30 +02:00
Victor Stinner
02d6a25bea Issue #25155: document the bugfix in Misc/NEWS
Oops, I forgot to document my change.
2015-09-18 13:59:09 +02:00
Serhiy Storchaka
4ebf9d3a21 Issue #25108: Omitted internal frames in traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:06:23 +03:00
Serhiy Storchaka
e953ba794c Issue #25108: Omitted internal frames in traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:04:47 +03:00
Ethan Furman
6db1fd5fb8 Close issue24840: Enum._value_ is queried for bool(); original patch by Mike Lundy 2015-09-17 21:49:12 -07:00
Victor Stinner
024364a89a Merge 3.5 (os.waitpid) 2015-09-15 10:24:27 +02:00
Victor Stinner
d3ffd32767 Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows.
Add an unit test on os.waitpid()
2015-09-15 10:11:03 +02:00
Larry Hastings
d5fd984a60 Merge from 3.5. 2015-09-13 16:57:16 +01:00
Larry Hastings
9c51f89cd6 Merge release engineering work from Python 3.5.0. 2015-09-13 15:43:21 +01:00
Larry Hastings
82c0c69011 Post-release updates for Python 3.5.0. 2015-09-13 15:36:07 +01:00
Larry Hastings
f92f6c8e56 Version bump for Python 3.5.0 final. 2015-09-12 17:28:39 +01:00
Larry Hastings
fcdd34d263 Regenerate pydoc topics, fix minor non-RST formatting in Misc/NEWS. 2015-09-12 17:24:02 +01:00
Steve Dower
a004c54f94 Issue #25071: Windows installer should not require TargetDir parameter when installing quietly 2015-09-11 11:31:07 -07:00
Steve Dower
729aa1462a Adds 3.5.0 header to Misc/NEWS 2015-09-11 11:29:07 -07:00
Steve Dower
6695c2e356 Merge from 3.5.0 2015-09-11 11:27:45 -07:00
Steve Dower
76b7133f58 Issue #25071: Windows installer should not require TargetDir parameter when installing quietly 2015-09-11 10:56:59 -07:00
Victor Stinner
e390410ca4 Merge 3.5 2015-09-11 12:38:27 +02:00
Victor Stinner
f9fdfa7c4e Merge 3.4 2015-09-11 12:38:17 +02:00
Victor Stinner
ec1a498a01 Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom string with an encode() method which doesn't
return a byte string. The encoder of the IDNA codec is now called directly
instead of calling the encode() method of the string.
2015-09-11 12:37:30 +02:00
Martin Panter
b26cbf9636 Issue #25030: Merge seek() doc fixes from 3.5 2015-09-11 04:39:42 +00:00
Martin Panter
0e8e78e15d Issue #25030: Merge seek() doc fixes from 3.4 into 3.5 2015-09-11 04:39:31 +00:00
Benjamin Peterson
7920b7063d merge 3.5 (#25060) 2015-09-10 21:11:26 -07:00
Benjamin Peterson
b685515039 compute stack effect of BUILD_MAP correctly (closes #25060) 2015-09-10 21:02:39 -07:00
Martin Panter
db4220ea09 Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
2015-09-11 03:58:30 +00:00
Zachary Ware
5480dea548 Closes #25022 (again): Merge with 3.5 2015-09-10 16:12:48 -05:00
Zachary Ware
31ce9ac867 Issue #25022: Merge with 3.4 2015-09-10 16:08:21 -05:00
Zachary Ware
3d9a9d47a8 Issue #25022: Add NEWS, fix docs to not mention the old example. 2015-09-10 15:50:58 -05:00
Berker Peksag
29bf4d403d Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.

Patch by A Kaptur.
2015-09-09 23:39:45 +03:00
Berker Peksag
3fc536f1c9 Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.

Patch by A Kaptur.
2015-09-09 23:35:25 +03:00
Berker Peksag
17ebaa93d4 Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.

Patch by A Kaptur.
2015-09-09 23:40:11 +03:00
Larry Hastings
334b4a3403 Merge from 3.5. 2015-09-09 07:00:54 -07:00
Larry Hastings
ded28e3863 Merge Python 3.5.0rc4 back to hg.python.org. 2015-09-09 06:52:38 -07:00
Larry Hastings
1043f95b9b Version bump for Python 3.5.0rc4. 2015-09-08 23:58:10 -07:00
Martin Panter
98b30cb18a Issue #24984: Merge 3.5 into 3.6 2015-09-09 06:50:07 +00:00
Martin Panter
24a9bd0d39 Issue #24984: Merge 3.4 into 3.5 2015-09-09 06:48:55 +00:00