Commit Graph

10658 Commits

Author SHA1 Message Date
Ned Deily 9be578990e Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.  Original patch by Alex Gaynor.
2014-07-06 16:11:44 -07:00
Zachary Ware 6690eed48b Issue #21151: Fixed a segfault in the _winreg module.
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer.  Patch by John Ehresman.

(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:57:44 -05:00
Victor Stinner f6b3c84a4a Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,
it ignored I/O errors if at least the first C call read() succeed.
2014-07-02 23:12:48 +02:00
Berker Peksag cf0a706c15 Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags.
Backport of issue #16611.
2014-07-02 10:48:27 +03:00
Ned Deily 04a37be9e5 Issue #21811: Add Misc/NEWS entry. 2014-06-29 23:38:55 -07:00
Benjamin Peterson 7ce6a96469 after 2.7.8 2014-06-29 18:59:07 -07:00
Benjamin Peterson fdbdcfe020 bump to 2.7.8 2014-06-29 18:58:16 -07:00
Benjamin Peterson 4becf85d54 don't allow unicode into type_map on Windows (closes #21652)
Patch from Vladimir Iofik.
2014-06-29 12:58:16 -07:00
Benjamin Peterson df71dcbef2 don't overwrite the error from PyObject_GetAttrString (closes #4346) 2014-06-26 23:27:41 -07:00
Raymond Hettinger 38017b3698 Issue #19145: Remove duplicate ACKS entry 2014-06-26 09:27:36 -07:00
Serhiy Storchaka 33ad0968eb Issue #21729: Used the "with" statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.
2014-06-25 20:37:49 +03:00
Raymond Hettinger 58ad24512a Issue #19145: Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:53:45 -07:00
Raymond Hettinger 53296810f8 Add news entry for 21832 2014-06-24 18:14:53 -07:00
R David Murray 3eb76fc10b #20155: use fake HTTP method names so windows doesn't hang the tests.
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.

Patch by Jeff Allen.
2014-06-24 16:49:24 -04:00
Benjamin Peterson b23eef5895 add Chris Foster 2014-06-23 20:14:46 -07:00
Benjamin Peterson 550b945fd6 avoid overflow with large buffer sizes and/or offsets (closes #21831) 2014-06-23 20:12:27 -07:00
Raymond Hettinger 58eb605ca3 Issue #11974: Add tutorial section on class and instance variables
(Based on a patch from Renee Chu.)
2014-06-23 18:03:21 -07:00
Raymond Hettinger f595a127b8 Issue #8343: Named group error msgs did not show the group name. 2014-06-22 19:33:19 -07:00
Benjamin Peterson 3bef935512 fix ntpath.join on UNC-style paths by backporting py3k's splitdrive (closes #21672) 2014-06-22 19:07:38 -07:00
Raymond Hettinger 4575010943 Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks(). 2014-06-21 11:27:36 -07:00
Charles-François Natali 98fbdd6829 Issue #21491: SocketServer: Fix a race condition in child processes reaping. 2014-06-20 22:03:08 +01:00
Antoine Pitrou 077c9564b7 Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Benjamin Peterson a48162a8b8 add Ammar Brohi for running ssllab's test on python.org and reporting a problem 2014-06-17 09:44:55 -07:00
Benjamin Peterson c0bc4eff50 avoid crashes and lockups from daemon threads during interpreter shutdown (#1856) 2014-06-16 19:39:18 -07:00
Terry Jan Reedy 1a6561e2f5 Add Idle news entries (plus whitespace fix from other entries). 2014-06-16 19:24:22 -04:00
Benjamin Peterson 8d24d77c63 url unquote the path before checking if it refers to a CGI script (closes #21766) 2014-06-14 18:36:29 -07:00
Zachary Ware 04349c602c Issue #19493: Backport 6f63fff5c120 2014-06-13 14:40:16 -05:00
Serhiy Storchaka 05b0a1be37 Issue #21310: Fixed possible resource leak in failed open(). 2014-06-09 13:32:08 +03:00
Benjamin Peterson 75a55c3275 make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709)
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
2014-06-07 20:14:26 -07:00
Benjamin Peterson 806f9d704f document TokenError and unclosed expression behavior (closes #12063)
Patch by Amandine Lee.
2014-06-07 17:47:41 -07:00
Benjamin Peterson c3e1e90221 don't remove self from example code in the HTML output (closes #13223)
Patch by Víctor Terrón.
2014-06-07 16:44:00 -07:00
Benjamin Peterson 3afd956e09 document the compress_level argument to tarfile.open (closes #21404)
Patch by Katherine Busch.
2014-06-07 12:45:37 -07:00
Benjamin Peterson 93e51aac54 allow the keyword else immediately after (no space) an integer (closes #21642) 2014-06-07 12:36:39 -07:00
Zachary Ware 6b8626628d Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h 2014-06-06 01:13:37 -05:00
Terry Jan Reedy 562495ab61 Issue #18910: Add unittest for textView. Patch by Phil Webster. 2014-06-05 03:38:28 -04:00
Terry Jan Reedy 6e66cb03b7 Issue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar. 2014-06-04 20:50:49 -04:00
Terry Jan Reedy 8ba9e450c9 Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster. 2014-06-03 20:54:15 -04:00
Terry Jan Reedy a4b538df75 Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier. 2014-06-02 20:42:48 -04:00
Zachary Ware 9ce635f7bd Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:16 -05:00
Serhiy Storchaka 79fa98af9e Issue #19656: Running Python with the -3 option now also warns about
non-ascii bytes literals.
2014-06-01 22:13:39 +03:00
Serhiy Storchaka e75a555073 Issue #21605: Added tests for Tkinter images. 2014-06-01 12:34:42 +03:00
Benjamin Peterson 48f2e99808 backport hashlib.pbkdf2_hmac per PEP 466 (closes #21304)
Backport by Alex Gaynor.
2014-05-31 13:26:22 -07:00
Benjamin Peterson 15e5a165d0 merge 2.7.7 release branch 2014-05-31 11:24:25 -07:00
Benjamin Peterson de50cdfcf9 fix news header 2014-05-31 11:22:47 -07:00
Benjamin Peterson 9c70397ea3 bump to 2.7.7 final 2014-05-31 11:17:34 -07:00
Serhiy Storchaka 2a0220b18a Issue #21552: Fixed possible integer overflow of too long string lengths in
the Tkinter module on 64-bit platforms.
2014-05-30 14:23:52 +03:00
Gregory P. Smith 0344a0643d Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:41:52 -07:00
Serhiy Storchaka edb6428e43 Issue #21402: tkinter.ttk now works when default root window is not set. 2014-05-28 18:38:15 +03:00
Serhiy Storchaka 49b2086a2e Issue #21493: Added test for ntpath.expanduser(). Original patch by
Claudiu Popa.
2014-05-28 18:11:08 +03:00
Serhiy Storchaka 30080fd63d Issue #10203: sqlite3.Row now truly supports sequence protocol. In particular
it supports reverse() and negative indices.  Original patch by Claudiu Popa.
2014-05-28 12:57:38 +03:00