Éric Araujo
60532bd6b6
Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto ( #9558 ).
2010-12-15 21:07:22 +00:00
Éric Araujo
4433a5fdc0
Fix wrong name in docstring and doc ( #10693 ). Original patch by Eli Bendersky.
2010-12-15 20:26:30 +00:00
Terry Reedy
17a59252e8
Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
2010-12-15 20:18:10 +00:00
Alexander Belopolsky
50ba19ee45
Use sentence case in section titles consistently
2010-12-15 19:47:37 +00:00
Raymond Hettinger
99db3fd03b
Elaborate on the calculation used in the random module.
2010-12-15 19:33:49 +00:00
Éric Araujo
67f0b6c5f2
Use nested method directives, rewrap long lines, fix whitespace.
2010-12-15 19:30:15 +00:00
Raymond Hettinger
e434b3b681
Add intro to the changed modules section.
2010-12-15 19:20:01 +00:00
Éric Araujo
d00862ac27
Improve trace documentation ( #9264 ). Patch by Eli Bendersky.
2010-12-15 19:09:58 +00:00
Antoine Pitrou
b8eb9cbd71
Move the urllib-inherited API to a distinguished section
2010-12-15 19:07:26 +00:00
Raymond Hettinger
0358a17838
Move email section in with other modules. Fix markup.
2010-12-15 19:00:38 +00:00
Raymond Hettinger
a55ffbc84e
Minor regroupings.
2010-12-15 18:31:57 +00:00
Raymond Hettinger
bba537bc96
Adopt Antoine's suggestion to improve readability with module subsections.
2010-12-15 18:20:19 +00:00
Raymond Hettinger
e0a960012f
Add entries for the random module and the collections module.
2010-12-15 17:54:13 +00:00
Raymond Hettinger
96f3410ebe
Issue 10667: Fast path for collections.Counter
2010-12-15 16:30:37 +00:00
Antoine Pitrou
779f19e7a7
I don't think we need to ship the comp.lang.python RFD these days.
2010-12-15 15:48:20 +00:00
Antoine Pitrou
3cbb24d34c
Encourage --with-pydebug rather than individual setting of debug options.
2010-12-15 15:47:34 +00:00
Antoine Pitrou
0592be8f60
Remove outdated compatibility file.
2010-12-15 15:42:59 +00:00
Antoine Pitrou
00c6b62939
Issue #10706 : Remove outdated script runtests.sh. Either `make test`
...
or `python -m test` should be used instead.
2010-12-15 15:33:18 +00:00
Senthil Kumaran
bd8f1458f8
TIMEOUT value change in URLTimeout Test. test.support.transient_internet has a
...
socket timeout of 30 when it checks for resource. Explicit overrding (like
setting the 10) wont exhibit consistent behavior when tests are outside context
manager. So, settting it 30.
2010-12-15 04:02:45 +00:00
Andrew M. Kuchling
42877fec3a
Typo fix
2010-12-15 02:37:01 +00:00
R. David Murray
d89bc3ff59
#10705 : document what the values of debuglevel are and mean.
2010-12-15 02:19:14 +00:00
R. David Murray
ce4b170c5a
#4236 : avoid possible Fatal Error when import is called from __del__
...
Patch by Simon Cross, crasher test code by Martin von Löwis.
2010-12-14 23:06:25 +00:00
R. David Murray
95333e3aa9
More comprehensive compileall cli tests, and fixes.
2010-12-14 22:32:50 +00:00
Antoine Pitrou
e7fed67279
Freshen README contents
2010-12-14 22:06:10 +00:00
Raymond Hettinger
ffad35ef27
Nits
2010-12-14 21:12:03 +00:00
Vinay Sajip
9a6b400a59
Logging documentation update.
2010-12-14 19:40:21 +00:00
Gregory P. Smith
31d04f2183
SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)
2010-12-14 18:18:49 +00:00
R. David Murray
ec07331eea
#775964 : skip YP/NIS entries instead of failing the test
...
Also includes doc updates mentioning that these entries may not
be retrievable via getgrnam and getgrgid.
Patch by Bobby Impollonia.
2010-12-14 16:20:53 +00:00
Gregory P. Smith
a80f4fb048
Fix "BytesWarning: str() on a bytes instance"
2010-12-14 15:23:02 +00:00
Gregory P. Smith
e85db2bbb8
Issue #1731717 : Fixed the problem where subprocess.wait() could cause an
...
OSError exception when The OS had been told to ignore SIGCLD in our process
or otherwise not wait for exiting child processes.
2010-12-14 14:38:00 +00:00
R. David Murray
32ef70c827
#10695 : use %s not %d so that a string 'port' does not cause a debug traceback
...
Passing the port as a string value works fine in regular mode, but
if you turned debug on it would throw an error trying to print the
port number, which is surprising and confusing.
2010-12-14 14:16:20 +00:00
Gregory P. Smith
8edd99d085
Issue #6559 : fix the subprocess.Popen pass_fds implementation. Add a unittest.
...
Issue #7213 : Change the close_fds default on Windows to better match the new
default on POSIX. True when possible (False if stdin/stdout/stderr are
supplied).
Update the documentation to reflect all of the above.
2010-12-14 13:43:30 +00:00
R. David Murray
39f34aa1f3
Turn on regrtest -W (rerun immediately) option for Windows, too.
2010-12-14 02:25:43 +00:00
R. David Murray
3fc969a4a2
9162: fix license in multiprocessing files
2010-12-14 01:38:16 +00:00
R. David Murray
6ecf76ea36
Use skipIf instead of a return when attribute doesn't exist.
2010-12-14 01:22:50 +00:00
R. David Murray
4d55bf9fcc
#10699 : fix docstring for tzset: it does not take a parameter
...
Thanks to Garrett Cooper for the fix.
2010-12-14 00:55:46 +00:00
R. David Murray
7ec754b7da
#1078919 : make add_header automatically do RFC2231 encoding when needed.
...
Also document the use of three-tuples if control of the charset
and language is desired.
2010-12-13 23:51:19 +00:00
R. David Murray
796343b198
#10698 : fix typo in example.
2010-12-13 22:50:30 +00:00
Vinay Sajip
fd94b173ce
Logging documentation update.
2010-12-13 18:49:08 +00:00
Vinay Sajip
7292b884bd
Logging documentation update.
2010-12-13 18:43:57 +00:00
Barry Warsaw
771d33e113
Issue 10687. When --without-pymalloc is given, $VERSION is the same as
...
$LDVERSION, which screws up the sym/hard-links. This avoids those games when
$VERSION == $LDVERSION.
Also, include a drive-by fix for an obvious syntax error.
2010-12-13 18:04:23 +00:00
Nick Coghlan
e98e8a3aa8
Captured IO streams with embedded backslashes are always such a fun combination...
2010-12-13 16:32:51 +00:00
Vinay Sajip
9466fe88a7
Logging documentatio update.
2010-12-13 08:54:02 +00:00
Gregory P. Smith
f86aa7c3d2
Mention the subprocess.Popen close_fds default change. Fixup *s to -s.
2010-12-13 08:07:14 +00:00
Gregory P. Smith
138fa430e9
regenerate configure based on r87207.
2010-12-13 08:00:52 +00:00
Gregory P. Smith
51ee270876
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
...
the C code, using pipe2() when available. Adds unittests for close_fds and
cloexec behaviors.
2010-12-13 07:59:39 +00:00
Gregory P. Smith
f560485388
Get rid of the close_fds DeprecationWarning. Changes the default on a per
...
platform basis. It remains False on Windows and changes to True on all
other platforms (POSIX). Based on python-dev discussion and
http://bugs.python.org/issue7213 .
2010-12-13 06:45:02 +00:00
Kristján Valur Jónsson
8d28a92eda
issue 10683
...
When the solution is converted to Visual Studio 2010, the command line to invoke make_buildinfo changes from:
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)\"
to
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)"
If the final backslash is omitted, the backslash in IntDir will escape the quote, thus passing the quote in as part of the path name.
This solution is a hack-fix to that problem by skipping any trailing quote from the path name. It works as long as we don't need any additional arguments to make_buildinfo.exe. This will help all those sould that are going to run this project through the visual studio autoconverter and get the same error.
2010-12-13 03:32:10 +00:00
Nick Coghlan
3c54ea6aba
Actually finish the tests for r87182
2010-12-13 03:02:43 +00:00
Vinay Sajip
1d5d6856e2
Logging documentation - further update.
2010-12-12 22:47:13 +00:00