Commit Graph

79258 Commits

Author SHA1 Message Date
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
Steve Dower 1485054a23 Issue #24634: Importing uuid should not try to load libc on Windows 2015-07-14 13:25:03 -07:00
Steve Dower 77518434d0 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:47:36 -07: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
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
Zachary Ware e6f87fcfa1 Update Docs/tools/susp-ignored.csv 2015-07-06 00:08:15 -05:00
Ned Deily 6c5824aaa5 Issue #24540: fix typo in json.dumps docstring 2015-07-05 11:43:59 -07: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 b2f949aafb Issue #24330: Update IDLE doc and help to note "Configure IDLE" difference
on OS X.  Original patch by André Freitas.
2015-07-04 15:04:42 -07:00
R David Murray 3995421228 #24548: replace dead link with pointer to archive.org. 2015-07-04 15:50:30 -04: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
Terry Jan Reedy e079936241 Issue #24525: Add missing word. Patch by Vincent Legoll. 2015-07-03 19:10:14 -04:00
Steve Dower 3dd3d7c620 Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:19:38 -07:00
Stefan Krah 99e36b9a84 Issue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent false
positives with the -flto option (gcc >= 4.9.0 and clang).
2015-07-03 15:30:54 +02:00
Lars Gustäbel d048003d90 Issue #24514: tarfile now tolerates number fields consisting of only whitespace. 2015-07-02 19:37:08 +02:00
Donald Stufft 97cceac3bd Update setuptools to 18.0.1 and pip to 7.1.0 2015-07-01 11:29:34 -04: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
Jason R. Coombs 33b24f5c09 Issue #20387: Backport test from Python 3.4 2015-06-28 13:03:26 -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
Serhiy Storchaka d1d4d8ab99 Issue #24336: Backported test for contextmanager. Patch by Martin Panter. 2015-06-28 17:11:51 +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
Berker Peksag 1ecb5ce707 Issue #24496: Backport gzip examples to Python 2.
gzip.open() supports context management protocol in Python 2, so it's better to
use it in the examples section.

Patch by Jakub Kadlčík.
2015-06-25 23:57:42 +03:00
Berker Peksag 6750c8b803 Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.
Patch by Martin Panter.
2015-06-25 23:47:43 +03:00