Commit Graph

11007 Commits

Author SHA1 Message Date
Serhiy Storchaka e12f632186 Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:14:53 +03:00
Victor Stinner a87633e596 Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:57:26 +02:00
Serhiy Storchaka f522bbc9c2 Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self keyword argument.
2015-09-29 23:51:27 +03:00
Serhiy Storchaka cab4566c5a Issue #22609: Constructor and the update method of collections.UserDict now
accept the self keyword argument.
2015-09-29 23:33:03 +03:00
Terry Jan Reedy 6d49160fb6 Remove indent in news item. Error when building 3.x docs. 2015-09-29 01:00:25 -04:00
Terry Jan Reedy da10017de3 Add recent IDLE NEWS items. Move Build sectios down. 2015-09-28 23:38:46 -04:00
Serhiy Storchaka a8041ae565 Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
2015-09-27 22:34:59 +03:00
Raymond Hettinger d2a4073db2 Issue #25135: Avoid possible reentrancy issues in deque_clear. 2015-09-26 00:52:57 -07:00
Steve Dower 044cde52f8 Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:25:30 -07:00
Terry Jan Reedy 13b21f8889 Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html.  Adjust NEWS entries.
2015-09-21 22:36:36 -04:00
Terry Jan Reedy 4dd7887710 Issue #24861: add Idle news items and correct previous errors. 2015-09-21 19:28:18 -04:00
Terry Jan Reedy 0eb8f01904 Add NEWS items for Idle. 2015-09-20 23:21:17 -04:00
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
Martin Panter 6f80464f4a 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 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 0ed1bcdff8 Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
2015-09-07 01:40:33 +00: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
Terry Jan Reedy b4bdbe9496 Issue #23672: ACKS 2015-08-16 21:54:35 -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
Terry Jan Reedy 9de4707973 Issue 24745: Add ACKS entry. 2015-08-01 19:15:37 -04:00
Terry Jan Reedy 3f32b979d5 Issue #21192: acks for 2.7 2015-08-01 16:32:27 -04: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 15a92fde7d Issue #23319: Add Matthieu Gautier to Misc/ACKS 2015-07-29 14:40:27 +02: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