Brett Cannon
ab54ca7c4f
Give proper credit for issue #24915
2015-09-18 15:11:26 -07:00
Brett Cannon
4ff151a72a
Issue #24915 : Make PGO builds support Clang and use the test suite for
...
profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:09:42 -07:00
Victor Stinner
9a2326b362
Issue #24684 : socket.socket.getaddrinfo() now calls
...
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom unicode 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:42:13 +02:00
Zachary Ware
677688be22
Issue #25022 : Add NEWS, fix docs to not mention the old example.
2015-09-10 15:50:58 -05:00
Serhiy Storchaka
fe45f65187
Issue #24982 : shutil.make_archive() with the "zip" format now adds entries
...
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
2015-09-08 05:47:01 +03:00
Martin Panter
b75a0e9f32
Issue #17849 : Raise sensible exception for invalid HTTP tunnel response
...
Initial patch from Cory Benfield.
2015-09-07 01:18:47 +00:00
Terry Jan Reedy
23ae488f23
Issue #16180 : Exit pdb if file has syntax error, instead of trapping user
...
in an infinite loop. Patch by Xavier de Gaye.
2015-09-05 19:13:17 -04:00
Zachary Ware
1db43f98d5
Issue #24986 : Allow building Python without external libraries on Windows
...
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.
Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
2015-09-03 23:27:05 -05:00
Zachary Ware
7ab6cb44e4
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
...
This makes it possible to pass more than 7 tests by name through
Tools\buildbot\test.bat
2015-09-03 23:37:18 -05:00
Martin Panter
6a31bb5cac
Issue #24952 : Clarify default argument of stack_size() in threading, thread
...
Patch from Mattip.
2015-08-31 03:40:59 +00:00
Robert Collins
d951625f81
Merge 2.7 heads.
2015-08-24 12:10:23 +12:00
Robert Collins
11ac1a8239
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:06:18 +12:00
Terry Jan Reedy
5fa59bd250
Idle NEWS entries.
2015-08-16 22:11:43 -04:00
R David Murray
9168d069bf
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:48:35 -04:00
Serhiy Storchaka
16870748ce
Fixed doubled spaces in Misc/NEWS.
2015-08-09 13:07:06 +03:00
Zachary Ware
a4777f1bef
Issue #24751 : When running regrtest with '-w', don't fail if re-run succeeds.
2015-08-04 21:53:21 -05:00
Robert Collins
937f2f70f5
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:16:41 +12:00
Zachary Ware
977be3e7b5
Issue #23652 : Make the select module compile against LSB headers.
...
Initial patch by Matt Frank.
2015-08-01 21:30:11 -05:00
Guido van Rossum
3d731c5994
Issue #15138 : Speed up base64.urlsafe_b64* considerably (2.7 backport).
2015-07-30 16:50:25 +02:00
Robert Collins
f524799a65
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:14:32 +12:00
Victor Stinner
e97944a27e
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:37:17 +02:00
Robert Collins
2f2c829688
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:48:42 +12:00
Robert Collins
581234ee0d
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:40:15 +12:00
Serhiy Storchaka
cf74c1996e
Issue #24613 : Calling array.fromstring() with self is no longer allowed
...
to prevent the use-after-free error. Patch by John Leitch.
2015-07-26 08:49:37 +03:00
Benjamin Peterson
455a2a30a3
proper overflow checks for mymemreplace ( closes #24708 )
2015-07-24 23:25:35 -07:00
Serhiy Storchaka
3b77d01dbc
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:02:53 +03:00
Robert Collins
04fac8abf1
Issue #13938 : 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
2015-07-23 06:19:18 +12:00
Zachary Ware
68773f3100
Issue #24603 : Update Windows build to use OpenSSL 1.0.2d
2015-07-21 23:16:51 -05:00
Raymond Hettinger
4306063fd3
Issue #24568 : fix typo.
2015-07-18 16:31:29 -07:00
Zachary Ware
4734372aa0
Close #24508 : Backport the 3.5 MSBuild project files.
...
The old project files move to PC/VS9.0 and remain supported.
VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Steve Dower
1485054a23
Issue #24634 : Importing uuid should not try to load libc on Windows
2015-07-14 13:25:03 -07:00
Serhiy Storchaka
be8c6ae56e
Issue #24611 : Fixed compiling the posix module on non-Windows platforms
...
without mknod() or makedev() (e.g. on Unixware).
2015-07-12 16:41:29 +03:00
Serhiy Storchaka
8de92c3a88
Corrected empty lines and removed BOM in Misc/NEWS.
2015-07-06 19:47:12 +03:00
Serhiy Storchaka
7865f218b4
Issue #18684 : Fixed reading out of the buffer in the re module.
2015-07-06 13:58:24 +03:00
Lars Gustäbel
518602ab11
Issue #24259 : tarfile now raises a ReadError if an archive is truncated inside a data segment.
2015-07-06 09:23:04 +02:00
Benjamin Peterson
96ae7fa860
Merge heads
2015-07-05 10:39:53 -05:00
Benjamin Peterson
3ce0b06712
'free-after-use' is not a bug :) ( closes #24568 )
2015-07-05 10:39:47 -05:00
Ned Deily
14f233e64a
Issue #24432 : Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.
2015-07-03 23:32:44 -07:00
Steve Dower
3dd3d7c620
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:19:38 -07:00
Lars Gustäbel
d048003d90
Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:37:08 +02:00
Serhiy Storchaka
ab766350b6
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:13:54 +03:00
Jason R. Coombs
eabfe8cc0e
Issue #20387 : Backport fix from Python 3.4
2015-06-28 13:05:19 -04:00
Serhiy Storchaka
84af51d1b3
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module. Fixed SystemError when the state is not a
tuple. Fixed possible memory leak.
2015-06-28 17:51:40 +03:00
Benjamin Peterson
1c72acf24c
ensure internal buffer is large enough for string after flushing ( closes #24481 )
2015-06-27 14:52:41 -05:00
Antoine Pitrou
0d2fac1fba
Issue #24489 : ensure a previously set C errno doesn't disturb cmath.polar().
2015-06-23 14:31:11 +02:00
Serhiy Storchaka
c7797dc748
Issue #19543 : Emit deprecation warning for known non-text encodings.
...
Backported issues #19619 : encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.
Backported issues #20404 : io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
2015-05-31 20:21:00 +03:00
Serhiy Storchaka
062bed289b
Issue #24264 : Fixed buffer overflow in the imageop module.
2015-05-31 09:05:10 +03:00
Serhiy Storchaka
59ea508bb8
Issue #5633 : Fixed timeit when the statement is a string and the setup is not.
2015-05-30 19:37:19 +03:00
Serhiy Storchaka
5127ed727c
Issue #24115 : Update uses of PyObject_IsTrue(), PyObject_Not(),
...
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
2015-05-30 17:45:12 +03:00
Serhiy Storchaka
1e95340bc3
Issue #24326 : Fixed audioop.ratecv() with non-default weightB argument.
...
Original patch by David Moore.
2015-05-30 00:53:26 +03:00