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
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
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
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
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
Chris Jerdonek
2aa5afab4e
Issue #16199 : Backport 2to3 typo fix from 3.2.
2012-10-11 16:15:46 -07:00
Brian Curtin
c1924ab729
Fix #16176 . Properly identify Windows 8 via platform.platform()
...
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
2012-10-11 16:16:50 -05:00
Chris Jerdonek
1e65159b34
Backport from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.
2012-10-10 22:58:57 -07:00
Chris Jerdonek
2a6672b100
Issue #16115 : Backport subprocess.Popen() documentation improvements from 3.2.
2012-10-10 17:55:41 -07:00
Chris Jerdonek
cfb01a5ad0
Issue #12947 : Backport doctest documentation change from 3.3.
2012-10-10 08:39:34 -07:00
Georg Brandl
a11c1fcd20
Missed one instance of code-block:: text highlighting to revert.
2012-10-10 16:56:15 +02:00
Georg Brandl
7495456ffc
Issue #12947 : revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs.
2012-10-10 16:45:11 +02:00
Chris Jerdonek
d469c400ed
Issue #12947 : Backport doctest documentation improvements from 3.3.
2012-10-10 07:13:56 -07:00
Senthil Kumaran
7c06801638
Fix Issue 15922: make howto/urllib2.rst doctests pass.
...
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 01:03:35 -07:00
Vinay Sajip
6ecdb58154
Issue #16168 : Use specified socket type for domain sockets in SysLogHandler.
2012-10-09 08:17:41 +01:00
Chris Jerdonek
1906c0c992
Issue #16115 : Backport subprocess.Popen() documentation improvements from 3.2.
2012-10-08 23:18:17 -07:00
Chris Jerdonek
ad4b000179
Issue #14783 : Backport changes from 3.2.
2012-10-07 20:37:54 -07:00
Andrew Svetlov
e4831f6b12
Issue #14900 : Add aliases for sorting params for pstat to follow column names from pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 19:17:15 +03:00
Andrew Svetlov
75033a38d9
Issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:57:21 +03:00
Mark Dickinson
313dc9b812
Clean up a test turd.
2012-10-07 15:41:38 +01:00
R David Murray
fefd3ac04c
#9957 : document that SpooledTemporaryFile.truncate does not take size arg
2012-10-06 18:26:40 -04:00
Andrew Svetlov
8c4419304d
Issue #16025 : Minor corrections to the zipfile documentation.
...
Patch by Serhiy Storchaka.
2012-10-06 18:01:05 +03:00
Jesus Cea
2699c9d248
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
2012-10-05 05:18:47 +02:00
Jesus Cea
69e7c9b1fd
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()'
2012-10-05 04:50:17 +02:00
Andrew Svetlov
45c0766c02
Issue #14997 : disable <F5> in idle shell window.
...
Thanks to Roger Serwy for patch.
2012-10-04 22:52:07 +03:00
Jesus Cea
debda5d4e2
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Solve a 2.7 bootstrap issue
2012-10-04 15:14:56 +02:00
Jesus Cea
3e94e14a68
Backed out changeset 5abacebec9d2
2012-10-04 15:06:57 +02:00
Jesus Cea
82a3924122
Backed out changeset c73b90b6dadd
2012-10-04 14:22:16 +02:00
Jesus Cea
95038fa526
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:46:33 +02:00
Nick Coghlan
7c0a87f211
Issue #12947 : Better workaround for the problem with doctest directives being stripped from code examples that are intended to illustrate those directives
2012-10-03 13:48:17 +05:30
Nick Coghlan
a42709e6bb
Issue #12947 : Add a note to doctest until the example rendering is fixed
2012-10-03 12:18:23 +05:30
Jesus Cea
364f79d7b3
Fix Misc/ACKS alphabetic order
2012-10-03 02:14:14 +02:00
Jesus Cea
e884be67bd
Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 02:13:05 +02:00
Ezio Melotti
31a9e83d7d
#15979 : improve timeit documentation.
2012-10-02 05:34:38 +03:00
Chris Jerdonek
71d74b0c4e
Close #16036 : Backport 3.x documentation improvement.
...
See changeset 6ccb04c4cbae for the corresponding 3.3 change.
2012-09-30 21:07:56 -07:00
R David Murray
95d7cdfd7b
Fix sqlite3 class markup.
2012-09-30 21:04:46 -04:00
Ezio Melotti
c820de5e60
#15923 : fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801 ).
2012-09-30 22:41:37 +03:00
Georg Brandl
2fbe856dc6
Commit current version of the doc "dailybuild" script.
2012-09-30 09:03:09 +02:00
Georg Brandl
e8b2b67950
Doc sidebar: point to 3.4 as dev.
2012-09-30 08:59:31 +02:00
Gregory P. Smith
3547a348eb
merge heads
2012-09-29 12:03:12 -07:00
Gregory P. Smith
0798cbc1df
Issue #15756 : subprocess.poll() now properly handles errno.ECHILD to
...
return a returncode of 0 when the child has already exited or cannot
be waited on.
2012-09-29 12:02:48 -07:00
Chris Jerdonek
fab57ccd13
Close issue #16077 : fix code example in documentation of reduce() built-in (from docs@).
2012-09-29 11:51:37 -07:00