Benjamin Peterson
15773c893f
just skip this test on Solaris
2014-05-17 16:07:53 -07:00
Benjamin Peterson
6800d93eec
some platforms apparently don't care about fdopen'ing with a different mode
2014-05-17 15:50:38 -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
Terry Jan Reedy
fb371afaac
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:49:57 -04:00
Victor Stinner
4c5eced9f2
Issue #21488 : Oops, the patch for codecs.encode/decode doc was written by
...
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.
2014-05-14 23:28:48 +02:00
Victor Stinner
07b16159b8
Issue #21488 : Fix doc of codecs.decode() and codecs.encode(), no keyword support.
...
Patch written by Brad Aylsworth.
2014-05-14 17:07:08 +02:00
R David Murray
0eb9ee97b8
#21347 : use string not list in shell=True example.
...
Patch by Akira.
2014-05-14 10:09:21 -04: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
c5945966ae
whitespace
2014-05-11 23:37:26 -04: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
8c166055f9
use logical rather than bit and
2014-05-11 16:17:02 -07:00
Benjamin Peterson
3428620b2b
this file now has utf-8 chars
2014-05-11 16:16:27 -07:00
Benjamin Peterson
a1ccfb513b
cast away warnings
2014-05-11 16:14:00 -07: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
Benjamin Peterson
e9314e4a3c
remove confusing delete indexing ( closes #21466 )
2014-05-11 11:18:51 -07:00
Steve Dower
bd2ab52957
Issue #21476 Include idle icon files in Windows installer
2014-05-10 21:25:54 -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
Zachary Ware
4773b908b1
Add prompts to interactive example.
...
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
2014-05-06 09:18:17 -05:00
Zachary Ware
1512143ef0
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:13 -05:00
Raymond Hettinger
93434890dc
Issue 21375: Fix possible Py_ssizet overflow in heapq.
2014-05-03 15:27:14 -07:00
Zachary Ware
2460dc880f
Issue #18604 : Consolidated checks for GUI availability.
...
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in runtktests.check_tk_availability. Also, every platform checks whether
Tk can be instantiated (if the platform-specific checks passed).
2014-05-02 10:33:49 -05:00
Tim Golden
e9864c5e30
Issue #19630 Emphasise that the file parameter to marshal.dump must be a real file object
2014-04-29 16:11:18 +01:00
Antoine Pitrou
3ec903fce4
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
Terry Jan Reedy
f3ae10e7ca
Closes #21055 : Index (augmented) assignment symbols.
2014-04-29 01:19:05 -04:00
Terry Jan Reedy
cd3d741451
Closes 21048: Index 'as' in import and with statements.
2014-04-29 00:58:48 -04:00
Terry Jan Reedy
0fe1d0a597
Closes #21026 : Augment site doc based on experiments. Patch by Carol Willing.
2014-04-29 00:31:46 -04:00
Andrew Kuchling
b7967ccb40
#21225 : copy docstrings from base classes
2014-04-25 09:29:30 -04:00
Tim Golden
700c8fe2ba
Issue #9291 Add ACKS & NEWS
2014-04-27 16:39:33 +01:00
Tim Golden
3c5816f5e6
Issue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik
2014-04-27 16:36:47 +01:00
R David Murray
9b244ad12d
#18243 : Remove obsolete cautionary note from email mktime_tz docs.
2014-04-26 19:05:03 -04:00
Stefan Krah
32ae4378b9
Issue #17145 : Document array.array buffer interface limitations.
2014-04-26 22:50:25 +02:00
Terry Jan Reedy
807c9da951
Issue #18944 : backport typo fix
2014-04-26 13:55:59 -04:00
Tim Golden
d6a1b2ba95
Add NEWS entry for issue21349
2014-04-26 16:02:38 +01:00
Tim Golden
3c603f3618
Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError where it previously crashed the interpreter. Patch by Brian Kearns
2014-04-26 15:47:08 +01:00
Kristján Valur Jónsson
be580f2e48
Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize
2014-04-25 09:51:21 +00:00
Zachary Ware
4e0df17bd7
Issue #21346 : Fix typos in test_itertools. Patch by Brian Kearns.
2014-04-24 13:20:27 -05:00
Benjamin Peterson
10c7781b90
fix off-by-one error ( closes #21330 )
2014-04-22 21:54:10 -04:00
Zachary Ware
c6606edc86
Issue #21303 , #20565 : Updated the version of Tcl/Tk used on Windows
...
from 8.5.2 to 8.5.15.
2014-04-22 15:36:11 -05:00
Terry Jan Reedy
46b6c086d3
Issue #21138 : Change default reformat paragraph width to PEP 8's 72.
2014-04-22 01:26:35 -04:00
Terry Jan Reedy
0edf52a2c2
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:10:57 -04:00
Ned Deily
8488901282
Issue #21311 : Avoid exception in _osx_support with non-standard compiler
...
configurations. Patch by John Szakmeister.
2014-04-19 13:24:03 -07:00
doko@ubuntu.com
f27ec3e551
- Issue #21285 : Refactor and fix curses configure check to always search
...
in a ncursesw directory.
2014-04-17 20:11:19 +02:00
R David Murray
dd967efae9
#18628 : clarify index entry for source file encoding declaration.
2014-04-16 21:57:38 -04:00
Terry Jan Reedy
0d1e44b61e
#18566 : Whitespace
2014-04-15 23:44:10 -04:00