]> granicus.if.org Git - python/log
python
12 years agofix footnote reference; thanks to Fizz from docs@
Sandro Tosi [Wed, 25 Apr 2012 17:55:30 +0000 (19:55 +0200)]
fix footnote reference; thanks to Fizz from docs@

12 years agoIssue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class...
Antoine Pitrou [Wed, 25 Apr 2012 15:31:12 +0000 (17:31 +0200)]
Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).

12 years agoFixed test to work on Windows.
Vinay Sajip [Wed, 25 Apr 2012 09:45:27 +0000 (10:45 +0100)]
Fixed test to work on Windows.

12 years agoUpdated year in docstring/comment.
Vinay Sajip [Tue, 24 Apr 2012 22:17:29 +0000 (23:17 +0100)]
Updated year in docstring/comment.

12 years agoIssue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John...
Vinay Sajip [Tue, 24 Apr 2012 22:15:10 +0000 (23:15 +0100)]
Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch.

12 years agoIssue #14160: TarFile.extractfile() failed to resolve symbolic links when
Lars Gustäbel [Tue, 24 Apr 2012 20:42:08 +0000 (22:42 +0200)]
Issue #14160: TarFile.extractfile() failed to resolve symbolic links when
the links were not located in an archive subdirectory.

12 years agoIssue #14448: mention pytz; patch by Andrew Svetlov
Sandro Tosi [Tue, 24 Apr 2012 17:43:33 +0000 (19:43 +0200)]
Issue #14448: mention pytz; patch by Andrew Svetlov

12 years agoIssue #14554: correct example for captured_stdout()
Sandro Tosi [Tue, 24 Apr 2012 16:38:59 +0000 (18:38 +0200)]
Issue #14554: correct example for captured_stdout()

12 years agoIssue #13478: document timeit.default_timer()
Sandro Tosi [Tue, 24 Apr 2012 16:11:29 +0000 (18:11 +0200)]
Issue #13478: document timeit.default_timer()

12 years agoIssue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
Sandro Tosi [Tue, 24 Apr 2012 15:36:14 +0000 (17:36 +0200)]
Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa

12 years agodon't use a slot wrapper from a different special method (closes #14658)
Benjamin Peterson [Tue, 24 Apr 2012 15:06:25 +0000 (11:06 -0400)]
don't use a slot wrapper from a different special method (closes #14658)

This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.

12 years agomerge
Raymond Hettinger [Tue, 24 Apr 2012 04:26:58 +0000 (21:26 -0700)]
merge

12 years agoImprove section heading for better discoverability.
Raymond Hettinger [Tue, 24 Apr 2012 04:26:35 +0000 (21:26 -0700)]
Improve section heading for better discoverability.

12 years agoReorder the entries to put the type specific technique last.
Raymond Hettinger [Tue, 24 Apr 2012 04:24:15 +0000 (21:24 -0700)]
Reorder the entries to put the type specific technique last.

12 years ago#14640: Fix typos/syntax in pyporting.rst.
R David Murray [Mon, 23 Apr 2012 18:46:39 +0000 (14:46 -0400)]
#14640: Fix typos/syntax in pyporting.rst.

Patch by Dionysios Kalofonos.

12 years agoIssue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos
Sandro Tosi [Mon, 23 Apr 2012 17:44:51 +0000 (19:44 +0200)]
Issue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos

12 years ago#14638: pydoc now treats non-str __name__ as None instead of raising
R David Murray [Mon, 23 Apr 2012 17:27:11 +0000 (13:27 -0400)]
#14638: pydoc now treats non-str __name__ as None instead of raising

Original patch by Peter Otten.

12 years agonews for issue13684
Senthil Kumaran [Mon, 23 Apr 2012 15:52:40 +0000 (23:52 +0800)]
news for issue13684

12 years ago Fix for Issue13684 - httplib tunnel infinite loop
Senthil Kumaran [Mon, 23 Apr 2012 15:46:46 +0000 (23:46 +0800)]
 Fix for Issue13684 - httplib tunnel infinite loop

12 years agoadd Mark Shannon
Benjamin Peterson [Mon, 23 Apr 2012 15:25:32 +0000 (11:25 -0400)]
add Mark Shannon

12 years agosleep here
Benjamin Peterson [Mon, 23 Apr 2012 14:08:14 +0000 (10:08 -0400)]
sleep here

12 years agomerge
Raymond Hettinger [Mon, 23 Apr 2012 07:22:48 +0000 (00:22 -0700)]
merge

12 years agoUpdate 2.7 docs about legal characters allowed in Cookie name
Senthil Kumaran [Sun, 22 Apr 2012 02:27:22 +0000 (10:27 +0800)]
Update 2.7 docs about legal characters allowed in Cookie name

12 years agoIssue #14308: Fix an exception when a "dummy" thread is in the threading module's...
Antoine Pitrou [Thu, 19 Apr 2012 21:55:01 +0000 (23:55 +0200)]
Issue #14308: Fix an exception when a "dummy" thread is in the threading module's active list after a fork().

12 years ago#14538: HTMLParser can now parse correctly start tags that contain a bare /.
Ezio Melotti [Thu, 19 Apr 2012 01:08:41 +0000 (19:08 -0600)]
#14538: HTMLParser can now parse correctly start tags that contain a bare /.

12 years agoFix compiler warning related to issue #14331. harmless.
Gregory P. Smith [Wed, 18 Apr 2012 23:41:56 +0000 (16:41 -0700)]
Fix compiler warning related to issue #14331.  harmless.

12 years agoRemove webbrowser doc reference to the previously removed internet-config option.
Ned Deily [Wed, 18 Apr 2012 19:48:09 +0000 (12:48 -0700)]
Remove webbrowser doc reference to the previously removed internet-config option.

12 years agoSETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes ...
Benjamin Peterson [Wed, 18 Apr 2012 15:14:31 +0000 (11:14 -0400)]
SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612)

12 years agoMinor fixups.
Raymond Hettinger [Wed, 18 Apr 2012 04:25:32 +0000 (00:25 -0400)]
Minor fixups.

12 years agoClean-up the SQLite introduction.
Raymond Hettinger [Wed, 18 Apr 2012 02:48:06 +0000 (22:48 -0400)]
Clean-up the SQLite introduction.

12 years agoClarify that a new connection needs to be made after the close.
Raymond Hettinger [Tue, 17 Apr 2012 19:03:20 +0000 (15:03 -0400)]
Clarify that a new connection needs to be made after the close.

12 years agoIssue #5113: Fix a test_posix failure on HP-UX, where non-root users can
Charles-François Natali [Tue, 17 Apr 2012 17:46:06 +0000 (19:46 +0200)]
Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can
chown() to root under certain circumstances.

12 years agoTweaked format of cookbook example.
Vinay Sajip [Mon, 16 Apr 2012 14:45:11 +0000 (15:45 +0100)]
Tweaked format of cookbook example.

12 years agoAdded cookbook example for log insertion.
Vinay Sajip [Mon, 16 Apr 2012 14:27:55 +0000 (15:27 +0100)]
Added cookbook example for log insertion.

12 years agoIssue #14452: remove BOM insertion code.
Vinay Sajip [Mon, 16 Apr 2012 13:38:23 +0000 (14:38 +0100)]
Issue #14452: remove BOM insertion code.

12 years agoIssue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a test...
Antoine Pitrou [Mon, 16 Apr 2012 01:34:44 +0000 (03:34 +0200)]
Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl.

12 years agoRemove accidentally-committed debugging code.
Mark Dickinson [Sun, 15 Apr 2012 15:45:31 +0000 (16:45 +0100)]
Remove accidentally-committed debugging code.

12 years agoIssue 13496: Fix bisect.bisect overflow bug for large collections.
Mark Dickinson [Sun, 15 Apr 2012 15:43:19 +0000 (16:43 +0100)]
Issue 13496: Fix bisect.bisect overflow bug for large collections.

12 years agoIssue #13889: On MSVC builds, set FPU control word at runtime for all string <->...
Mark Dickinson [Sun, 15 Apr 2012 14:19:06 +0000 (15:19 +0100)]
Issue #13889: On MSVC builds, set FPU control word at runtime for all string <-> float conversions.  Patch by Samuel Iseli and Stefan Krah.

12 years ago#14399: corrected news item
R David Murray [Sat, 14 Apr 2012 01:27:00 +0000 (21:27 -0400)]
#14399: corrected news item

12 years agomove outside WITH_THREAD conditional
Benjamin Peterson [Fri, 13 Apr 2012 22:06:36 +0000 (18:06 -0400)]
move outside WITH_THREAD conditional

12 years agotake linkage def outside of WITH_THREAD conditional (closes #14569)
Benjamin Peterson [Fri, 13 Apr 2012 15:58:27 +0000 (11:58 -0400)]
take linkage def outside of WITH_THREAD conditional (closes #14569)

12 years agomerge heads
Amaury Forgeot d'Arc [Fri, 13 Apr 2012 00:32:51 +0000 (02:32 +0200)]
merge heads

12 years agoIssue14559: Attempt to fix compilation with previous versions of the Microsoft Compiler.
Amaury Forgeot d'Arc [Thu, 12 Apr 2012 23:38:25 +0000 (01:38 +0200)]
Issue14559: Attempt to fix compilation with previous versions of the Microsoft Compiler.
Update the various project files with Python/random.c which was recently added.

On my old Windows XP computer:
- VS8.0 works reasonably.
- I don't have the VS7.1 compiler.
- VC6 does not compile, at least with the SDK shipped with the compiler (12 years ago!); newer SDKs might work.

12 years ago#14399: zipfile now correctly handles comments added to empty zipfiles.
R David Murray [Thu, 12 Apr 2012 22:42:47 +0000 (18:42 -0400)]
#14399: zipfile now correctly handles comments added to empty zipfiles.

Patch by Serhiy Storchaka.

12 years agoIssue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
Charles-François Natali [Thu, 12 Apr 2012 17:11:54 +0000 (19:11 +0200)]
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.

12 years ago#14552: remove redundant wording in 'test' docs.
R David Murray [Thu, 12 Apr 2012 00:38:45 +0000 (20:38 -0400)]
#14552: remove redundant wording in 'test' docs.

Original patch by Tshepang Lekhonkhobe.

12 years agomerge heads
Benjamin Peterson [Wed, 11 Apr 2012 20:12:21 +0000 (16:12 -0400)]
merge heads

12 years agomerge heads
Benjamin Peterson [Wed, 11 Apr 2012 20:10:07 +0000 (16:10 -0400)]
merge heads

12 years agowe live in a post 2.7.3 world
Benjamin Peterson [Wed, 11 Apr 2012 20:09:54 +0000 (16:09 -0400)]
we live in a post 2.7.3 world

12 years agoIssue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman...
Senthil Kumaran [Wed, 11 Apr 2012 18:23:23 +0000 (02:23 +0800)]
Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests

12 years ago Fix closes Issue14258 - Clarify the re.LOCALE and re.UNICODE flags for \S class
Senthil Kumaran [Tue, 10 Apr 2012 19:22:58 +0000 (03:22 +0800)]
 Fix closes Issue14258  - Clarify the re.LOCALE and re.UNICODE flags for \S class

12 years agomerge heads
Senthil Kumaran [Tue, 10 Apr 2012 19:18:45 +0000 (03:18 +0800)]
merge heads

12 years ago fix the incorrect changes made for PATH_INFO value - Issue10484
Senthil Kumaran [Tue, 10 Apr 2012 19:07:57 +0000 (03:07 +0800)]
 fix the incorrect changes made for PATH_INFO value - Issue10484

12 years agoMerged upstream change.
Vinay Sajip [Tue, 10 Apr 2012 19:01:35 +0000 (20:01 +0100)]
Merged upstream change.

12 years agonull merge
Barry Warsaw [Tue, 10 Apr 2012 18:53:36 +0000 (14:53 -0400)]
null merge

12 years agoUpdated logging reference and HOWTO.
Vinay Sajip [Tue, 10 Apr 2012 18:52:06 +0000 (19:52 +0100)]
Updated logging reference and HOWTO.

12 years agoPost release twiddle.
Barry Warsaw [Tue, 10 Apr 2012 18:50:39 +0000 (14:50 -0400)]
Post release twiddle.

12 years agoMostly null merge from 2.6; tag added
Barry Warsaw [Tue, 10 Apr 2012 15:30:43 +0000 (11:30 -0400)]
Mostly null merge from 2.6; tag added

12 years agoAdded tag v2.6.8 for changeset c9910fd022fc
Barry Warsaw [Tue, 10 Apr 2012 15:18:47 +0000 (11:18 -0400)]
Added tag v2.6.8 for changeset c9910fd022fc

12 years agoBump to 2.6.8 v2.6.8
Barry Warsaw [Tue, 10 Apr 2012 14:59:35 +0000 (10:59 -0400)]
Bump to 2.6.8

12 years agoupdate docs
Barry Warsaw [Tue, 10 Apr 2012 14:56:26 +0000 (10:56 -0400)]
update docs

12 years agominor .rst fix
Senthil Kumaran [Tue, 10 Apr 2012 11:50:08 +0000 (19:50 +0800)]
minor .rst fix

12 years agomerge 2.7.3 release branch
Benjamin Peterson [Mon, 9 Apr 2012 23:05:58 +0000 (19:05 -0400)]
merge 2.7.3 release branch

12 years agoAdded tag v2.7.3 for changeset 70274d53c1dd
Benjamin Peterson [Mon, 9 Apr 2012 23:04:12 +0000 (19:04 -0400)]
Added tag v2.7.3 for changeset 70274d53c1dd

12 years agobump to 2.7.3 final v2.7.3
Benjamin Peterson [Mon, 9 Apr 2012 23:04:04 +0000 (19:04 -0400)]
bump to 2.7.3 final

12 years agomerge 2.7 release branch
Benjamin Peterson [Mon, 9 Apr 2012 18:54:09 +0000 (14:54 -0400)]
merge 2.7 release branch

12 years agofix build without Py_DEBUG and DNDEBUG (closes #14509)
Benjamin Peterson [Mon, 9 Apr 2012 18:53:07 +0000 (14:53 -0400)]
fix build without Py_DEBUG and DNDEBUG (closes #14509)

12 years agoFix the patch for issue #7978: select() raises select.error before 3.3, not OSError.
Antoine Pitrou [Sun, 8 Apr 2012 23:41:34 +0000 (01:41 +0200)]
Fix the patch for issue #7978: select() raises select.error before 3.3, not OSError.

12 years agoFix flakiness in test_socketserver
Antoine Pitrou [Sun, 8 Apr 2012 23:15:06 +0000 (01:15 +0200)]
Fix flakiness in test_socketserver

12 years agoIssue #7978: socketserver now restarts the select() call when EINTR is returned.
Antoine Pitrou [Sun, 8 Apr 2012 22:47:24 +0000 (00:47 +0200)]
Issue #7978: socketserver now restarts the select() call when EINTR is returned.
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.

12 years agoMake test_mailbox runnable via python -m unittest.
R David Murray [Sun, 8 Apr 2012 22:34:36 +0000 (18:34 -0400)]
Make test_mailbox runnable via python -m unittest.

12 years agoIssue #14502: release() and unlocked lock generates a ThreadError
Sandro Tosi [Thu, 5 Apr 2012 20:51:00 +0000 (22:51 +0200)]
Issue #14502: release() and unlocked lock generates a ThreadError

12 years agoIssue #14505: Fix file descriptor leak when deallocating file objects created with...
Antoine Pitrou [Thu, 5 Apr 2012 12:07:52 +0000 (14:07 +0200)]
Issue #14505: Fix file descriptor leak when deallocating file objects created with PyFile_FromString().

12 years agoCloses #14489: correct link target.
Georg Brandl [Thu, 5 Apr 2012 07:04:40 +0000 (09:04 +0200)]
Closes #14489: correct link target.

12 years agoTransplant 45287f2799f5 from default branch.
Georg Brandl [Wed, 4 Apr 2012 18:19:09 +0000 (20:19 +0200)]
Transplant 45287f2799f5 from default branch.

12 years ago#14481: fix formatting of example in subprocess docs.
R David Murray [Tue, 3 Apr 2012 12:46:05 +0000 (08:46 -0400)]
#14481: fix formatting of example in subprocess docs.

12 years agofix parse_syntax_error to clean up its resources
Benjamin Peterson [Tue, 3 Apr 2012 04:30:38 +0000 (00:30 -0400)]
fix parse_syntax_error to clean up its resources

12 years agoremove uneeded line
Benjamin Peterson [Mon, 2 Apr 2012 18:22:50 +0000 (14:22 -0400)]
remove uneeded line

12 years agoprotect this call, too
Benjamin Peterson [Mon, 2 Apr 2012 15:18:18 +0000 (11:18 -0400)]
protect this call, too

12 years agoprevent writing to stderr from messing up the exception state (closes #14474)
Benjamin Peterson [Mon, 2 Apr 2012 15:15:17 +0000 (11:15 -0400)]
prevent writing to stderr from messing up the exception state (closes #14474)

12 years agoIssue #13019: Fix potential reference leaks in bytearray.extend().
Antoine Pitrou [Sun, 1 Apr 2012 14:05:46 +0000 (16:05 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.

12 years agofix typo; thanks to Robert Bardos from docs@
Sandro Tosi [Sat, 31 Mar 2012 23:49:46 +0000 (01:49 +0200)]
fix typo; thanks to Robert Bardos from docs@

12 years agoIssue #14437: Fix building the _io module under Cygwin.
Antoine Pitrou [Sat, 31 Mar 2012 21:53:07 +0000 (23:53 +0200)]
Issue #14437: Fix building the _io module under Cygwin.

12 years agouse unittest.skip; thanks to Chang Min Jeon from docs@
Sandro Tosi [Sat, 31 Mar 2012 16:34:42 +0000 (18:34 +0200)]
use unittest.skip; thanks to Chang Min Jeon from docs@

12 years ago#14434: make tutorial link in 'help' banner version-specific
R David Murray [Sat, 31 Mar 2012 16:10:48 +0000 (12:10 -0400)]
#14434: make tutorial link in 'help' banner version-specific

Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial, and without this fix when we switch over to the 3.x docs being
current, 2.7 would have pointed to the python3 tutorial.

12 years agoadd 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@
Sandro Tosi [Sat, 31 Mar 2012 15:22:47 +0000 (17:22 +0200)]
add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@

12 years agoupdate NEWS for 2.7 as Terry Reedy proposed
Andrew Svetlov [Sat, 31 Mar 2012 11:34:16 +0000 (14:34 +0300)]
update NEWS for 2.7 as Terry Reedy proposed

12 years ago#10423: clarify options vs args in argparse discussion of optparse
R David Murray [Fri, 30 Mar 2012 22:09:07 +0000 (18:09 -0400)]
#10423: clarify options vs args in argparse discussion of optparse

Patch by Sandro Tosi.

12 years agoAdded a new crasher that targets mutating the underlying storage of a buffer. All...
Alex Gaynor [Fri, 30 Mar 2012 12:45:25 +0000 (08:45 -0400)]
Added a new crasher that targets mutating the underlying storage of a buffer.  All work done by Armin Rigo.

12 years agoCloses #14436: Convert msg + args to string before pickling.
Vinay Sajip [Thu, 29 Mar 2012 19:11:20 +0000 (20:11 +0100)]
Closes #14436: Convert msg + args to string before pickling.

12 years agoBackport of Issue #14409 to 2.7
Andrew Svetlov [Thu, 29 Mar 2012 16:54:58 +0000 (19:54 +0300)]
Backport of Issue #14409 to 2.7

IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.

12 years ago#14416: add missing LOG_SYSLOG facility to syslog docs.
R David Murray [Thu, 29 Mar 2012 10:47:59 +0000 (06:47 -0400)]
#14416: add missing LOG_SYSLOG facility to syslog docs.

12 years agoCloses #14411: remove outdated comment in rlcompleter docstring.
Georg Brandl [Tue, 27 Mar 2012 05:46:46 +0000 (07:46 +0200)]
Closes #14411: remove outdated comment in rlcompleter docstring.

12 years ago#5301: re-add image/vnd.microsoft.icon per discussion
R David Murray [Tue, 27 Mar 2012 01:06:04 +0000 (21:06 -0400)]
#5301: re-add image/vnd.microsoft.icon per discussion

We concluded that adding registered mimetypes present in most systems' mime
databases can be considered a bug fix.

12 years agoIssue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe
Sandro Tosi [Mon, 26 Mar 2012 17:35:52 +0000 (19:35 +0200)]
Issue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe

12 years agoMinor documentation tweak.
Vinay Sajip [Mon, 26 Mar 2012 16:06:44 +0000 (17:06 +0100)]
Minor documentation tweak.

12 years agokill this terribly outdated comment
Benjamin Peterson [Mon, 26 Mar 2012 02:40:54 +0000 (22:40 -0400)]
kill this terribly outdated comment

12 years agoCloses #14401: fix typos in curses howto.
Georg Brandl [Sun, 25 Mar 2012 06:43:22 +0000 (08:43 +0200)]
Closes #14401: fix typos in curses howto.

12 years agoIssue #14400: Fix typo.
Martin v. Löwis [Sat, 24 Mar 2012 16:38:29 +0000 (17:38 +0100)]
Issue #14400: Fix typo.