Commit graph

75856 commits

Author SHA1 Message Date
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
Trent Nelson
ee528cccde Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.
Reported by: Ned Deily.
2012-10-17 04:23:50 -04:00
Eric Snow
547298c94c Close #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing. 2012-10-16 22:35:38 -07:00
R David Murray
e54c718572 A couple more whatsnew updates. 2012-10-16 21:52:24 -04:00
Antoine Pitrou
0c7081aff4 Merge for issue #15744: add tests for the writelines() method of file objects. 2012-10-16 23:05:01 +02: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
Ezio Melotti
ad626807a6 Fix typo. 2012-10-16 21:50:33 +03:00
Trent Nelson
ce5a56e985 Merge heads. 2012-10-16 11:10:40 -04:00
Trent Nelson
56d4c03cb2 Merge issue #15819: tweak logic in previous commit. 2012-10-16 11:07:31 -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
Nick Coghlan
d6d5cf33ef A dict comprehension is much prettier (thanks Antoine) 2012-10-16 23:14:03 +10:00
Trent Nelson
5ecd00402e Merge heads. 2012-10-16 08:56:41 -04:00
Trent Nelson
4d4ec6502d Merge 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.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:51:24 -04:00
Nick Coghlan
f06ea25df2 Tweak the threaded example in concurrent.futures 2012-10-16 22:50:04 +10: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
Trent Nelson
c101bf32c4 Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Trent Nelson
8a42022748 Merge heads. 2012-10-16 07:48:34 -04:00
Trent Nelson
d783c8ed00 Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.

This fixes a regression introduced by 3.3.  Patch by Charles-François Natali.
2012-10-16 07:47:34 -04:00
Andrew Svetlov
2bfe386091 Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion 2012-10-16 13:52:25 +03:00
Andrew Svetlov
ae1d185750 Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion 2012-10-16 13:51:26 +03:00
Andrew Svetlov
8a9d370a2b Issue #15936: Add link from os.urandom to random.SystemRandom 2012-10-16 13:23:15 +03:00
Andrew Svetlov
03cb99c2d1 Issue #15936: Add link from os.urandom to random.SystemRandom 2012-10-16 13:15:06 +03:00
Vinay Sajip
e7e7af4558 Issue #16244: Merged change from 3.2. 2012-10-16 10:32:13 +01:00
Vinay Sajip
ee892b9226 Issue #16244: Remove file mode overrides. 2012-10-16 10:28:31 +01:00
Vinay Sajip
94540d4031 Issue #16244: Remove file mode overrides. 2012-10-16 10:27:00 +01:00
Chris Jerdonek
0cffd6be56 Issue #16225: Backport from 3.2: Add additional note to tutorial about looping. 2012-10-15 20:01:38 -07:00
Chris Jerdonek
38049bb251 Issue #16225: Merge from 3.2: Add additional note to tutorial about looping. 2012-10-15 19:46:34 -07:00
Chris Jerdonek
4fab8f0e06 Issue #16225: Add additional note to tutorial about changing sequence while looping. 2012-10-15 19:44:47 -07:00
Benjamin Peterson
fd6d3b149f fix typo 2012-10-15 22:29:02 -04:00
Benjamin Peterson
ca01a76878 don't expect warnings from doctests if they can't run 2012-10-15 20:38:21 -04:00
Chris Jerdonek
d7d9a44226 Issue #16227: Add to 2.x Unicode HOWTO a link to the Python 3 version. 2012-10-15 17:12:17 -07:00
Chris Jerdonek
def5df6c53 Issue #16206: Backport dict documentation improvements from 3.2.
Improve the documentation of the dict constructor.  This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
2012-10-13 03:49:30 -07:00
Chris Jerdonek
39b867000b Issue #16206: Merge dict documentation improvements from 3.2.
Improve the documentation of the dict constructor.  This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
2012-10-13 03:25:18 -07:00
Chris Jerdonek
f341317185 Issue #16206: Improve the documentation of the dict constructor.
This change includes replacing the single-line signature documentation
with a more complete multiple-line signature.
2012-10-13 03:22:33 -07:00
Chris Jerdonek
006d907afc Undo changes accidentally reverted in de8787029fe4. 2012-10-12 20:28:26 -07:00
Raymond Hettinger
d9edd82b7f String exceptions aren't just deprecated, they are gone. 2012-10-12 19:44:35 -07:00
Gregory P. Smith
99716166b1 Fixes Issue #12268 for the io module - File readline, readlines and
read or readall methods no longer lose data when an underlying read
system call is interrupted within an io module object.  IOError is no
longer raised due to a read system call returning EINTR from within
these methods.

This is a backport of changeset 781b95159954 from 3.2.
The earlier 2.7 changeset 67dc99a989cd already fixed this for the
builtin python 2.x file object.
2012-10-12 13:02:06 -07:00
Benjamin Peterson
b548d49f65 merge heads 2012-10-12 12:05:01 -04:00
Benjamin Peterson
143d034ecd merge 3.2 2012-10-12 12:04:32 -04:00
Benjamin Peterson
7a9953edfb skip if __doc__ is gone 2012-10-12 11:44:19 -04:00
Benjamin Peterson
951a9e381b fix to work if __doc__ is removed 2012-10-12 11:44:10 -04:00
Ezio Melotti
1dd7c30419 Merge __next__ method link fixes with 3.2. 2012-10-12 13:45:38 +03:00