Georg Brandl
a1ff83e556
merge 3.2 heads
2012-10-10 16:49:02 +02:00
Georg Brandl
3a2e101be5
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
Gregory P. Smith
5591b02a4c
Fixes Issue #16114 : The subprocess module no longer provides a
...
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
It now keeps track of if the child got as far as preexec and reports it if
not back to the parent via a special "noexec" error message value in
the error pipe so that the cwd can be blamed for a failed chdir
instead of the exec of the executable being blamed instead.
The executable is also always reported accurately when exec fails.
Unittests enhanced to cover these cases.
2012-10-10 03:34:47 -07:00
Andrew Svetlov
a256841b4b
Issue #16174 : Fix suggested usage of dummy_threading module.
...
Patch by Berker Peksag.
2012-10-09 13:44:16 +03:00
Senthil Kumaran
1ed9847a5a
Fix Issue 15922: make howto/urllib2.rst doctests pass.
...
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:37:09 -07:00
Vinay Sajip
b5ca932be2
Issue #16168 : Use specified socket type for domain sockets in SysLogHandler.
2012-10-09 08:19:25 +01:00
Chris Jerdonek
470ee39883
Issue #16115 : Improve subprocess.Popen() documentation around args, shell, and executable arguments.
2012-10-08 23:06:57 -07:00
Hynek Schlawack
0230b6af78
#13498 : Clarify docs of os.makedirs()'s exist_ok argument.
...
Done with great native-speaker help from R. David Murray.
2012-10-07 18:04:38 +02:00
Chris Jerdonek
83fe2e1c22
Issue #14783 : Improve int() docstring and also str(), range(), and slice().
...
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036 . It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
2012-10-07 14:48:36 -07:00
Andrew Svetlov
c3e5b10ae7
Issue #14900 : Add aliases for sorting params for pstat to follow column names from pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 19:18:39 +03:00
Andrew Svetlov
2ef4584e6d
Issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:58:42 +03:00
R David Murray
138a314d1a
#9957 : document that SpooledTemporaryFile.truncate does not take size arg
2012-10-06 18:26:56 -04:00
Georg Brandl
4614cc4f7f
Closes #16149 : remove now-false statement about the inability to compare Decimal and float objects.
2012-10-06 13:48:39 +02:00
Andrew Svetlov
b2209ccfa0
revert accidental inclusion of subprocess tests
2012-10-06 18:45:24 +03:00
Andrew Svetlov
afbf90c993
Issue #16025 : Minor corrections to the zipfile documentation.
...
Patch by Serhiy Storchaka.
2012-10-06 18:02:05 +03:00
Ezio Melotti
cbd449b416
The file obj passed to ftp.storbinary/storlines must be opened in binary mode.
2012-10-05 14:09:59 +03:00
Andrew Svetlov
8cf1cc498f
Issue #16138 : fix typo.
2012-10-05 13:26:10 +03:00
Jesus Cea
685fffa8f4
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
2012-10-05 05:21:42 +02:00
Jesus Cea
adc8211e00
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' and decode the bytes
2012-10-05 04:58:38 +02:00
Andrew Svetlov
4ca222d4d5
Issue #14997 : disable <F5> in idle shell window.
...
Thanks to Roger Serwy for patch.
2012-10-04 22:48:34 +03:00
Jesus Cea
fc990e942f
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:51:43 +02:00
Jesus Cea
cf45325b61
Closes #15897 : zipimport.c doesn't check return value of fseek(). Typo
2012-10-03 03:16:42 +02:00
Jesus Cea
83451a2b40
Fix Misc/ACKS alphabetic order
2012-10-03 02:14:14 +02:00
Jesus Cea
09bf7a799d
Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 02:13:05 +02:00
Andrew Svetlov
f532035551
Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:39:25 +03:00
Ezio Melotti
d0fe3e5abb
#15979 : improve timeit documentation.
2012-10-02 05:35:39 +03:00
R David Murray
6db2335f77
Fix sqlite3 class markup.
2012-09-30 20:44:43 -04:00
Ezio Melotti
cb2916a714
#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
Chris Jerdonek
c2cd626497
Issue #15533 : Skip test_cwd_with_relative_*() tests on Windows pending resolution of issue.
2012-09-30 09:45:00 -07:00
Chris Jerdonek
ec3ea94251
Issue #15533 : Clarify docs and add tests for subprocess.Popen()'s cwd argument.
2012-09-30 00:10:28 -07:00
Antoine Pitrou
f727082b71
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.
2012-09-30 01:05:30 +02:00
Gregory P. Smith
93b5b33e65
merge heads
2012-09-29 11:56:56 -07:00
Gregory P. Smith
3905171f1e
Fixes 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 11:40:38 -07:00
R David Murray
1a1883d566
#16085 : Don't promote shadowing builtins in the configparser example.
2012-09-29 14:40:23 -04:00
R David Murray
5320250485
#16071 : fix more email.message links in mailbox docs.
2012-09-28 15:19:16 -04:00
R David Murray
c5fe4073af
#16071 : fix links to email.message.Message in mailbox docs.
2012-09-28 15:09:31 -04:00
Jesus Cea
33b5769db5
Closes #15953 : Incorrect some fields declaration in the PyTypeObject documentation
2012-09-28 16:34:45 +02:00
Chris Jerdonek
fd448daf77
Close issue #16073 : fix map() example in list comprehension documentation.
...
Thanks for the e-mail report to docs@.
2012-09-28 07:07:12 -07:00
Michael Foord
7a1901f861
Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call
2012-09-28 14:14:03 +01:00
Chris Jerdonek
57491e0703
Issue #16036 : Improve documentation of built-in int()'s signature and arguments.
2012-09-28 00:10:44 -07:00
Petri Lehtinen
f39884bb5a
#15222 : Insert blank line after each message in mbox mailboxes
2012-09-25 22:02:06 +03:00
Petri Lehtinen
468091954f
#15222 : test_mailbox: End message template in a newline
2012-09-25 21:58:51 +03:00
Benjamin Peterson
1654d74e9a
switch assertion to an explicit ValueError
2012-09-25 11:48:50 -04:00
Benjamin Peterson
a820c7ca70
fix test_compileall when run with -O[O]
2012-09-25 11:42:35 -04:00
Benjamin Peterson
d388c4e02f
use modern conditional syntax
2012-09-25 11:01:41 -04:00
Barry Warsaw
1dedd0a4a4
- Issue #15935 : Clarification of argparse docs, re: add_argument() type and
...
default arguments. Patch contributed by Chris Jerdonek.
2012-09-25 10:37:58 -04:00
Chris Jerdonek
df12f2bbb6
Issue #16015 : Make welcome message more realistic in tutorial example.
2012-09-25 04:20:29 -07:00
Senthil Kumaran
67b7b98a47
Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:30:27 -07:00
Chris Jerdonek
9bb56a66c5
Issue #16015 : Fix NameError doctest example in tutorial introduction.
2012-09-24 19:28:59 -07:00
Mark Dickinson
05ee5817a1
Issue #14167 : restore statement about breaks in finally clauses.
2012-09-24 20:16:38 +01:00