]> granicus.if.org Git - python/log
python
14 years agoNits
Raymond Hettinger [Tue, 14 Dec 2010 21:12:03 +0000 (21:12 +0000)]
Nits

14 years agoLogging documentation update.
Vinay Sajip [Tue, 14 Dec 2010 19:40:21 +0000 (19:40 +0000)]
Logging documentation update.

14 years agoSIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)
Gregory P. Smith [Tue, 14 Dec 2010 18:18:49 +0000 (18:18 +0000)]
SIGCHLD is a more portable name than SIGCLD.  (OSX has no SIGCLD)

14 years ago#775964: skip YP/NIS entries instead of failing the test
R. David Murray [Tue, 14 Dec 2010 16:20:53 +0000 (16:20 +0000)]
#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.

14 years agoFix "BytesWarning: str() on a bytes instance"
Gregory P. Smith [Tue, 14 Dec 2010 15:23:02 +0000 (15:23 +0000)]
Fix "BytesWarning: str() on a bytes instance"

14 years agoIssue #1731717: Fixed the problem where subprocess.wait() could cause an
Gregory P. Smith [Tue, 14 Dec 2010 14:38:00 +0000 (14:38 +0000)]
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.

14 years ago#10695: use %s not %d so that a string 'port' does not cause a debug traceback
R. David Murray [Tue, 14 Dec 2010 14:16:20 +0000 (14:16 +0000)]
#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.

14 years agoIssue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.
Gregory P. Smith [Tue, 14 Dec 2010 13:43:30 +0000 (13:43 +0000)]
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.

14 years agoTurn on regrtest -W (rerun immediately) option for Windows, too.
R. David Murray [Tue, 14 Dec 2010 02:25:43 +0000 (02:25 +0000)]
Turn on regrtest -W (rerun immediately) option for Windows, too.

14 years ago9162: fix license in multiprocessing files
R. David Murray [Tue, 14 Dec 2010 01:38:16 +0000 (01:38 +0000)]
9162: fix license in multiprocessing files

14 years agoUse skipIf instead of a return when attribute doesn't exist.
R. David Murray [Tue, 14 Dec 2010 01:22:50 +0000 (01:22 +0000)]
Use skipIf instead of a return when attribute doesn't exist.

14 years ago#10699: fix docstring for tzset: it does not take a parameter
R. David Murray [Tue, 14 Dec 2010 00:55:46 +0000 (00:55 +0000)]
#10699: fix docstring for tzset: it does not take a parameter

Thanks to Garrett Cooper for the fix.

14 years ago#1078919: make add_header automatically do RFC2231 encoding when needed.
R. David Murray [Mon, 13 Dec 2010 23:51:19 +0000 (23:51 +0000)]
#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.

14 years ago#10698: fix typo in example.
R. David Murray [Mon, 13 Dec 2010 22:50:30 +0000 (22:50 +0000)]
#10698: fix typo in example.

14 years agoLogging documentation update.
Vinay Sajip [Mon, 13 Dec 2010 18:49:08 +0000 (18:49 +0000)]
Logging documentation update.

14 years agoLogging documentation update.
Vinay Sajip [Mon, 13 Dec 2010 18:43:57 +0000 (18:43 +0000)]
Logging documentation update.

14 years agoIssue 10687. When --without-pymalloc is given, $VERSION is the same as
Barry Warsaw [Mon, 13 Dec 2010 18:04:23 +0000 (18:04 +0000)]
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.

14 years agoCaptured IO streams with embedded backslashes are always such a fun combination...
Nick Coghlan [Mon, 13 Dec 2010 16:32:51 +0000 (16:32 +0000)]
Captured IO streams with embedded backslashes are always such a fun combination...

14 years agoLogging documentatio update.
Vinay Sajip [Mon, 13 Dec 2010 08:54:02 +0000 (08:54 +0000)]
Logging documentatio update.

14 years agoMention the subprocess.Popen close_fds default change. Fixup *s to -s.
Gregory P. Smith [Mon, 13 Dec 2010 08:07:14 +0000 (08:07 +0000)]
Mention the subprocess.Popen close_fds default change.  Fixup *s to -s.

14 years agoregenerate configure based on r87207.
Gregory P. Smith [Mon, 13 Dec 2010 08:00:52 +0000 (08:00 +0000)]
regenerate configure based on r87207.

14 years agoissue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
Gregory P. Smith [Mon, 13 Dec 2010 07:59:39 +0000 (07:59 +0000)]
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.

14 years agoGet rid of the close_fds DeprecationWarning. Changes the default on a per
Gregory P. Smith [Mon, 13 Dec 2010 06:45:02 +0000 (06:45 +0000)]
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.

14 years agoissue 10683
Kristján Valur Jónsson [Mon, 13 Dec 2010 03:32:10 +0000 (03:32 +0000)]
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.

14 years agoActually finish the tests for r87182
Nick Coghlan [Mon, 13 Dec 2010 03:02:43 +0000 (03:02 +0000)]
Actually finish the tests for r87182

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 22:47:13 +0000 (22:47 +0000)]
Logging documentation - further update.

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 22:45:35 +0000 (22:45 +0000)]
Logging documentation - further update.

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 22:30:17 +0000 (22:30 +0000)]
Logging documentation - further update.

14 years agoImprove readability of the socket docs
Antoine Pitrou [Sun, 12 Dec 2010 20:57:12 +0000 (20:57 +0000)]
Improve readability of the socket docs

14 years agoHomogenize the "optional OS services" menu
Antoine Pitrou [Sun, 12 Dec 2010 20:34:49 +0000 (20:34 +0000)]
Homogenize the "optional OS services" menu

14 years agoConsistent ordering of availability statements
Antoine Pitrou [Sun, 12 Dec 2010 20:17:29 +0000 (20:17 +0000)]
Consistent ordering of availability statements

14 years agoFix heading level
Antoine Pitrou [Sun, 12 Dec 2010 20:13:31 +0000 (20:13 +0000)]
Fix heading level

14 years agoRemove redundant sentence, and fix markup
Antoine Pitrou [Sun, 12 Dec 2010 20:09:18 +0000 (20:09 +0000)]
Remove redundant sentence, and fix markup

14 years ago#243654: only create a new MIME boundary if we don't already have one.
R. David Murray [Sun, 12 Dec 2010 20:06:19 +0000 (20:06 +0000)]
#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.

14 years agoAdd link to the buffer protocol description from the memory description.
Antoine Pitrou [Sun, 12 Dec 2010 20:01:43 +0000 (20:01 +0000)]
Add link to the buffer protocol description from the memory description.

14 years agoBetter explain the buffer interface (hopefully)
Antoine Pitrou [Sun, 12 Dec 2010 19:59:47 +0000 (19:59 +0000)]
Better explain the buffer interface (hopefully)

14 years agoMake this a warning and fix indentation
Antoine Pitrou [Sun, 12 Dec 2010 18:25:25 +0000 (18:25 +0000)]
Make this a warning and fix indentation

14 years agoObsolete aliases needn't be documented
Antoine Pitrou [Sun, 12 Dec 2010 18:14:34 +0000 (18:14 +0000)]
Obsolete aliases needn't be documented

14 years agoRemove reference to stuff which is already obsolete in 2.x.
Antoine Pitrou [Sun, 12 Dec 2010 18:12:40 +0000 (18:12 +0000)]
Remove reference to stuff which is already obsolete in 2.x.

14 years agoSET_LINENO was removed in 2.3
Antoine Pitrou [Sun, 12 Dec 2010 18:09:53 +0000 (18:09 +0000)]
SET_LINENO was removed in 2.3

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 17:37:27 +0000 (17:37 +0000)]
Logging documentation - further update.

14 years agoIssue #10188 (partial resolution): tidy up some behaviour in the new tempfile.Tempora...
Nick Coghlan [Sun, 12 Dec 2010 15:24:21 +0000 (15:24 +0000)]
Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 13:49:39 +0000 (13:49 +0000)]
Logging documentation - further update.

14 years agoLogging documentation - further update.
Vinay Sajip [Sun, 12 Dec 2010 13:25:29 +0000 (13:25 +0000)]
Logging documentation - further update.

14 years agoLogging documentation update.
Vinay Sajip [Sun, 12 Dec 2010 13:20:55 +0000 (13:20 +0000)]
Logging documentation update.

14 years agohaving three copies of the same test is surely a bit excessive
Benjamin Peterson [Sun, 12 Dec 2010 01:46:43 +0000 (01:46 +0000)]
having three copies of the same test is surely a bit excessive

14 years agoremove (un)transform methods
Benjamin Peterson [Sun, 12 Dec 2010 01:33:04 +0000 (01:33 +0000)]
remove (un)transform methods

14 years agoFix markup.
Georg Brandl [Sat, 11 Dec 2010 22:19:34 +0000 (22:19 +0000)]
Fix markup.

14 years agoCreate the hardlink between python-3.2m and python-3.2 in altbininstall target
Barry Warsaw [Sat, 11 Dec 2010 21:32:01 +0000 (21:32 +0000)]
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.

14 years agoAdd versionchanged for parameter type changes.
Martin v. Löwis [Sat, 11 Dec 2010 19:22:04 +0000 (19:22 +0000)]
Add versionchanged for parameter type changes.

14 years agoAvoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp...
Georg Brandl [Sat, 11 Dec 2010 19:10:30 +0000 (19:10 +0000)]
Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.

14 years agoAdjust PySlice_GetIndices documentation to signature change.
Martin v. Löwis [Sat, 11 Dec 2010 18:17:22 +0000 (18:17 +0000)]
Adjust PySlice_GetIndices documentation to signature change.

14 years agoFix typo.
Georg Brandl [Fri, 10 Dec 2010 19:22:11 +0000 (19:22 +0000)]
Fix typo.

14 years agoReverted accidental commit (from r87159)
Alexander Belopolsky [Fri, 10 Dec 2010 18:14:16 +0000 (18:14 +0000)]
Reverted accidental commit (from r87159)

14 years agoUpdated UCD version and unicode.org links to Unicode 6.0.0
Alexander Belopolsky [Fri, 10 Dec 2010 18:11:24 +0000 (18:11 +0000)]
Updated UCD version and unicode.org links to Unicode 6.0.0

14 years agoMove nntp entry back to changed modules section and add entry for non-ascii import...
Raymond Hettinger [Fri, 10 Dec 2010 17:45:13 +0000 (17:45 +0000)]
Move nntp entry back to changed modules section and add entry for non-ascii import directories.

14 years agologging: added handler of last resort.
Vinay Sajip [Fri, 10 Dec 2010 11:42:57 +0000 (11:42 +0000)]
logging: added handler of last resort.

14 years ago#10668: fix wrong call of __init__.
Georg Brandl [Fri, 10 Dec 2010 10:01:44 +0000 (10:01 +0000)]
#10668: fix wrong call of __init__.

14 years agoFied typo
Vinay Sajip [Fri, 10 Dec 2010 09:11:23 +0000 (09:11 +0000)]
Fied typo

14 years agotest.support: Added TestHandler and Matcher classes for better support of assertions...
Vinay Sajip [Fri, 10 Dec 2010 08:19:38 +0000 (08:19 +0000)]
test.support: Added TestHandler and Matcher classes for better support of assertions about logging.

14 years agoMinor documentation tweak.
Vinay Sajip [Fri, 10 Dec 2010 08:17:05 +0000 (08:17 +0000)]
Minor documentation tweak.

14 years ago#10273: Remove a "Matches" that I missed in r86910. Thanks to RDM for noticing it.
Ezio Melotti [Fri, 10 Dec 2010 02:32:05 +0000 (02:32 +0000)]
#10273: Remove a "Matches" that I missed in r86910. Thanks to RDM for noticing it.

14 years agoReclassify some entries and remove a couple of minor ones.
Raymond Hettinger [Fri, 10 Dec 2010 01:19:15 +0000 (01:19 +0000)]
Reclassify some entries and remove a couple of minor ones.

14 years agoOverview of email module and recategorize various entries.
Raymond Hettinger [Fri, 10 Dec 2010 01:09:01 +0000 (01:09 +0000)]
Overview of email module and recategorize various entries.

14 years agoDoh! Example pasted twice, but only once in the right place.
Raymond Hettinger [Thu, 9 Dec 2010 23:43:34 +0000 (23:43 +0000)]
Doh! Example pasted twice, but only once in the right place.

14 years agoGuard against rogue tuples.
Georg Brandl [Thu, 9 Dec 2010 18:26:02 +0000 (18:26 +0000)]
Guard against rogue tuples.

14 years ago#10661: give QName a nicer repr.
Georg Brandl [Thu, 9 Dec 2010 18:10:27 +0000 (18:10 +0000)]
#10661: give QName a nicer repr.

14 years agoFix "seperate".
Georg Brandl [Thu, 9 Dec 2010 18:08:43 +0000 (18:08 +0000)]
Fix "seperate".

14 years agoEntries for datetime, callable, and collections.Counter.
Raymond Hettinger [Thu, 9 Dec 2010 16:41:54 +0000 (16:41 +0000)]
Entries for datetime, callable, and collections.Counter.

14 years agoFixed typo in comment.
Hirokazu Yamamoto [Thu, 9 Dec 2010 11:13:30 +0000 (11:13 +0000)]
Fixed typo in comment.

14 years agoShould call Py_INCREF for Py_None (Modules/_ssl.c: PySSL_cipher)
Hirokazu Yamamoto [Thu, 9 Dec 2010 10:49:00 +0000 (10:49 +0000)]
Should call Py_INCREF for Py_None (Modules/_ssl.c: PySSL_cipher)

14 years agoIssue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL
Alexander Belopolsky [Wed, 8 Dec 2010 23:31:48 +0000 (23:31 +0000)]
Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL

14 years agoHave script_helper._assert_python strip refcount strings from stderr.
R. David Murray [Wed, 8 Dec 2010 22:53:00 +0000 (22:53 +0000)]
Have script_helper._assert_python strip refcount strings from stderr.

This makes the output of the function and those that depend on it
independent of whether or not they are being run under a debug
build.

14 years agoIssue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters
Victor Stinner [Wed, 8 Dec 2010 22:25:45 +0000 (22:25 +0000)]
Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters

Fix the doc and add tests.

14 years agoEdited the Unicode 6.0.0 entry to add unicode.org links and trim the summary.
Alexander Belopolsky [Wed, 8 Dec 2010 21:38:46 +0000 (21:38 +0000)]
Edited the Unicode 6.0.0 entry to add unicode.org links and trim the summary.

14 years agoAdded a datetime new features entry
Alexander Belopolsky [Wed, 8 Dec 2010 21:21:56 +0000 (21:21 +0000)]
Added a datetime new features entry

14 years agoMention NASM which is needed to build openssl-1.0.0a original source.
Hirokazu Yamamoto [Wed, 8 Dec 2010 14:47:07 +0000 (14:47 +0000)]
Mention NASM which is needed to build openssl-1.0.0a original source.
(PC/VC6/readme.txt)

14 years agoEntry for inspect.getattr_static().
Raymond Hettinger [Wed, 8 Dec 2010 11:33:19 +0000 (11:33 +0000)]
Entry for inspect.getattr_static().

14 years agoExample of argparge with subparsers.
Raymond Hettinger [Wed, 8 Dec 2010 11:19:45 +0000 (11:19 +0000)]
Example of argparge with subparsers.

14 years agorange() example
Raymond Hettinger [Wed, 8 Dec 2010 10:18:21 +0000 (10:18 +0000)]
range() example

14 years agoFix Issue8194 - Fix incompatible API change in the parse_respones for xmlrpclib.
Senthil Kumaran [Wed, 8 Dec 2010 08:04:49 +0000 (08:04 +0000)]
Fix Issue8194  - Fix incompatible API change in the parse_respones for xmlrpclib.

14 years agoNits.
Raymond Hettinger [Wed, 8 Dec 2010 06:50:02 +0000 (06:50 +0000)]
Nits.

14 years agoClean-ups.
Raymond Hettinger [Wed, 8 Dec 2010 06:48:33 +0000 (06:48 +0000)]
Clean-ups.

14 years agoAdd example for concurrent.futures.
Raymond Hettinger [Wed, 8 Dec 2010 06:42:41 +0000 (06:42 +0000)]
Add example for concurrent.futures.

14 years agoUpdate whatsnew. Salt the random number seed.
Raymond Hettinger [Wed, 8 Dec 2010 01:13:53 +0000 (01:13 +0000)]
Update whatsnew.  Salt the random number seed.

14 years agoFix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files...
Ronald Oussoren [Tue, 7 Dec 2010 15:28:10 +0000 (15:28 +0000)]
Fix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files when quitting.

14 years agoTwo small changes to adjust framework builds to the new stable ABI
Ronald Oussoren [Tue, 7 Dec 2010 14:41:05 +0000 (14:41 +0000)]
Two small changes to adjust framework builds to the new stable ABI

Both the Makefile and the script that is used on OSX to create the binary
installer refer to the directory containing the Makefile using the name
'config'. This name was changed with the new ABI (with default build flags
it is now named config-3.2m).  This patch ensures that both files use the
correct name.

The build-installer.py script contains one other change: it now tests for the
Tcl/Tk framework version by looking at the 'Current' symlink in the framework
instead of runnning a script. This makes it possible to verify the version
that is in the SDK that's used during the build instead of the version that
is installed on the system.

14 years agoIssue #10637: Called CloseHandle twice in os.stat/os.lstat (Windows)
Hirokazu Yamamoto [Tue, 7 Dec 2010 10:24:37 +0000 (10:24 +0000)]
Issue #10637: Called CloseHandle twice in os.stat/os.lstat (Windows)

14 years agoMartin's name with Unicode.
Raymond Hettinger [Tue, 7 Dec 2010 09:55:02 +0000 (09:55 +0000)]
Martin's name with Unicode.

14 years agoMake the example a little more interesting and useful.
Raymond Hettinger [Tue, 7 Dec 2010 09:44:21 +0000 (09:44 +0000)]
Make the example a little more interesting and useful.

14 years agoClean-ups and examples.
Raymond Hettinger [Tue, 7 Dec 2010 09:37:11 +0000 (09:37 +0000)]
Clean-ups and examples.

14 years agoSpelling.
Raymond Hettinger [Tue, 7 Dec 2010 09:24:30 +0000 (09:24 +0000)]
Spelling.

14 years agoMore cleanups and examples.
Raymond Hettinger [Tue, 7 Dec 2010 08:52:41 +0000 (08:52 +0000)]
More cleanups and examples.

14 years agoAdd example for the entry for argparse
Raymond Hettinger [Tue, 7 Dec 2010 06:45:30 +0000 (06:45 +0000)]
Add example for the entry for argparse

14 years agouse the more direct API
Benjamin Peterson [Tue, 7 Dec 2010 04:04:02 +0000 (04:04 +0000)]
use the more direct API

14 years agoadd news note
Benjamin Peterson [Tue, 7 Dec 2010 03:47:37 +0000 (03:47 +0000)]
add news note

14 years agoreturn views from dict proxy items/values/keys #10630
Benjamin Peterson [Tue, 7 Dec 2010 03:46:27 +0000 (03:46 +0000)]
return views from dict proxy items/values/keys #10630

14 years agoAdd entry for new pdb features
Raymond Hettinger [Tue, 7 Dec 2010 02:04:56 +0000 (02:04 +0000)]
Add entry for new pdb features

14 years agoAdd entry for the new sysconfig module.
Raymond Hettinger [Tue, 7 Dec 2010 01:47:52 +0000 (01:47 +0000)]
Add entry for the new sysconfig module.

14 years agoFix typo
David Malcolm [Tue, 7 Dec 2010 00:32:04 +0000 (00:32 +0000)]
Fix typo