Benjamin Peterson
550b945fd6
avoid overflow with large buffer sizes and/or offsets ( closes #21831 )
2014-06-23 20:12:27 -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
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
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
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
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
Raymond Hettinger
fb8899a597
Issue #21481 : Teach argparse equality tests to return NotImplemented when comparing to unknown types.
2014-05-26 00:40:09 -07:00
Raymond Hettinger
f643b9a9c7
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
2014-05-25 22:13:41 -07:00
Raymond Hettinger
92df7529cb
Issue 13355: Make random.triangular degrade gracefully when low == high.
2014-05-25 17:40:25 -07:00
Serhiy Storchaka
1f94efc626
Issue #19925 : Added tests for the spwd module. Original patch by Vajrasky Kok.
2014-05-25 16:21:32 +03:00
Serhiy Storchaka
4f0e167414
Issue #21522 : Added Tkinter tests for Listbox.itemconfigure(),
...
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:08:31 +03:00
Serhiy Storchaka
f19771f831
Issue #20635 : Added tests for Tk geometry managers.
2014-05-23 13:54:35 +03:00
Antoine Pitrou
ab4a69158b
Issue #21523 : Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
...
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00
Benjamin Peterson
56032ce373
2.7.8 news section
2014-05-22 14:08:14 -07:00
Benjamin Peterson
996bf4828d
bump to 2.7.7rc1
2014-05-17 17:31:50 -07:00
Benjamin Peterson
d3d23636cb
support pep 3118 format strings for ctypes objects with nontrivial shapes ( closes #10744 )
...
Patch from Matti Picus.
2014-05-17 14:57:10 -07:00
Benjamin Peterson
c2a66f20ea
reindent for consistency
2014-05-17 14:53:04 -07:00
Ned Deily
78cceec1c0
Document changes to OS X installer configurations for 2.7.7.
...
As of 2.7.8, the 32-bit-only installer will support OS X 10.5
and later systems as is currently done for Python 3.x installers.
For 2.7.7 only, we will provide three installers:
the legacy deprecated 10.3+ 32-bit-only format;
the newer 10.5+ 32-bit-only format;
and the unchanged 10.6+ 64-/32-bit format.
Although binary installers will no longer be available from
python.org as of 2.7.8, it will still be possible to build from
source on 10.3.9 and 10.4 systems if necessary.
2014-05-17 14:29:22 -07:00
Senthil Kumaran
36f28f7ae8
Backport Fix for Issue #7776 : Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
...
Patch by Nikolaus Rath.
2014-05-16 18:51:46 -07:00
Raymond Hettinger
ddb39e799d
Issue #21470 : Do a better job seeding the random number generator
...
to fully cover its state space.
2014-05-13 22:09:23 -07:00
Raymond Hettinger
a5413c4997
Issue 21469: Mitigate risk of false positives with robotparser.
...
* Repair the broken link to norobots-rfc.txt.
* HTTP response codes >= 500 treated as a failed read rather than as a not
found. Not found means that we can assume the entire site is allowed. A 5xx
server error tells us nothing.
* A successful read() or parse() updates the mtime (which is defined to be "the
time the robots.txt file was last fetched").
* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response. This avoids false positives in the case where a user calls
can_fetch() before calling read().
* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
2014-05-12 22:18:50 -07:00
Terry Jan Reedy
00b0bd55b4
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:20 -04:00
Benjamin Peterson
629026aecc
backport hmac.compare_digest to partially implement PEP 466 ( closes #21306 )
...
Backport from Alex Gaynor.
2014-05-11 16:11:44 -07:00
Brian Curtin
d67c0b88ef
Backport 4e9f1017355f from #3561 .
...
This brings the option to install Python on the Windows Path.
Committed per Benjamin Peterson's approval on python-dev.
2014-05-10 12:52:59 -05:00
Antoine Pitrou
b0acc1b0a3
Issue #21350 : Fix file.writelines() to accept arbitrary buffer objects, as advertised.
...
Patch by Brian Kearns.
2014-05-08 19:26:04 +02:00
doko@ubuntu.com
9ba90c9f06
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 04:41:26 +02:00