Commit Graph

78979 Commits

Author SHA1 Message Date
Gregory P. Smith 0a8572800b Don't left shift negative values. Use an unsigned value instead to avoid
undefined behavior.
2015-08-04 16:29:00 -07:00
Robert Collins 937f2f70f5 Issue #20769: Improve reload() docs. Patch by Dorian Pula. 2015-08-05 08:16:41 +12:00
Terry Jan Reedy 1d8b7be333 Issue #24759: Revert 8203fc75b3d2. 2015-08-03 18:34:07 -04:00
Benjamin Peterson d7a4f9ef8d include fcntl.h on all *nix platforms (closes #24217)
Patch by Jeffrey Armstrong.
2015-08-02 12:15:30 -07:00
Serhiy Storchaka ea4d2875ac Issue #20557: Use specific asserts in io tests. 2015-08-02 15:19:04 +03: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 1235214945 Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
editor font.  This should not affect current customized font selections.
Patch by Mark Roseman.
2015-08-01 18:57:27 -04:00
Terry Jan Reedy 3f32b979d5 Issue #21192: acks for 2.7 2015-08-01 16:32:27 -04:00
Terry Jan Reedy 8755d78e4f Issue #21192: Idle Editor. When a file is run, put its name in the restart bar.
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:31 -04:00
Terry Jan Reedy a872fec1ec Issue 24759: Gracefull exit Idle if ttk import fails. 2015-07-30 21:16:09 -04:00
Terry Jan Reedy fa002d4cdd Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy. 2015-07-30 16:44:09 -04:00
Berker Peksag ffc7e8eebe Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.
2015-07-30 23:27:13 +03:00
Guido van Rossum 3d731c5994 Issue #15138: Speed up base64.urlsafe_b64* considerably (2.7 backport). 2015-07-30 16:50:25 +02:00
Benjamin Peterson 1edd2f6241 make comment not lie about the size of SMALL_REQUEST_THRESHOLD 2015-07-29 22:18:16 -07: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
Zachary Ware 62a23383dd Set a default BasePlatformToolset to allow the ICC buildbot to build. 2015-07-28 00:00:47 -05:00
Benjamin Peterson 0287f2f7cb check return value of PyString_FromStringAndSize for NULL (closes #24734)
Patch by Pankaj Sharma.
2015-07-27 07:47:21 -07: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 76a64ca438 Issue #24683: Fixed a crash in _json.make_encoder() called with non-dict 1st argument. 2015-07-26 09:07:53 +03: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 7f18ac4a59 possible memory leak in error case (closes #24719)
Patch by Pankaj Sharma.
2015-07-25 10:20:13 -07:00
Benjamin Peterson 455a2a30a3 proper overflow checks for mymemreplace (closes #24708) 2015-07-24 23:25:35 -07:00
Ned Deily 80277ed194 Issue #24603: Update the OS X 32-bit installer build to use OpenSSL 1.0.2d. 2015-07-24 16:19:00 -07:00
Serhiy Storchaka 045c451ff4 Issue #24704: Fixed possible NULL pointer dereferencing in the _json module
initialization.  Patch by Pankaj Sharma.
2015-07-24 12:58:25 +03:00
Serhiy Storchaka 3b77d01dbc Issue #24620: Random.setstate() now validates the value of state last element. 2015-07-24 09:02:53 +03:00
Serhiy Storchaka affac0062d Issue #24703: Fixed resource leak on error in bsddb.verify().
Original patch by Pankaj Sharma.
2015-07-24 08:05:45 +03:00
Serhiy Storchaka 81c670d540 Initialize buf.outobj in multibyte encoder (closes issue #24702).
Patch by pankaj.s01.
2015-07-24 07:44:42 +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
Benjamin Peterson cdbe6fc23b we don't care about python 1.5.2 2015-07-21 23:17:16 -07:00
Zachary Ware 68773f3100 Issue #24603: Update Windows build to use OpenSSL 1.0.2d 2015-07-21 23:16:51 -05:00
Zachary Ware c6fe4dbea5 Issue #24680: Remove random backslash. Patch by cdz. 2015-07-21 22:33:16 -05:00
Terry Jan Reedy 4b2f5d9de5 Issue #20792: Expand idle_test.test_pathbowser. Tweak file.
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:55 -04:00
Raymond Hettinger fe13eac341 Issue #19663: Improve error message for defaultdict. 2015-07-20 03:08:09 -04:00
Terry Jan Reedy 58785d5450 Issue #24671: Finish print conversion, idlelib GrepDialog and WidgetRedirector. 2015-07-19 18:32:06 -04:00
Steve Dower 46d4ed195d Fixes OpenSSL directory reference 2015-07-18 21:47:51 -07:00
Raymond Hettinger 4306063fd3 Issue #24568: fix typo. 2015-07-18 16:31:29 -07:00
Benjamin Peterson 65192c1756 improve style of the convert macro (#24655)
Patch by Brian Cain.
2015-07-18 10:59:13 -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
Zachary Ware 10c997ae9c Close #23963: Fix building with original OpenSSL sources.
Backport of bcf93e3766e8.
2015-07-15 23:33:15 -05:00
Zachary Ware 79d0e724e3 Backport b80d141a044e 2015-07-13 14:27:29 -05: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 a1b1e5f7b8 Added regression test for issue24581. 2015-07-08 22:58:55 +03:00
Serhiy Storchaka 8de92c3a88 Corrected empty lines and removed BOM in Misc/NEWS. 2015-07-06 19:47:12 +03:00
Benjamin Peterson 26040e87d1 'not' is very important here 2015-07-06 11:28:07 -05:00
Benjamin Peterson 678e7a9080 tighten warning 2015-07-06 09:40:43 -05:00
Serhiy Storchaka 7865f218b4 Issue #18684: Fixed reading out of the buffer in the re module. 2015-07-06 13:58:24 +03:00