Commit Graph

45037 Commits

Author SHA1 Message Date
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
Vinay Sajip 97b886dc8c Logging documentation - further update. 2010-12-12 22:45:35 +00:00
Vinay Sajip 36675b6a0f Logging documentation - further update. 2010-12-12 22:30:17 +00:00
Antoine Pitrou 7bdfe7755b Improve readability of the socket docs 2010-12-12 20:57:12 +00:00
Antoine Pitrou 64a467d790 Homogenize the "optional OS services" menu 2010-12-12 20:34:49 +00:00
Antoine Pitrou f10f162db9 Consistent ordering of availability statements 2010-12-12 20:17:29 +00:00
Antoine Pitrou e72b586b02 Fix heading level 2010-12-12 20:13:31 +00:00
Antoine Pitrou a654090840 Remove redundant sentence, and fix markup 2010-12-12 20:09:18 +00:00
R. David Murray 5260a9bbdc #243654: only create a new MIME boundary if we don't already have one.
The rearranged code should do exactly what the old code did, but
the new code avoids a potentially costly re computation in the case
where a boundary already exists.
2010-12-12 20:06:19 +00:00
Antoine Pitrou cc4edd59d6 Add link to the buffer protocol description from the memory description. 2010-12-12 20:01:43 +00:00
Antoine Pitrou 8abc93580d Better explain the buffer interface (hopefully) 2010-12-12 19:59:47 +00:00
Antoine Pitrou 36730e8bc1 Make this a warning and fix indentation 2010-12-12 18:25:25 +00:00
Antoine Pitrou 19d6ce0f73 Obsolete aliases needn't be documented 2010-12-12 18:14:34 +00:00
Antoine Pitrou b387ad6eec Remove reference to stuff which is already obsolete in 2.x. 2010-12-12 18:12:40 +00:00
Antoine Pitrou c58bde159f SET_LINENO was removed in 2.3 2010-12-12 18:09:53 +00:00
Vinay Sajip f234eb9c32 Logging documentation - further update. 2010-12-12 17:37:27 +00:00
Nick Coghlan 6b22f3fa17 Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager 2010-12-12 15:24:21 +00:00
Vinay Sajip 0e65cf0b6a Logging documentation - further update. 2010-12-12 13:49:39 +00:00
Vinay Sajip 5286ccfdf8 Logging documentation - further update. 2010-12-12 13:25:29 +00:00
Vinay Sajip a18b959473 Logging documentation update. 2010-12-12 13:20:55 +00:00
Benjamin Peterson 8c84b71c88 having three copies of the same test is surely a bit excessive 2010-12-12 01:46:43 +00:00
Benjamin Peterson 28a4dce6a8 remove (un)transform methods 2010-12-12 01:33:04 +00:00
Georg Brandl 18d378dc3d Fix markup. 2010-12-11 22:19:34 +00:00
Barry Warsaw ad6f877f98 Create the hardlink between python-3.2m and python-3.2 in altbininstall target
instead of bininstall target so it shows up when you do 'make altinstall'.
Closes issue 10677.
2010-12-11 21:32:01 +00:00
Martin v. Löwis 6d9839d011 Add versionchanged for parameter type changes. 2010-12-11 19:22:04 +00:00
Georg Brandl ab3734fd97 Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed. 2010-12-11 19:10:30 +00:00
Martin v. Löwis dd5909725c Adjust PySlice_GetIndices documentation to signature change. 2010-12-11 18:17:22 +00:00
Georg Brandl cc9d237fe7 Fix typo. 2010-12-10 19:22:11 +00:00
Alexander Belopolsky 532d091d05 Reverted accidental commit (from r87159) 2010-12-10 18:14:16 +00:00
Alexander Belopolsky fc55789cae Updated UCD version and unicode.org links to Unicode 6.0.0 2010-12-10 18:11:24 +00:00
Raymond Hettinger 070ec70cbe Move nntp entry back to changed modules section and add entry for non-ascii import directories. 2010-12-10 17:45:13 +00:00
Vinay Sajip 5a27d40186 logging: added handler of last resort. 2010-12-10 11:42:57 +00:00
Georg Brandl cf03ac0c64 #10668: fix wrong call of __init__. 2010-12-10 10:01:44 +00:00
Vinay Sajip 40e86f0df2 Fied typo 2010-12-10 09:11:23 +00:00
Vinay Sajip 129fd04440 test.support: Added TestHandler and Matcher classes for better support of assertions about logging. 2010-12-10 08:19:38 +00:00