Commit graph

68714 commits

Author SHA1 Message Date
Ezio Melotti
837cd06d36 #16210: combine the two type() docs. Patch by Pete Sevander. 2012-10-24 23:06:25 +03:00
Ezio Melotti
b8fbff889f #16210: combine the two type() docs. Patch by Pete Sevander. 2012-10-24 23:01:30 +03:00
Petri Lehtinen
9ad6a563a7 #15040: Close files in mailbox tests for PyPy compatibility
Original patch by Matti Picus.
2012-10-23 14:42:13 +03:00
Ned Deily
fdf0f274e6 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:14:31 -07:00
Ned Deily
e3d47128c5 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:13:01 -07:00
Jesus Cea
af38774b5f Closes #16294: 8 space indent in tutorial 2012-10-22 13:15:17 +02:00
Jesus Cea
3dd8cbea9b Closes #16294: 8 space indent in tutorial 2012-10-22 13:14:20 +02:00
Nadeem Vawda
45dba1da32 Issue #14398: Fix size truncation and overflow bugs in bz2 module. 2012-10-21 23:09:08 +02:00
Matthias Klose
c4c4842d86 - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. 2012-10-21 23:05:35 +02:00
Nadeem Vawda
5f8f0d6777 Issue #14398: Fix size truncation and overflow bugs in bz2 module. 2012-10-21 21:13:27 +02:00
Nadeem Vawda
dd72b3f6b7 Issue #5148: Ignore 'U' in mode given to gzip.open() and gzip.GzipFile(). 2012-10-21 18:15:05 +02:00
Antoine Pitrou
66510fedb4 Fix whacky spacking in test_wsgiref 2012-10-21 14:13:32 +02:00
Antoine Pitrou
c30848344c Fix whacky spacing in test_wsgiref 2012-10-21 14:10:29 +02:00
Antoine Pitrou
ae247a5ff6 Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Antoine Pitrou
e97a24d06a Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Ned Deily
2778d0d147 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:25:34 -07:00
Ned Deily
c859bd2b28 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:23:25 -07:00
Nick Coghlan
557c76c136 Fix compilation on Windows 2012-10-20 11:43:58 +10:00
Nick Coghlan
62b4136277 Fix broken test and replace redundant generator with a tuple 2012-10-20 00:03:46 +10:00
Nick Coghlan
33b0fc2304 No reason to use a generator here 2012-10-19 23:59:35 +10:00
Nick Coghlan
c71b4c7198 Issue #6074: Actually delete the source file in the test as intended 2012-10-19 23:38:36 +10:00
Nick Coghlan
097708aef6 Issue #6074: Actually delete the source file in the test as intended 2012-10-19 23:17:48 +10:00
Nick Coghlan
34937ce249 Issue #6074: Forward port Windows read-only source file fix from 2.7 2012-10-19 22:38:14 +10:00
Nick Coghlan
b48c028ca7 Issue #6074: Restore the long-broken support for running with read-only source files on Windows 2012-10-19 21:58:18 +10:00
Giampaolo Rodola'
2d51f687e1 Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. 2012-10-19 13:40:28 +02:00
Mark Dickinson
91044799f7 Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof(long). 2012-10-18 19:21:43 +01:00
Trent Nelson
02f69f6965 Issue #16274: revert r79813:90a46f8943d0 changes to asyncore/test_asyncore.
The backport from 3.2 included a few things not appropriate for 2.7.
2012-10-18 07:44:43 -04:00
Trent Nelson
0622f6c14c Issue #16274: backport of 3.2's asyncore/test_asyncore to 2.7.
This fixes failing tests on Solaris 10.
2012-10-18 06:08:01 -04:00
Trent Nelson
6a7f8670dd Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-18 01:35:32 -04:00
Chris Jerdonek
5bf7f1f6e3 Clarify universal-newline wording in tutorial (issue #16266). 2012-10-17 20:17:41 -07:00
Trent Nelson
34562e115b Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them. 2012-10-17 18:01:12 -04:00
Andrew Svetlov
0dccbe1387 null merge 2012-10-17 17:20:46 +03:00
Andrew Svetlov
abfc7df149 Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
2012-10-17 17:15:43 +03:00
Andrew Svetlov
f892597eb5 Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
2012-10-17 17:14:28 +03:00
Antoine Pitrou
1eff0fc3cd Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. 2012-10-17 16:12:30 +02:00
Andrew Svetlov
e9cf97cf20 Issue #16265: Fix collapsing of code sample in tutorial.
Thanks to Yongzhi Pan from docs@
2012-10-17 16:41:28 +03:00
Trent Nelson
45bb613e25 Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-17 06:15:15 -04:00
Trent Nelson
739fc541b1 Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:45:30 -04:00
Trent Nelson
abf205149c Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:32:49 -04:00
Antoine Pitrou
3ed2cb5520 Also add tests for TextIOWrapper.writelines() (issue #15744). 2012-10-16 23:02:27 +02:00
Antoine Pitrou
eadca1defa Also add tests for TextIOWrapper.writelines() (issue #15744). 2012-10-16 23:02:27 +02:00
Antoine Pitrou
131a489903 Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.
2012-10-16 22:57:11 +02:00
Antoine Pitrou
78e761eafe Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.
2012-10-16 22:57:11 +02:00
Trent Nelson
ce5a56e985 Merge heads. 2012-10-16 11:10:40 -04:00
Trent Nelson
6603118125 Issue #15819: tweak logic in previous commit (617591e7d708). 2012-10-16 11:04:04 -04:00
Trent Nelson
fcb009c9d6 Issue #15819: tweak logic in previous commit (e0a2b14a3cf9). 2012-10-16 10:52:35 -04:00
Benjamin Peterson
ba6a6cfbbc merge heads 2012-10-16 09:52:02 -04:00
Benjamin Peterson
bf67ba8f84 only run doctests when __doc__ is around 2012-10-16 09:51:46 -04:00
Trent Nelson
d86ceecf21 Issue #15819: additional fixes for out-of-tree builds from read-only src.
Unlike 3.2, 3.3 and 3.x, which add "-IObjects -IPython -IInclude" to
BASECPPFLAGS when building out-of-tree, 2.7 only needs to add -IInclude
(for Python-ast.h and graminit.h).
2012-10-16 09:42:45 -04:00
Trent Nelson
9effe699b7 Issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.
2012-10-16 08:41:32 -04:00