Commit Graph

78918 Commits

Author SHA1 Message Date
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
Ned Deily 3e5e74ad4c Issue #24497: update link in test_decimal comments 2015-06-24 13:36:53 -07: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
Ned Deily 9487043453 Issue #24408: Prevent test_font failures with non-ascii font names. 2015-06-21 13:57:30 -07:00
Serhiy Storchaka 1670af6c33 Added the const qualifier for char* argument of Py_EnterRecursiveCall(). 2015-06-21 16:26:28 +03:00
Serhiy Storchaka 18d69e0edc Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.
2015-06-21 14:41:36 +03:00
Zachary Ware 0e4497a32b Deprecate unused scripts in Tools/buildbot.
I would just outright delete them, but the readme in PCbuild recommended
their use, so I figure it would be nice to leave them there for a while.
2015-06-16 10:56:14 -05:00
Zachary Ware 2409c1f3e1 Update PCbuild/readme.txt
It now recommends PCbuild/get_externals.bat instead of the scripts in
Tools/buildbot.
2015-06-16 10:54:48 -05:00
Berker Peksag 0e8af341fa Issue #24443: Fix links for Event.clear() and Event.wait() methods.
Patch by Jaivish Kothari.
2015-06-13 11:05:31 +03:00
Terry Jan Reedy 039573dc17 whitespace 2015-06-12 16:47:03 -04:00
Terry Jan Reedy f4ae91382a Issue #24406: Add sentences on dict comparisons, similar to those for Sequence
and set comparisions.  Patch by Gareth Rees.
2015-06-12 16:38:51 -04:00
Serhiy Storchaka f0aa88f6e8 Fixed indentation of Python examples in C comments. 2015-06-11 00:06:27 +03:00
Zachary Ware e1076aa4e2 Clean up/refactor the batch scripts used for building on Windows.
This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.
2015-06-09 15:21:39 -05:00
Serhiy Storchaka 66f8d75ba8 Issue #24408: Added more tkinter.Font tests. 2015-06-09 07:21:31 +03:00
Steve Dower e44cbe7c22 Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library. 2015-06-08 09:57:04 -07:00
Serhiy Storchaka 637c8e88ab Issue #24299: Fixed test__locale on Solaris. 2015-06-08 18:48:33 +03:00
Benjamin Peterson 822be2ec32 that this is "for Python" is obvious 2015-06-05 21:03:08 -05:00
Steve Dower 9c933e6404 Generates installer product codes for future releases. 2015-06-03 08:58:14 -07:00
Donald Stufft e629fef213 Upgrade pip to 7.0.3 and setuptools to 17.0 2015-06-02 11:38:01 -04:00
Donald Stufft 69c0d26159 Issue #24267 - Ensure that pip version check is disabled on uninstall 2015-06-02 10:54:37 -04:00
Ned Deily 43a98df147 Issue #24357: use example.org instead 2015-06-01 21:17:14 -07:00
Ned Deily 14c9ea6e8e Issue #24357: Change host in socket.getaddrinfo example to one that
does support IPv6 and IPv4; www.python.org currently does not.
2015-06-01 18:45:49 -07:00
Benjamin Peterson cc06dbfc73 sync opcode prediction code with python 3 2015-06-01 18:24:31 -05: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 cfb7028df4 Fixed test_audioop for issue #24326.
24-bit samples are not supported in 2.7.
2015-05-31 12:05:40 +03:00
Serhiy Storchaka dc967c137c Fixed the array module in unicode disabled build (regression of issue20014). 2015-05-31 11:56:48 +03:00
Serhiy Storchaka 062bed289b Issue #24264: Fixed buffer overflow in the imageop module. 2015-05-31 09:05:10 +03:00
Serhiy Storchaka d6bfa94493 Issue #21853: Fixed the inspect module in unicode disabled build. 2015-05-31 08:01:00 +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
Serhiy Storchaka 9d1de8a2a9 Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
value in the host header was set to "None".  Patch by Demian Brecht.
2015-05-28 22:37:13 +03:00
Benjamin Peterson 2c992a0788 backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
Benjamin Peterson 78ba242403 update for 3.6 emerging 2015-05-27 18:32:25 -05:00
Ned Deily ad73b5ad58 Issue 24304: Fix broken license link in FAQ. 2015-05-27 15:36:39 -07:00
Raymond Hettinger 1a7c3571c7 Issue #24286: Register dict views with the MappingView ABCs. 2015-05-26 01:35:54 -07:00
Serhiy Storchaka 902176be89 Moved Misc/NEWS entries to correct section and fix formatting. 2015-05-26 10:20:11 +03:00
Benjamin Peterson fdd70ae453 keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
Serhiy Storchaka 91421680be Remove UTF-8 BOMs. 2015-05-25 12:27:39 +03:00
Terry Jan Reedy 3dc4082cbe Update idlelib/NEWS.txt. 2015-05-23 17:23:23 -04:00
Terry Jan Reedy 13ab3a46ae Make expression legal python by adding '1'. 2015-05-23 16:16:23 -04:00