]> granicus.if.org Git - python/log
python
12 years agoFollowup to issue #14157: respect the relative ordering of values produced by time...
Antoine Pitrou [Mon, 14 May 2012 17:44:59 +0000 (19:44 +0200)]
Followup to issue #14157: respect the relative ordering of values produced by time.strptime().
Patch by Hynek.

12 years agoUpgrade to bzip2 1.0.6.
Martin v. Löwis [Mon, 14 May 2012 12:19:09 +0000 (14:19 +0200)]
Upgrade to bzip2 1.0.6.

12 years ago#14405: remove outdated/broken/duplicate links.
Ezio Melotti [Mon, 14 May 2012 10:26:45 +0000 (13:26 +0300)]
#14405: remove outdated/broken/duplicate links.

12 years ago#14770: backport a couple of changes from 3.x.
Ezio Melotti [Sun, 13 May 2012 17:19:41 +0000 (20:19 +0300)]
#14770: backport a couple of changes from 3.x.

12 years ago#14770: improve the library FAQ.
Ezio Melotti [Sun, 13 May 2012 16:49:00 +0000 (19:49 +0300)]
#14770: improve the library FAQ.

12 years agocorrectly define what 'fill' could be; thanks to Leland Hulbert from docs@
Sandro Tosi [Sat, 12 May 2012 21:29:06 +0000 (23:29 +0200)]
correctly define what 'fill' could be; thanks to Leland Hulbert from docs@

12 years agoAdditional example of using decimal.localcontext().
Raymond Hettinger [Fri, 11 May 2012 19:50:11 +0000 (12:50 -0700)]
Additional example of using decimal.localcontext().

12 years agoIssue #14662: Prevent shutil failures on OS X when destination does not
Ned Deily [Fri, 11 May 2012 00:45:49 +0000 (17:45 -0700)]
Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations.  (Patch by Hynek Schlawack)

12 years agoUpdate ACKS.
Antoine Pitrou [Thu, 10 May 2012 18:28:01 +0000 (20:28 +0200)]
Update ACKS.

12 years agoIssue #14157: Fix time.strptime failing without a year on February 29th.
Antoine Pitrou [Thu, 10 May 2012 18:17:46 +0000 (20:17 +0200)]
Issue #14157: Fix time.strptime failing without a year on February 29th.
Patch by Hynek Schlawack.

12 years ago#14763: document default maxsplit value for str.split.
Ezio Melotti [Thu, 10 May 2012 12:30:42 +0000 (15:30 +0300)]
#14763: document default maxsplit value for str.split.

12 years agoCloses #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
Jesus Cea [Thu, 10 May 2012 03:01:11 +0000 (05:01 +0200)]
Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/'

12 years ago#14763: fix documentation for string.split/rsplit.
Ezio Melotti [Wed, 9 May 2012 11:59:24 +0000 (14:59 +0300)]
#14763: fix documentation for string.split/rsplit.

12 years agoIssue #14761: Fix potential leak on an error case in the import machinery.
Antoine Pitrou [Wed, 9 May 2012 11:24:31 +0000 (13:24 +0200)]
Issue #14761: Fix potential leak on an error case in the import machinery.

12 years agoImprove the grammar of a non-sentence.
R David Murray [Wed, 9 May 2012 01:29:36 +0000 (21:29 -0400)]
Improve the grammar of a non-sentence.

12 years agofix possible refleak (closes #14752)
Benjamin Peterson [Tue, 8 May 2012 13:22:24 +0000 (09:22 -0400)]
fix possible refleak (closes #14752)

12 years agoremove basically bitrotted XXXs
Benjamin Peterson [Tue, 8 May 2012 02:23:48 +0000 (22:23 -0400)]
remove basically bitrotted XXXs

12 years agobackport 7a05cb3beddf to 2.7
Sandro Tosi [Mon, 7 May 2012 19:56:24 +0000 (21:56 +0200)]
backport 7a05cb3beddf to 2.7

12 years agoFix document title for Sphinx.
Georg Brandl [Sun, 6 May 2012 19:39:35 +0000 (21:39 +0200)]
Fix document title for Sphinx.

12 years ago#14034: adapt to Python 2 and fix indentation.
Ezio Melotti [Sun, 6 May 2012 14:03:19 +0000 (17:03 +0300)]
#14034: adapt to Python 2 and fix indentation.

12 years ago#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Sun, 6 May 2012 13:15:35 +0000 (16:15 +0300)]
#14034: added the argparse tutorial.  Patch by Tshepang Lekhonkhobe.

12 years ago#13183: backport fixes to test_pdb to 2.7 branch
Georg Brandl [Sun, 6 May 2012 09:53:51 +0000 (11:53 +0200)]
#13183: backport fixes to test_pdb to 2.7 branch

12 years agoFix for issue 14725 for 2.7 branch
Richard Oudkerk [Sat, 5 May 2012 19:41:08 +0000 (20:41 +0100)]
Fix for issue 14725 for 2.7 branch

12 years agoSkip test_algorithms (known remote hosts need SNI, which is only available on 3.2+)
Antoine Pitrou [Fri, 4 May 2012 14:33:30 +0000 (16:33 +0200)]
Skip test_algorithms (known remote hosts need SNI, which is only available on 3.2+)

12 years agoclose() doesn't take any args (closes #14717)
Benjamin Peterson [Thu, 3 May 2012 22:44:09 +0000 (18:44 -0400)]
close() doesn't take any args (closes #14717)

12 years agoUse Python 3 instead of 3.0.
Ezio Melotti [Thu, 3 May 2012 16:21:40 +0000 (19:21 +0300)]
Use Python 3 instead of 3.0.

12 years agoChanged order of cleanup operations to be more sensible.
Vinay Sajip [Thu, 3 May 2012 11:03:29 +0000 (12:03 +0100)]
Changed order of cleanup operations to be more sensible.

12 years agoos.popen().close() returns None on success, not 0...
Charles-François Natali [Wed, 2 May 2012 18:48:21 +0000 (20:48 +0200)]
os.popen().close() returns None on success, not 0...

12 years agoIssue #14698: Make test_posix more robust when the current UID doesn't have an
Charles-François Natali [Wed, 2 May 2012 18:00:37 +0000 (20:00 +0200)]
Issue #14698: Make test_posix more robust when the current UID doesn't have an
associated pwd entry.

12 years agoIssue #9400: Partial backport of fix for #9244
Richard Oudkerk [Wed, 2 May 2012 15:36:26 +0000 (16:36 +0100)]
Issue #9400: Partial backport of fix for #9244

In multiprocessing, a pool worker process would die
if the result/error could not be pickled.  This could
cause pool methods to hang.

In 3.x this was fixed by 0aa8af79359d (which also added
an error_callback argument to some methods), but the fix
was not back ported.

12 years agofix windows test failure - issue13183
Senthil Kumaran [Tue, 1 May 2012 23:59:36 +0000 (07:59 +0800)]
fix windows test failure - issue13183

12 years agouse formats that work on 2.7
Benjamin Peterson [Tue, 1 May 2012 14:16:33 +0000 (10:16 -0400)]
use formats that work on 2.7

12 years agofix calling the classmethod descriptor directly (closes #14699)
Benjamin Peterson [Tue, 1 May 2012 13:51:09 +0000 (09:51 -0400)]
fix calling the classmethod descriptor directly (closes #14699)

12 years agoHave Bdb frame_returning in the finally clause
Senthil Kumaran [Tue, 1 May 2012 02:46:59 +0000 (10:46 +0800)]
Have Bdb frame_returning in the finally clause

12 years agoissue13183 - Fix pdb skipping frames after hitting a breakpoint and running step...
Senthil Kumaran [Tue, 1 May 2012 02:36:28 +0000 (10:36 +0800)]
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye

12 years agoIssue #10433: Document unique behavior of 'os.getgroups' on Mac OS X.
Ned Deily [Mon, 30 Apr 2012 18:13:16 +0000 (11:13 -0700)]
Issue #10433: Document unique behavior of 'os.getgroups' on Mac OS X.

12 years ago#14558: document the module, argv, and testLoader args of unittest.main.
Ezio Melotti [Mon, 30 Apr 2012 16:05:57 +0000 (19:05 +0300)]
#14558: document the module, argv, and testLoader args of unittest.main.

12 years agoFix typo
Raymond Hettinger [Sun, 29 Apr 2012 16:25:25 +0000 (09:25 -0700)]
Fix typo

12 years ago#14519: fix the regex used in the scanf example.
Ezio Melotti [Sun, 29 Apr 2012 08:47:28 +0000 (11:47 +0300)]
#14519: fix the regex used in the scanf example.

12 years agoFix markup in unittest doc.
Ezio Melotti [Sun, 29 Apr 2012 07:52:18 +0000 (10:52 +0300)]
Fix markup in unittest doc.

12 years agoFix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPReque...
Senthil Kumaran [Sun, 29 Apr 2012 05:39:16 +0000 (13:39 +0800)]
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler

12 years ago#14461: fix wording.
Ezio Melotti [Sun, 29 Apr 2012 04:34:22 +0000 (07:34 +0300)]
#14461: fix wording.

12 years agoissue14427 - Document Request.get_header and Request.header_items
Senthil Kumaran [Sun, 29 Apr 2012 03:52:59 +0000 (11:52 +0800)]
issue14427 - Document Request.get_header and Request.header_items

12 years agohttplib test for early eof response. related to Issue13684
Senthil Kumaran [Sun, 29 Apr 2012 02:15:31 +0000 (10:15 +0800)]
httplib test for early eof response. related to Issue13684

12 years ago#14155: add a note about \b.
Ezio Melotti [Sun, 29 Apr 2012 01:46:34 +0000 (04:46 +0300)]
#14155: add a note about \b.

12 years agorefer to file.readline() in stdtypes doc; thanks to Mihai Capotă from docs@
Sandro Tosi [Sat, 28 Apr 2012 10:50:42 +0000 (12:50 +0200)]
refer to file.readline() in stdtypes doc; thanks to Mihai Capotă from docs@

12 years agoIssue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut
Sandro Tosi [Sat, 28 Apr 2012 10:20:57 +0000 (12:20 +0200)]
Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut

12 years agoIssue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions
Sandro Tosi [Sat, 28 Apr 2012 09:19:11 +0000 (11:19 +0200)]
Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions

12 years agoMake the example cut and pasteable.
Raymond Hettinger [Fri, 27 Apr 2012 16:55:31 +0000 (09:55 -0700)]
Make the example cut and pasteable.

12 years agoImprove docstring
Raymond Hettinger [Fri, 27 Apr 2012 07:20:39 +0000 (00:20 -0700)]
Improve docstring

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